File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 350350 </tr >
351351 @endforeach
352352
353+ @php ($colspan = $displayTaxColumn ? " 3" : " 2" )
354+
353355 <tr >
354356 {{-- empty space --}}
355357 <td class =" py-2 pr-2" ></td >
356- <td class =" p-2 has-border-bottom-light" colspan =" 3 " >
358+ <td class =" p-2 has-border-bottom-light" colspan =" {{ $colspan } } " >
357359 {{ __ (' invoices::invoice.subtotal_amount' ) } } </td >
358360 <td class =" nowrap py-2 pl-2 has-border-bottom-light has-text-right" >
359361 {{ $invoice -> formatMoney ($invoice -> subTotalAmount ()) } }
363365 <tr >
364366 {{-- empty space --}}
365367 <td class =" py-2 pr-2" ></td >
366- <td class =" p-2 has-border-bottom-light" colspan =" 3 " >
368+ <td class =" p-2 has-border-bottom-light" colspan =" {{ $colspan } } " >
367369 {{ $invoice -> tax_label ?? __ (' invoices::invoice.tax_label' ) } }
368370 </td >
369371 <td class =" nowrap py-2 pl-2 has-border-bottom-light has-text-right" >
374376 <tr >
375377 {{-- empty space --}}
376378 <td class =" py-2 pr-2" ></td >
377- <td class =" p-2 has-border-bottom-light" colspan =" 3 " >
379+ <td class =" p-2 has-border-bottom-light" colspan =" {{ $colspan } } " >
378380 <strong >{{ __ (' invoices::invoice.total_amount' ) } } </strong >
379381 </td >
380382 <td class =" nowrap py-2 pl-2 has-border-bottom-light has-text-right" >
You can’t perform that action at this time.
0 commit comments