diffrent reports status tables updated

This commit is contained in:
batuhanbas
2019-11-28 11:18:58 +03:00
parent 9439e7061c
commit 99c56e261a
11 changed files with 23 additions and 23 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>&nbsp;</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>

View File

@@ -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>