10 lines
410 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
<td class="long-texts report-column">@money($item, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
@endforeach
<td class="long-texts report-column">@money($row_total, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
</tr>