Skip to content

Commit

Permalink
Fixed related orders
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdrake committed Jun 16, 2024
1 parent 602a677 commit d7b8b1e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions resources/views/orders/partials/card-index-related.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
</thead>
<tbody>
@foreach($orders as $order)
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\subTotal($order)) ? $subTotalError = true : $subTotalError = false;
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\tax($order)) ? $taxError = true : $taxError = false;
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\total($order)) ? $totalError = true : $totalError = false;
@php
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\subTotal($order)) ? $subTotalError = true : $subTotalError = false;
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\tax($order)) ? $taxError = true : $taxError = false;
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\total($order)) ? $totalError = true : $totalError = false;
@endphp
<tr class="has-link" data-url="{{ url(route('laravel-crm.orders.show', $order)) }}">
<td>{{ $order->created_at->diffForHumans() }}</td>
<td>{{ $order->order_id }}</td>
Expand Down

0 comments on commit d7b8b1e

Please sign in to comment.