- {!! trans('dashboard.general.home') !!} @if (auth()->user()->hasPermissions('setting','store'))
- {!! trans('dashboard.setting.setting') !!} @endif
- {!! trans('dashboard.sidebar.hr') !!} {{-- Drivers --}} {{-- 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 --}} {{-- 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
{{-- Additional Section --}}
- is("$locale/dashboard/additional_section") ? 'sidebar-group-active open' : '' }}"> {{ trans('dashboard.additional_section.additional_section') }} {{-- 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
{{-- Subscription --}}
@if (auth()->user()->hasPermissions('package'))
- is("$locale/dashboard/package") ? 'sidebar-group-active open' : '' }}"> {{ trans('dashboard.subscription.subscriptions') }} @endif {{-- Offer --}} {{-- Coupons --}} @if (auth()->user()->hasPermissions('coupon'))
- is("$locale/dashboard/coupon") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.coupon.discounts') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('coupon','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Coupons --}}
@if (auth()->user()->hasPermissions('gift'))
- is("$locale/dashboard/gift") ? 'sidebar-group-active open' : '' }}">
{{ trans('dashboard.gift.gifts') }}
- {!! trans('dashboard.general.show_all') !!} @if (auth()->user()->hasPermissions('gift','store'))
- {!! trans('dashboard.general.add_new') !!} @endif
@endif
{{-- Coupons --}}
{{-- 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
- {!! 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.report_section') !!} @if (auth()->user()->hasPermissions('report'))
- {!! trans('dashboard.report.reports') !!} @endif