10 lines
481 B
PHP
Raw Normal View History

2019-11-16 10:21:14 +03:00
@php $row_total = 0; @endphp
2020-01-18 18:45:40 +03:00
<tr class="rp-border-top-1">
2020-01-28 12:42:54 +03:00
<td class="report-column" style="padding-left:{{ $class->indents['table_rows'] }}">{{ $class->row_names[$table][$id] }}</td>
2020-01-27 22:41:08 +03:00
@foreach($rows as $row)
@php $row_total += $row; @endphp
<td class="report-column text-right px-0">@money($row, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
@endforeach
2020-01-18 18:45:40 +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>