10 lines
432 B
PHP
Raw Normal View History

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