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