{{__('label.categories')}}
@if(isset($categories) && $categories->count() > 0)
@foreach($categories as $k=>$category)
- role=="restaurant" && \Illuminate\Support\Facades\Auth::user()->restaurants->id==$category->resto_id) class="data-row" @endif id="{!! $category->id !!}">
{!! $category->name !!} ( {!! $category->arabic_name !!} )
@if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant" && \Illuminate\Support\Facades\Auth::user()->restaurants->id==$category->resto_id)
@elseif(\Illuminate\Support\Facades\Auth::user()->role=="restaurant")
{{__('label.not_editable_by_super_admin')}}
@else
@if(\Illuminate\Support\Facades\Auth::user()->role=="administrator")
@endif
@endif
@endforeach
@endif