Skip to content

Commit 59b8565

Browse files
committed
Missing @php
1 parent 9631a98 commit 59b8565

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

resources/views/orders/partials/card-show.blade.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
@slot('actions')
1010
<span class="float-right">
11-
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\subTotal($order)) ? $subTotalError = true : $subTotalError = false;
12-
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\tax($order)) ? $taxError = true : $taxError = false;
13-
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\total($order)) ? $totalError = true : $totalError = false;
14-
11+
@php
12+
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\subTotal($order)) ? $subTotalError = true : $subTotalError = false;
13+
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\tax($order)) ? $taxError = true : $taxError = false;
14+
(! \VentureDrake\LaravelCrm\Http\Helpers\CheckAmount\total($order)) ? $totalError = true : $totalError = false;
15+
@endphp
1516
@include('laravel-crm::partials.return-button',[
1617
'model' => $order,
1718
'route' => 'orders'

0 commit comments

Comments
 (0)