- {!! trans('dashboard.general.home') !!} @if (auth()->user()->hasPermissions('setting','store'))
- {!! trans('dashboard.setting.setting') !!} @endif
- {!! trans('dashboard.sidebar.hr') !!} {{-- Managers --}} @if (auth()->user()->hasPermissions('manager'))
- is("$locale/dashboard/manager") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.manager.managers') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('manager','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Drivers --}}
@if (auth()->user()->hasPermissions('driver'))
- is("$locale/dashboard/driver") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.driver.drivers') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('driver','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Clients --}}
@if (auth()->user()->hasPermissions('client'))
- is("$locale/dashboard/client") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.client.clients') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('client','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
- {!! trans('dashboard.sidebar.menu') !!} {{-- Roles --}} @if (auth()->user()->hasPermissions('role'))
- is("$locale/dashboard/role") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.role.roles') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('role','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Country --}}
@if (auth()->user()->hasPermissions('country'))
- is("$locale/dashboard/country") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.country.countries') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('country','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- City --}}
@if (auth()->user()->hasPermissions('city'))
- is("$locale/dashboard/city") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.city.cities') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('city','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Branch --}}
@if (auth()->user()->hasPermissions('branch'))
- is("$locale/dashboard/branch") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.branch.branches') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('branch','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Categories --}}
@if (auth()->user()->hasPermissions('category'))
- is("$locale/dashboard/category") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.category.categories') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('category','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Addition --}}
@if (auth()->user()->hasPermissions('addition'))
- is("$locale/dashboard/addition") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.addition.additions') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('addition','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Product --}}
@if (auth()->user()->hasPermissions('product'))
- is("$locale/dashboard/product") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.product.products') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('product','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Offer --}}
@if (auth()->user()->hasPermissions('product_offer'))
- is("$locale/dashboard/product_offer") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.product_offer.product_offers') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('product_offer','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Coupons --}}
@if (auth()->user()->hasPermissions('coupon'))
- is("$locale/dashboard/coupon") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.coupon.coupons') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('coupon','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Coupons --}}
@if (auth()->user()->hasPermissions('coffe_table'))
- is("$locale/dashboard/coffe_table") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.coffe_table.coffe_tables') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('coffe_table','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Cancel Reason --}}
@if (auth()->user()->hasPermissions('cancel_reason'))
- is("$locale/dashboard/cancel_reason") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.cancel_reason.cancel_reasons') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('cancel_reason','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Slider --}}
@if (auth()->user()->hasPermissions('slider'))
- is("$locale/dashboard/slider") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.slider.sliders') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('slider','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
@if (auth()->user()->hasPermissions('contact'))
- {!! trans('dashboard.contact.contacts') !!} @endif
- {!! trans('dashboard.sidebar.order_section') !!} @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.all_orders') !!} @endif @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.pending_orders') !!} @endif @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.in_kitchen_orders') !!} @endif @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.on_road_orders') !!} @endif @if (auth()->user()->hasPermissions('order'))
- {!! trans('dashboard.order.completed_orders') !!} @endif
- {!! trans('dashboard.sidebar.reservation_section') !!} @if (auth()->user()->hasPermissions('reservation'))
- {!! trans('dashboard.reservation.all_reservations') !!} @endif @if (auth()->user()->hasPermissions('reservation'))
- {!! trans('dashboard.reservation.pending_reservations') !!} @endif @if (auth()->user()->hasPermissions('reservation'))
- {!! trans('dashboard.reservation.in_kitchen_reservations') !!} @endif @if (auth()->user()->hasPermissions('reservation'))
- {!! trans('dashboard.reservation.completed_reservations') !!} @endif @if (auth()->user()->hasPermissions('track'))
- {!! trans('dashboard.track.tracks') !!} @endif @if (auth()->user()->hasPermissions('report'))
- {!! trans('dashboard.report.reports') !!} @endif