12 lines
444 B
PHP
Raw Normal View History

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