($path=request()->path()) === 'u/home'])>
Home
$x=preg_match('#^order#',$path),'menu-closed'=>! $x])>
$path === 'order'])>
Orders
@can('wholesaler')
$x=preg_match('#^r/payment/#',$path),'menu-closed'=>! $x])>
preg_match('#^r/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)])>
Checkout
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