12 lines
618 B
PHP
Raw Normal View History

2019-11-16 10:21:14 +03:00
<tfoot>
2020-03-09 17:17:42 +03:00
<tr class="row rp-border-top-1 font-size-unset px-3">
<th class="{{ $class->head_column_width }} text-uppercase">{{ trans_choice('general.totals', 1) }}</th>
2020-01-27 22:41:08 +03:00
@php $grand_total = 0; @endphp
@foreach($class->footer_totals[$table] as $date => $total)
@php $grand_total += $total; @endphp
2020-03-10 12:31:10 +03:00
<th class="{{ $class->column_width }} text-right px-0">@money($total, setting('default.currency'), true)</th>
2019-11-28 11:18:58 +03:00
@endforeach
2020-03-10 12:31:10 +03:00
<th class="{{ $class->head_column_width }} text-right">@money($grand_total, setting('default.currency'), true)</th>
2019-11-16 10:21:14 +03:00
</tr>
</tfoot>