2019-06-02 05:35:48 +00:00
|
|
|
<li class="nav-header">MAIN</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('home') }}" @class(['nav-link','active'=>($path=request()->path()) === 'u/home'])>
|
2021-07-01 09:41:12 +00:00
|
|
|
<i class="nav-icon fas fa-home"></i> <p>Home</p>
|
2019-06-02 05:35:48 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
2021-07-01 09:41:12 +00:00
|
|
|
<!-- ORDERS -->
|
2024-07-25 04:08:26 +00:00
|
|
|
<li @class(['nav-item','has-treeview','menu-open'=>$x=preg_match('#^order#',$path),'menu-closed'=>! $x])>
|
|
|
|
<a href="#" @class(['nav-link','active'=>$path === 'order'])>
|
2020-07-10 07:20:22 +00:00
|
|
|
<i class="nav-icon fas fa-cash-register"></i>
|
2021-07-01 09:41:12 +00:00
|
|
|
<p>Orders <i class="fas fa-angle-left right"></i></p>
|
2019-06-02 05:35:48 +00:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('order') }}" @class(['nav-link','active'=>$path === 'order'])>
|
2021-07-01 09:41:12 +00:00
|
|
|
<i class="fas fa-tag nav-icon"></i> <p>New Order</p>
|
2019-06-02 05:35:48 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2020-02-18 11:35:20 +00:00
|
|
|
</li>
|
|
|
|
|
2021-07-02 04:35:43 +00:00
|
|
|
@can('wholesaler')
|
2021-10-01 04:59:04 +00:00
|
|
|
<!-- PAYMENTS -->
|
2024-08-10 00:14:47 +00:00
|
|
|
<li @class(['nav-item','has-treeview','menu-open'=>$x=preg_match('#^r/payment/#',$path),'menu-closed'=>! $x])>
|
|
|
|
<a href="#" @class(['nav-link','active'=>preg_match('#^r/payment/#',$path)])>
|
2021-10-01 04:59:04 +00:00
|
|
|
<i class="nav-icon fas fa-receipt"></i>
|
|
|
|
<p>Payments <i class="fas fa-angle-left right"></i></p>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
<li class="nav-item">
|
2024-08-10 00:14:47 +00:00
|
|
|
<a href="{{ url('r/payment/new') }}" @class(['nav-link','active'=>$path === 'r/payment/new'])>
|
2021-10-01 04:59:04 +00:00
|
|
|
<i class="fas fa-money-bill nav-icon"></i> <p>New Payment</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
2024-08-10 00:14:47 +00:00
|
|
|
<a href="{{ url('r/payment/unapplied') }}" @class(['nav-link','active'=>$path === 'r/payment/unapplied'])>
|
2021-10-01 04:59:04 +00:00
|
|
|
<i class="fas fa-receipt nav-icon"></i> <p>Unapplied</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2021-07-02 04:35:43 +00:00
|
|
|
@endcan
|
|
|
|
|
2020-02-18 11:35:20 +00:00
|
|
|
@can('wholesaler')
|
|
|
|
<li class="nav-header">ADMIN</li>
|
|
|
|
|
2022-08-12 04:53:06 +00:00
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('auth/intuit') }}" @class(['nav-link','active'=>preg_match('#^auth/intuit#',$path)])>
|
2022-08-12 04:53:06 +00:00
|
|
|
<i class="nav-icon fas fa-calculator"></i> <p>Quickbooks Link</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
2021-07-01 09:41:12 +00:00
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('a/setup') }}" @class(['nav-link','active'=>preg_match('#^a/setup#',$path)])>
|
2021-07-01 09:41:12 +00:00
|
|
|
<i class="nav-icon fas fa-cogs"></i> <p>Site Setup</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
2022-07-29 06:06:19 +00:00
|
|
|
<!-- CHECKOUT (PAYMENTS) -->
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('a/checkout') }}" @class(['nav-link','active'=>preg_match('#^a/checkout#',$path)])>
|
2024-08-10 00:14:47 +00:00
|
|
|
<i class="nav-icon fas fa-money-check-alt"></i> <p>Checkout</p>
|
2022-07-29 06:06:19 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<!-- PRODUCTS -->
|
2022-04-02 07:06:34 +00:00
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('a/product') }}" @class(['nav-link','active'=>preg_match('#^a/product#',$path)])>
|
2022-04-02 07:06:34 +00:00
|
|
|
<i class="nav-icon fas fa-barcode"></i> <p>Products</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
2022-06-30 13:51:20 +00:00
|
|
|
<!-- SUPPLIERS -->
|
2024-07-25 04:08:26 +00:00
|
|
|
<li @class(['nav-item','has-treeview','menu-open'=>$x=preg_match('#^a/supplier#',$path),'menu-closed'=>! $x])>
|
|
|
|
<a href="#" @class(['nav-link','active'=>preg_match('#^a/supplier#',$path)])>
|
2022-06-30 13:51:20 +00:00
|
|
|
<i class="nav-icon fas fa-user-tag"></i>
|
|
|
|
<p>Suppliers <i class="fas fa-angle-left right"></i></p>
|
2021-12-20 03:25:43 +00:00
|
|
|
</a>
|
2022-06-30 13:51:20 +00:00
|
|
|
|
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('a/supplier') }}" @class(['nav-link','active'=>preg_match('#^a/supplier(/[cost|details]+/[0-9]+)?$#',$path)])>
|
2022-06-30 13:51:20 +00:00
|
|
|
<i class="nav-icon fas fa-cogs"></i> <p>Configuration</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
2024-08-18 03:58:18 +00:00
|
|
|
<a href="{{ url('a/supplier/product/new') }}" @class(['nav-link','active'=>preg_match('#^a/supplier/product/(add|edit)#',$path)])>
|
2022-06-30 13:51:20 +00:00
|
|
|
<i class="nav-icon fas fa-barcode"></i> <p>New Product</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2021-12-20 03:25:43 +00:00
|
|
|
</li>
|
|
|
|
|
2024-07-25 04:08:26 +00:00
|
|
|
<li @class(['nav-item','has-treeview','menu-open'=>$x=preg_match('#^a/report/(accounts|products|services)#',$path),'menu-closed'=>! $x])>
|
|
|
|
<a href="#" @class(['nav-link','active'=>preg_match('#^a/report/(accounts|products|services)#',$path)])>
|
2020-07-10 07:20:22 +00:00
|
|
|
<i class="nav-icon fas fa-list"></i> <p>REPORT<i class="fas fa-angle-left right"></i></p>
|
2020-02-18 11:35:20 +00:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('a/report/accounts') }}" @class(['nav-link','active'=>$path === 'a/report/accounts'])>
|
2023-05-09 07:31:44 +00:00
|
|
|
<i class="nav-icon fas fa-users"></i> <p>Accounts</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2023-05-09 07:50:39 +00:00
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('a/report/products') }}" @class(['nav-link','active'=>$path === 'a/report/products'])>
|
2023-05-09 07:50:39 +00:00
|
|
|
<i class="nav-icon fas fa-barcode"></i> <p>Products</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2023-05-09 07:31:44 +00:00
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('a/report/services') }}" @class(['nav-link','active'=>$path === 'a/report/services'])>
|
2023-05-09 07:50:39 +00:00
|
|
|
<i class="nav-icon fas fa-layer-group"></i> <p>Services</p>
|
2020-02-18 11:35:20 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2021-07-01 09:41:12 +00:00
|
|
|
@endcan
|
2021-07-13 02:31:56 +00:00
|
|
|
|
|
|
|
@can('reseller')
|
|
|
|
<li class="nav-header">RESELLER</li>
|
|
|
|
|
2024-07-25 04:08:26 +00:00
|
|
|
<li @class(['nav-item','has-treeview','menu-open'=>$x=preg_match('#^r/report/(charge|domain|email|hosting)#',$path),'menu-closed'=>! $x])>
|
|
|
|
<a href="#" @class(['nav-link','active'=>preg_match('#^r/report/(charge|domain|email|hosting)#',$path)])>
|
2021-07-13 02:31:56 +00:00
|
|
|
<i class="nav-icon fas fa-list"></i> <p>REPORT<i class="fas fa-angle-left right"></i></p>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('r/report/charge/pending') }}" @class(['nav-link','active'=>$path === 'r/report/charge/pending'])>
|
|
|
|
<i class="nav-icon fas fa-list"></i> <p>Charges Unprocessed</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ url('r/report/domain') }}" @class(['nav-link','active'=>$path === 'r/report/domain'])>
|
2021-07-13 02:31:56 +00:00
|
|
|
<i class="nav-icon fas fa-globe-asia"></i> <p>Domain Names</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
2022-04-02 07:06:34 +00:00
|
|
|
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('r/report/email') }}" @class(['nav-link','active'=>$path === 'r/report/email'])>
|
2022-04-02 07:06:34 +00:00
|
|
|
<i class="nav-icon fas fa-envelope"></i> <p>Email Hosting</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
2022-04-02 09:26:59 +00:00
|
|
|
|
|
|
|
<li class="nav-item">
|
2024-07-25 04:08:26 +00:00
|
|
|
<a href="{{ url('r/report/hosting') }}" @class(['nav-link','active'=>$path === 'r/report/hosting'])>
|
2022-04-02 09:26:59 +00:00
|
|
|
<i class="nav-icon fas fa-sitemap"></i> <p>Web Hosting</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
2021-07-13 02:31:56 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
@endcan
|