10 lines
404 B
PHP
Raw Normal View History

2019-11-16 10:21:14 +03:00
@php $row_total = 0; @endphp
<tr>
2020-01-14 14:47:05 +03:00
<td class="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-14 14:47:05 +03:00
<td class="report-column text-right px-0">@money($item, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
@endforeach
2020-01-14 14:47:05 +03:00
<td class="report-column text-right">@money($row_total, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
</tr>