12 lines
517 B
PHP
Raw Normal View History

2019-11-16 10:21:14 +03:00
<tfoot>
<tr>
<th class="long-texts report-column">{{ trans_choice('general.totals', 1) }}</th>
2019-11-16 10:21:14 +03:00
@php $total_total = 0; @endphp
@foreach($class->totals[$table] as $total)
@php $total_total += $total; @endphp
2020-01-13 16:26:41 +03:00
<th class="long-texts report-column text-right">@money($total, setting('default.currency'), true)</th>
2019-11-16 10:21:14 +03:00
@endforeach
2020-01-13 16:26:41 +03:00
<th class="long-texts report-column text-right">@money($total_total, setting('default.currency'), true)</th>
2019-11-16 10:21:14 +03:00
</tr>
</tfoot>