@php
use App\Models\Shop;
@endphp
@php
$admin = auth()
->guard('admins')
->user();
@endphp
@if ($admin->role_id == 14)
-
-
@else
@endif
-
-
@else
@if (canAny([
'management',
'branches',
'regions',
'home_sections',
'categories',
'shops',
'main_products',
'products',
'other_countries',
'vip',
'processing.Shipping',
'packagingMethods',
'cuttings',
'cookings',
'shipping_methods',
'badges',
'order_statuses',
'about',
'suppliers',
'policy',
'settings',
'faq',
'properties',
'subscriptionPrices',
]))
-
{{ __('back.management') }}
@endif
@if (canAny([
'sales',
'orders',
'processing.Shipping',
'shipping_methods',
'packages',
'cuttings',
'cookings',
'order_statuses',
]))
-
@endif
@if (canAny([
'marketing',
'offers',
'home_sections',
'badges',
'offers.banners',
'offers.companies',
'offers.users',
'offers.vouchers',
'offers.buy_x_get_voucher',
'messages.messages',
'messages.scheduled_notification',
]))
-
@endif
@if (can('offers.wheel_of_luck'))
{{ __('back.wheelOfFortune') }}
@endif
@if (can('advertising-expenses.index'))
{{ __('back.advertisingExpensesDepartment') }}
@endif
@if (can('advertising-expenses-resport.index'))
{{ __('back.advertisingExpensesDepartmentReport') }}
@endif
@endif
@if (canAny([
'contactus',
'contactus.contactus',
'complains',
'complaintStatus',
'users',
'vIPUsers',
'register_stores',
]))
-
@endif
@if (canAny(['shops', 'products.approval']))
-
@if (@$need_approval > 0)
{{ $need_approval }}
@endif
@endif
@if (canAny([
'reports',
'reports.completed',
'reports.summary',
'reports.shop-products',
'reports.malahem',
'reports.zabae7',
'reports.ada7y',
'reports.canceled',
'reports.donate',
'reports.packages',
'reports.gifts',
'reports.un-assign-orders',
'reports.animals',
'reports.commercial',
'reports.commercial-dashboard',
'reports.profit',
'reports.baladya',
'reports.domains',
'reports.shops',
'reports.suppliers',
'vouchers.used',
'reports.rates',
'reports.users',
'reports.complains',
'wallet.drivers_accountability',
'reports.un-assign-orders',
'reports.drivers',
]))
-
{{ __('back.reports') }}
@endif
@if (canAny(['reports', 'reports.commercial', 'reports.commercial-dashboard', 'reports.profit']))
@endif
@if (canAny(['reports', 'reports.commercial', 'reports.commercial-dashboard', 'reports.profit']))
@endif
@if (canAny(['reports', 'reports.baladya', 'reports.domains', 'reports.shops']))
@endif
@if (canAny(['reports', 'vouchers.used', 'reports.rates', 'reports.users', 'reports.complains']))
@endif
@if (can('reports.suppliers'))
{{ __('back.Suppliers') }}
@endif
@if (can('reports.rates'))
{{ __('back.evaluationReports') }}
@endif
@if (can('reports.employees'))
{{ __('back.employeeReports') }}
@endif
@if (can('reports.profit'))
{{ __('back.earningsReports') }}
@endif
@if (canAny(['reports', 'wallet.drivers_accountability', 'reports.un-assign-orders', 'reports.drivers']))
@endif
@if (can('reports.sms'))
SMS Log
@endif
@endif
@if (canAny([
'wallet.drivers_accountability',
'drivers.drivers',
'wallet.drivers_accountability',
'wallet.account_manager',
'drivers.assign',
]))
@if (@$driver_wallet > 0)
{{ $driver_wallet }}
@endif
@endif
@if (canAny(['admins', 'permissions']))
@endif
{{-- endif for role shops --}}
@endif