diffrent reports status tables updated
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="table-responsive mt-4 overflow-auto">
|
||||
<div class="table-responsive overflow-auto">
|
||||
<table class="table align-items-center">
|
||||
<thead class="border-top-style">
|
||||
<tr>
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style="width: 179px;">{{ trans_choice('general.totals', 1) }}</th>
|
||||
@php $total_total = 0; @endphp
|
||||
@foreach($class->totals[$table] as $date => $total)
|
||||
@php $total_total += $total; @endphp
|
||||
<th class="text-right">@money($total, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
@php $total_total = 0; @endphp
|
||||
@foreach($class->totals[$table] as $date => $total)
|
||||
@php $total_total += $total; @endphp
|
||||
<th class="text-right">@money($total, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
<th class="text-right">@money($total_total, setting('default.currency'), true)</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
@@ -1,12 +1,12 @@
|
||||
<div class="table-responsive mt-4">
|
||||
<div class="table-responsive overflow-auto">
|
||||
<table class="table align-items-center">
|
||||
<thead class="border-top-style">
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th style="width: 152px;"></th>
|
||||
@foreach($class->dates as $date)
|
||||
<th class="text-right pl-0">{{ $date }}</th>
|
||||
<th class="text-right">{{ $date }}</th>
|
||||
@endforeach
|
||||
<th class="text-right pl-0">{{ trans_choice('general.totals', 1) }}</th>
|
||||
<th class="text-right">{{ trans_choice('general.totals', 1) }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>{{ trans('reports.net') }}</th>
|
||||
<th style="width: 179px;">{{ trans('reports.net') }}</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="text-right">@money($total, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
<th class="text-right pl-0">@money($total_total, setting('default.currency'), true)</th>
|
||||
<th class="text-right">@money($total_total, setting('default.currency'), true)</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
Reference in New Issue
Block a user