@extends('admin.layout.master') @php $typeArr=[4=>'CM',5=>'REGIONAL',6=>'ZONE']; $routeName=[4=>'shop.store',5=>'shop.store',6=>'shop.store']; $editRouteName=[4=>'shop.edit',5=>'shop.edit',6=>'shop.edit']; @endphp @section('title',$typeArr[$type]) @section ('content')
| Name (English) | Name (Local) | @if($type==5)CM | @endif @if($type==6)Region | CM | @endifStatus | Action |
|---|---|---|---|---|---|---|
| {{$shop->name}} | {{$shop->name_local}} | @if($type==5){{$shop->parent->name}} | @endif @if($type==6){{$shop->parent->name}} | {{$shop->parent->parent->name}} | @endifstatus==1) ? 'checked' : ''}} data-toggle="toggle" data-size="sm" data-onstyle="success"> |
@if(checkAuthPermission($editRouteName[$type]))
@endif
|