Skip to content

Commit 64f91b6

Browse files
committed
fix
1 parent 47c95f4 commit 64f91b6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

resources/views/default.blade.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@
320320
</tbody>
321321
</table>
322322

323-
@php($displayTaxColumn = !$invoice->totalTaxAmount()->isZero())
323+
@php
324+
$displayTaxColumn = !$invoice->totalTaxAmount()->isZero();
325+
@endphp
324326

325327
<table class="mb-5">
326328
<thead>
@@ -373,7 +375,9 @@
373375
</tr>
374376
@endforeach
375377

376-
@php($colspan = $displayTaxColumn ? '3' : '2')
378+
@php
379+
$colspan = $displayTaxColumn ? '3' : '2';
380+
@endphp
377381

378382
<tr>
379383
{{-- empty space --}}

0 commit comments

Comments
 (0)