2019-06-02 05:35:48 +00:00
|
|
|
<li class="nav-header">MAIN</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('home') }}" class="nav-link @if(preg_match('#^u/home$#',$path=request()->path())) active @endif">
|
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 -->
|
2022-06-30 13:51:20 +00:00
|
|
|
<li class="nav-item has-treeview @if(preg_match('#^order#',$path)) menu-open @endif">
|
|
|
|
<a href="#" class="nav-link @if(preg_match('#^order#',$path)) active @endif">
|
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">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('order') }}" class="nav-link @if(preg_match('#^order$#',$path)) active @endif">
|
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
|
|
|
<!-- CHARGES -->
|
2022-06-30 13:51:20 +00:00
|
|
|
<li class="nav-item has-treeview @if(preg_match('#^a/charge/#',$path)) menu-open @endif">
|
|
|
|
<a href="#" class="nav-link @if(preg_match('#^a/charge/#',$path)) active @endif">
|
2021-10-01 04:59:04 +00:00
|
|
|
<i class="nav-icon fas fa-plus"></i>
|
|
|
|
<p>Charges <i class="fas fa-angle-left right"></i></p>
|
|
|
|
</a>
|
2021-07-02 04:35:43 +00:00
|
|
|
|
2021-10-01 04:59:04 +00:00
|
|
|
<ul class="nav nav-treeview">
|
|
|
|
<li class="nav-item">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('a/charge/addedit') }}" class="nav-link @if(request()->path() == 'a/charge/addedit') active @endif">
|
2021-10-01 04:59:04 +00:00
|
|
|
<i class="fas fa-cart-plus nav-icon"></i> <p>New Charge</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
2021-07-23 07:25:26 +00:00
|
|
|
|
2021-10-01 04:59:04 +00:00
|
|
|
<li class="nav-item">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('a/charge/unprocessed') }}" class="nav-link @if(request()->path() == 'a/charge/unprocessed') active @endif">
|
2021-10-01 04:59:04 +00:00
|
|
|
<i class="fas fa-list nav-icon"></i> <p>Unprocessed</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<!-- PAYMENTS -->
|
2022-06-30 13:51:20 +00:00
|
|
|
<li class="nav-item has-treeview @if(preg_match('#^a/payment/#',$path)) menu-open @endif">
|
|
|
|
<a href="#" class="nav-link @if(preg_match('#^a/payment/#',$path)) active @endif">
|
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">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('a/payment/addedit') }}" class="nav-link @if(preg_match('#^a/payment/addedit#',$path)) active @endif">
|
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">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('a/payment/unapplied') }}" class="nav-link @if(preg_match('#^a/payment/unapplied$#',$path)) active @endif">
|
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">
|
|
|
|
<a href="{{ url('auth/intuit') }}" class="nav-link @if(preg_match('#^auth/intuit#',$path)) active @endif">
|
|
|
|
<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">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('a/setup') }}" class="nav-link @if(preg_match('#^a/setup#',$path)) active @endif">
|
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">
|
|
|
|
<a href="{{ url('a/checkout') }}" class="nav-link @if(preg_match('#^a/checkout#',$path)) active @endif">
|
|
|
|
<i class="nav-icon fas fa-money-check-alt"></i> <p>Payments</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<!-- PRODUCTS -->
|
2022-04-02 07:06:34 +00:00
|
|
|
<li class="nav-item">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('a/product') }}" class="nav-link @if(preg_match('#^a/product#',$path)) active @endif">
|
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 -->
|
|
|
|
<li class="nav-item has-treeview @if(preg_match('#^a/supplier#',$path)) menu-open @endif">
|
|
|
|
<a href="#" class="nav-link @if(preg_match('#^a/supplier#',$path)) active @endif">
|
|
|
|
<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">
|
|
|
|
<a href="{{ url('a/supplier') }}" class="nav-link @if(preg_match('#^a/supplier(/[cost|details]+/[0-9]+)?$#',$path)) active @endif">
|
|
|
|
<i class="nav-icon fas fa-cogs"></i> <p>Configuration</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ url('a/supplier/product/add') }}" class="nav-link @if(preg_match('#^a/supplier/product/(add|edit)#',$path)) active @endif">
|
|
|
|
<i class="nav-icon fas fa-barcode"></i> <p>New Product</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2021-12-20 03:25:43 +00:00
|
|
|
</li>
|
|
|
|
|
2023-05-09 07:50:39 +00:00
|
|
|
<li class="nav-item has-treeview @if(preg_match('#^a/report/(accounts|products|services)#',$path))menu-open @else menu-closed @endif">
|
|
|
|
<a href="#" class="nav-link @if(preg_match('#^a/report/(accounts|products|services)#',$path)) active @endif">
|
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">
|
2023-05-09 07:31:44 +00:00
|
|
|
<a href="{{ url('a/report/accounts') }}" class="nav-link @if(preg_match('#^a/report/accounts#',$path))active @endif">
|
|
|
|
<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">
|
|
|
|
<a href="{{ url('a/report/products') }}" class="nav-link @if(preg_match('#^a/report/products#',$path))active @endif">
|
|
|
|
<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">
|
|
|
|
<a href="{{ url('a/report/services') }}" class="nav-link @if(preg_match('#^a/report/services#',$path))active @endif">
|
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>
|
|
|
|
|
2022-06-30 13:51:20 +00:00
|
|
|
<li class="nav-item has-treeview @if(preg_match('#^r/report/(domain|email|hosting)#',$path))menu-open @else menu-closed @endif">
|
|
|
|
<a href="#" class="nav-link @if(preg_match('#^r/report/(domain|email|hosting)#',$path)) active @endif">
|
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">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('r/report/domain') }}" class="nav-link @if(preg_match('#^r/report/domain$#',$path))active @endif">
|
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">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('r/report/email') }}" class="nav-link @if(preg_match('#^r/report/email$#',$path))active @endif">
|
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">
|
2022-06-30 13:51:20 +00:00
|
|
|
<a href="{{ url('r/report/hosting') }}" class="nav-link @if(preg_match('#^r/report/hosting$#',$path))active @endif">
|
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
|