2019-11-16 10:21:14 +03:00
|
|
|
<tfoot>
|
|
|
|
<tr>
|
2020-01-13 15:55:28 +03:00
|
|
|
<th class="long-texts report-column">{{ trans_choice('general.totals', 1) }}</th>
|
2019-11-28 11:18:58 +03:00
|
|
|
@php $total_total = 0; @endphp
|
|
|
|
@foreach($class->totals[$table] as $date => $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-28 11:18:58 +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>
|