@extends('admin.layout.master') @php $typeArr=[1=>'Branch',2=>'Warehouse',3=>'Store']; $routeName=[1=>'branch.store',2=>'warehouse.store',3=>'store.store']; $editRouteName=[1=>'branch.edit',2=>'warehouse.edit',3=>'store.edit']; @endphp @section('title',$typeArr[$type]) @section ('content')
| Name (English) | Name (Local) | Address (English) | Address (Local) | Contact Info (Local) | Logo | Status | Action | |
|---|---|---|---|---|---|---|---|---|
| {{$branch->name_eng}} | {{$branch->name_local}} | {{$branch->address_eng}} | {{$branch->address_local}} | {{$branch->contact_info}} | {{$branch->email}} | |
status==1) ? 'checked' : ''}} data-toggle="toggle" data-size="sm" data-onstyle="success"> |
@if(checkAuthPermission($editRouteName[$type]))
@endif
|