10 lines
452 B
PHP
Raw Normal View History

2019-11-16 10:21:14 +03:00
@php $row_total = 0; @endphp
<tr>
2020-01-17 16:26:08 +03:00
<td class="report-column rp-border-top-1">{{ $class->getTableRowList()[$id] }}</td>
2019-11-16 10:21:14 +03:00
@foreach($items as $item)
@php $row_total += $item; @endphp
2020-01-17 16:26:08 +03:00
<td class="report-column text-right px-0 rp-border-top-1">@money($item, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
@endforeach
2020-01-17 16:26:08 +03:00
<td class="report-column text-right rp-border-top-1">@money($row_total, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
</tr>