report alignment and big test values fixed
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>{{ trans_choice('general.totals', 1) }}</th>
|
||||
<th class="long-texts report-column">{{ 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>
|
||||
<th class="long-texts report-column">@money($total, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
<th class="text-right pl-0">@money($total_total, setting('default.currency'), true)</th>
|
||||
<th class="long-texts report-column">@money($total_total, setting('default.currency'), true)</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
@ -1,9 +1,9 @@
|
||||
@php $row_total = 0; @endphp
|
||||
<tr>
|
||||
<td>{{ $class->getTableRowList()[$id] }}</td>
|
||||
<td class="long-texts report-column">{{ $class->getTableRowList()[$id] }}</td>
|
||||
@foreach($items as $item)
|
||||
@php $row_total += $item; @endphp
|
||||
<td class="text-right pl-0">@money($item, setting('default.currency'), true)</td>
|
||||
<td class="long-texts report-column">@money($item, setting('default.currency'), true)</td>
|
||||
@endforeach
|
||||
<th class="text-right pl-0">@money($row_total, setting('default.currency'), true)</th>
|
||||
<td class="long-texts report-column">@money($row_total, setting('default.currency'), true)</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user