@php $purchaseViewVendorPermission = user()->permission('view_vendor'); $purchaseViewOrderPermission = user()->permission('view_purchase_order'); $purchaseViewBillPermission = user()->permission('view_bill'); $purchaseViewPaymentPermission = user()->permission('view_vendor_payment'); @endphp @if (in_array(\Modules\Purchase\Entities\PurchaseManagementSetting::MODULE_NAME, user_modules()))
@if (in_array('products', user_modules()) && $sidebarUserPermissions['view_product'] != 5 && $sidebarUserPermissions['view_product'] != 'none') @endif
@endif