($path=request()->path()) === 'u/home'])>
Home
$x=preg_match('#^order#',$path),'menu-closed'=>! $x])>
$path === 'order'])>
Orders
@can('wholesaler')
$x=preg_match('#^a/payment/#',$path),'menu-closed'=>! $x])>
preg_match('#^a/payment/#',$path)])>
Payments
@endcan
@can('wholesaler')
preg_match('#^auth/intuit#',$path)])>
Quickbooks Link
preg_match('#^a/setup#',$path)])>
Site Setup
preg_match('#^a/checkout#',$path)])>
Payments
preg_match('#^a/product#',$path)])>
Products
$x=preg_match('#^a/supplier#',$path),'menu-closed'=>! $x])>
preg_match('#^a/supplier#',$path)])>
Suppliers
$x=preg_match('#^a/report/(accounts|products|services)#',$path),'menu-closed'=>! $x])>
preg_match('#^a/report/(accounts|products|services)#',$path)])>
REPORT
@endcan
@can('reseller')
$x=preg_match('#^r/report/(charge|domain|email|hosting)#',$path),'menu-closed'=>! $x])>
preg_match('#^r/report/(charge|domain|email|hosting)#',$path)])>
REPORT
@endcan