improved reports layout

This commit is contained in:
denisdulici
2020-01-14 14:47:05 +03:00
parent 2f98696caf
commit 567a2ddbd5
8 changed files with 24 additions and 24 deletions

View File

@@ -2,11 +2,11 @@
<table class="table align-items-center">
<tfoot class="border-top-style">
<tr>
<th class="long-texts report-column">{{ trans('reports.net_profit') }}</th>
<th class="report-column">{{ trans('reports.net_profit') }}</th>
@foreach($class->net_profit as $profit)
<th class="long-texts report-column text-right">@money($profit, setting('default.currency'), true)</th>
<th class="report-column text-right px-0">@money($profit, setting('default.currency'), true)</th>
@endforeach
<th class="long-texts report-column text-right">
<th class="report-column text-right">
@money(array_sum($class->net_profit), setting('default.currency'), true)
</th>
</tr>