report alignment and big test values fixed

This commit is contained in:
batuhanbas
2020-01-13 15:55:28 +03:00
parent 22ee37622e
commit e1bdcd0964
12 changed files with 57 additions and 46 deletions

View File

@@ -1,13 +1,15 @@
<div class="table-responsive mt-4 overflow-auto">
<div class="table-responsive overflow-auto mt-5">
<table class="table align-items-center">
<thead class="border-top-style">
<tfoot class="border-top-style">
<tr>
<th style="width: 179px;">{{ trans('reports.net_profit') }}</th>
<th class="long-texts report-column">{{ trans('reports.net_profit') }}</th>
@foreach($class->net_profit as $profit)
<th class="text-right">@money($profit, setting('default.currency'), true)</th>
<th class="long-texts report-column">@money($profit, setting('default.currency'), true)</th>
@endforeach
<th class="text-right">@money(array_sum($class->net_profit), setting('default.currency'), true)</th>
<th class="long-texts report-column">
@money(array_sum($class->net_profit), setting('default.currency'), true)
</th>
</tr>
</thead>
</tfoot>
</table>
</div>