Separated Checkout and Payment controllers, updates to checkout and payments
This commit is contained in:
@@ -24,21 +24,21 @@
|
||||
|
||||
@can('wholesaler')
|
||||
<!-- PAYMENTS -->
|
||||
<li @class(['nav-item','has-treeview','menu-open'=>$x=preg_match('#^a/payment/#',$path),'menu-closed'=>! $x])>
|
||||
<a href="#" @class(['nav-link','active'=>preg_match('#^a/payment/#',$path)])>
|
||||
<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)])>
|
||||
<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/addedit') }}" @class(['nav-link','active'=>$path === 'a/payment/addedit'])>
|
||||
<a href="{{ url('r/payment/new') }}" @class(['nav-link','active'=>$path === 'r/payment/new'])>
|
||||
<i class="fas fa-money-bill nav-icon"></i> <p>New Payment</p>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="{{ url('a/payment/unapplied') }}" @class(['nav-link','active'=>$path === 'a/payment/unapplied'])>
|
||||
<a href="{{ url('r/payment/unapplied') }}" @class(['nav-link','active'=>$path === 'r/payment/unapplied'])>
|
||||
<i class="fas fa-receipt nav-icon"></i> <p>Unapplied</p>
|
||||
</a>
|
||||
</li>
|
||||
@@ -64,7 +64,7 @@
|
||||
<!-- CHECKOUT (PAYMENTS) -->
|
||||
<li class="nav-item">
|
||||
<a href="{{ url('a/checkout') }}" @class(['nav-link','active'=>preg_match('#^a/checkout#',$path)])>
|
||||
<i class="nav-icon fas fa-money-check-alt"></i> <p>Payments</p>
|
||||
<i class="nav-icon fas fa-money-check-alt"></i> <p>Checkout</p>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
Reference in New Issue
Block a user