10 lines
525 B
PHP
Raw Normal View History

2019-11-16 10:21:14 +03:00
@php $row_total = 0; @endphp
2020-03-09 17:17:42 +03:00
<tr class="row rp-border-top-1 font-size-unset">
<td class="{{ $class->column_name_width }} long-texts pr-0">{{ $class->row_names[$table][$id] }}</td>
2020-01-27 22:41:08 +03:00
@foreach($rows as $row)
@php $row_total += $row; @endphp
2020-03-10 14:54:20 +03:00
<td class="{{ $class->column_value_width }} text-right px-0">@money($row, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
@endforeach
2020-03-10 17:42:13 +03:00
<td class="{{ $class->column_name_width }} text-right pl-0 pr-4">@money($row_total, setting('default.currency'), true)</td>
2019-11-16 10:21:14 +03:00
</tr>