osb/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php

83 lines
3.0 KiB
PHP
Raw Normal View History

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">
<i class="nav-icon fas fa-home"></i> <p>Home</p>
2019-06-02 05:35:48 +00:00
</a>
</li>
<!-- 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">
<i class="nav-icon fas fa-cash-register"></i>
<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">
<i class="fas fa-tag nav-icon"></i> <p>New Order</p>
2019-06-02 05:35:48 +00:00
</a>
</li>
</ul>
</li>
@can('wholesaler')
<!-- PAYMENTS -->
<li class="nav-item has-treeview @if(preg_match('#^payment/#',Route::current()->uri())) menu-open @endif">
<a href="#" class="nav-link @if(preg_match('#^payment/#',Route::current()->uri())) active @endif">
<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">
<a href="{{ url('a/payment/add') }}" class="nav-link @if(Route::current()->uri() == 'payment/add') active @endif">
<i class="fas fa-money-bill nav-icon"></i> <p>New Payment</p>
</a>
</li>
</ul>
</li>
@endcan
@can('wholesaler')
<li class="nav-header">ADMIN</li>
<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>
<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">
<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">
<a href="{{ url('a/report/products') }}" class="nav-link @if(preg_match('#^a/report/products$#',request()->path()))active @endif">
<i class="nav-icon fas fa-barcode"></i> <p>Products</p>
</a>
</li>
</ul>
</li>
@endcan
@can('reseller')
<li class="nav-header">RESELLER</li>
<li class="nav-item has-treeview @if(preg_match('#^a/report/(domain)#',request()->path()))menu-open @else menu-closed @endif">
<a href="#" class="nav-link @if(preg_match('#^a/report/(domain)#',request()->path())) active @endif">
<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">
<a href="{{ url('r/report/domain') }}" class="nav-link @if(preg_match('#^r/report/domain#',request()->path()))active @endif">
<i class="nav-icon fas fa-globe-asia"></i> <p>Domain Names</p>
</a>
</li>
</ul>
</li>
@endcan