12 lines
517 B
PHP
Raw Normal View History

2019-11-16 10:21:14 +03:00
<tfoot>
2020-01-18 18:45:40 +03:00
<tr class="rp-border-top-1">
<th class="report-column text-left">{{ trans('reports.net') }}</th>
2020-01-27 22:41:08 +03:00
@php $grand_total = 0; @endphp
@foreach($class->footer_totals[$table] as $total)
@php $grand_total += $total; @endphp
2020-01-18 18:45:40 +03:00
<th class="report-column text-right px-0">@money($total, setting('default.currency'), true)</th>
2019-11-16 10:21:14 +03:00
@endforeach
2020-01-27 22:41:08 +03:00
<th class="report-column text-right">@money($grand_total, setting('default.currency'), true)</th>
2019-11-16 10:21:14 +03:00
</tr>
</tfoot>