2019-06-02 05:35:48 +00:00
|
|
|
<li class="nav-header">MAIN</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ url('home') }}" class="nav-link @if(preg_match('#^event/summary#',Route::current()->uri())) 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 -->
|
2019-06-02 05:35:48 +00:00
|
|
|
<li class="nav-item has-treeview @if(preg_match('#^order/#',Route::current()->uri())) menu-open @endif">
|
|
|
|
<a href="#" class="nav-link @if(preg_match('#^order/#',Route::current()->uri())) 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">
|
|
|
|
<a href="{{ url('order') }}" class="nav-link @if(Route::current()->uri() == 'group/add') 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>
|
|
|
|
|
|
|
|
@can('wholesaler')
|
|
|
|
<li class="nav-header">ADMIN</li>
|
|
|
|
|
2021-07-01 09:41:12 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ url('a/setup') }}" class="nav-link @if(preg_match('#^a/setup#',Route::current()->uri())) active @endif">
|
|
|
|
<i class="nav-icon fas fa-cogs"></i> <p>Site Setup</p>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
2020-02-18 11:35:20 +00:00
|
|
|
<li class="nav-item has-treeview @if(preg_match('#^a/report/(products)#',request()->path()))menu-open @else menu-closed @endif">
|
|
|
|
<a href="#" class="nav-link @if(preg_match('#^a/report/(products)#',request()->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">
|
|
|
|
<a href="{{ url('a/report/products') }}" class="nav-link @if(preg_match('#^a/report/products$#',request()->path()))active @endif">
|
2020-07-10 07:20:22 +00:00
|
|
|
<i class="nav-icon fas fa-barcode"></i> <p>Products</p>
|
2020-02-18 11:35:20 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2021-07-01 09:41:12 +00:00
|
|
|
@endcan
|