{{__('label.categories')}}
Sorting Enabled?
-
@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(isset($category->parent_category)) {!! $category->parent_category->name !!} @endif@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