@php $rowIndex = 0; @endphp
@foreach($invoice->items as $item)
|
|
|
|
|
|
@php $rowSubtotal = (float)$item->qty * (float)$item->unit_price; $rowTotal = $rowSubtotal + ($rowSubtotal * (float)$item->tax_rate / 100); @endphp
₺{{ number_format($rowTotal, 2, '.', '') }}
|
|
@php $rowIndex++; @endphp
@endforeach