Added payment recording, minor CSS fixes, enabled Search

This commit is contained in:
Deon George
2021-07-02 14:35:43 +10:00
parent b89e8d18d5
commit 1bba21dcef
13 changed files with 362 additions and 12 deletions

View File

@@ -22,6 +22,24 @@
</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>