File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
resources/views/orders/partials Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 17
17
</thead >
18
18
<tbody >
19
19
@foreach ($orders as $order )
20
- (! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\subTotal($order)) ? $subTotalError = true : $subTotalError = false;
21
- (! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\tax($order)) ? $taxError = true : $taxError = false;
22
- (! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\total($order)) ? $totalError = true : $totalError = false;
20
+ @php
21
+ (! \VentureDrake \LaravelCrm \Http \Helpers \CheckAmount \subTotal ($order )) ? $subTotalError = true : $subTotalError = false ;
22
+ (! \VentureDrake \LaravelCrm \Http \Helpers \CheckAmount \tax ($order )) ? $taxError = true : $taxError = false ;
23
+ (! \VentureDrake \LaravelCrm \Http \Helpers \CheckAmount \total ($order )) ? $totalError = true : $totalError = false ;
24
+ @endphp
23
25
<tr class =" has-link" data-url =" {{ url (route (' laravel-crm.orders.show' , $order )) } }" >
24
26
<td >{{ $order -> created_at -> diffForHumans () } } </td >
25
27
<td >{{ $order -> order_id } } </td >
You can’t perform that action at this time.
0 commit comments