@php
use Nwidart\Modules\Facades\Module;
@endphp
@if ($generaleSetting?->business_based_on == 'subscription')
@hasPermission('shop.subscription.index')
@endhasPermission
@endif
@hasPermission(['shop.pos.index', 'shop.pos.draft', 'shop.pos.sales'])
@endhasPermission
@hasPermission(['shop.pos.index', 'shop.pos.draft', 'shop.pos.sales'])
@endhasPermission
@hasPermission('shop.order.index')
@endhasPermission
@hasPermission(['shop.category.index', 'shop.product.index', 'shop.brand.index'])
@endhasPermission
@hasPermission('shop.brand.index')
{{ __('Brand') }}
@endhasPermission
@hasPermission(['shop.product.index', 'shop.product.create'])
@endhasPermission
@if (module_exists('purchase') )
@include('purchase::layouts.purchaseSidebar')
@endif
@hasPermission(['shop.voucher.index', 'shop.voucher.create', 'shop.flashSale.index'])
@endhasPermission
@hasPermission('admin.flashSale.index')
@endhasPermission
@hasPermission(['shop.voucher.index', 'shop.voucher.create'])
@endhasPermission
@hasPermission(['shop.employee.index', 'shop.employee.create', 'shop.withdraw.index'])
@endhasPermission
@hasPermission(['shop.employee.index', 'shop.employee.create'])
@endhasPermission
@if (module_exists('purchase') )
@include('purchase::layouts.supplierSidebar')
@endif
@if (!auth()->user()->hasRole('root'))
@hasPermission('shop.withdraw.index')
@endhasPermission
@endif
@hasPermission('shop.customer.chat.index')
@endhasPermission
@hasPermission([
'shop.profile.index',
'shop.bulk-product-export.index',
'shop.bulk-product-import.index',
'shop.gallery.index'
])
@endhasPermission
@hasPermission(['shop.profile.index'])
@endhasPermission
@if ($businessModel == 'multi')
@hasPermission('shop.banner.index')
{{--
--}}
@endhasPermission
@endif
@hasPermission(['shop.bulk-product-export.index', 'shop.bulk-product-import.index', 'shop.gallery.index'])
@endhasPermission