This commit is contained in:
denisdulici 2018-04-16 15:45:00 +03:00
parent 0d4f3e9dae
commit 7897300cb8

View File

@ -11,7 +11,7 @@
</tr> </tr>
</thead> </thead>
</table> </table>
<table class="table" style="margin-top: 40px"> <table class="table table-hover" style="margin-top: 40px">
<thead> <thead>
<tr> <tr>
<th class="col-sm-2" colspan="6">{{ trans_choice('general.incomes', 1) }}</th> <th class="col-sm-2" colspan="6">{{ trans_choice('general.incomes', 1) }}</th>
@ -27,15 +27,17 @@
@endforeach @endforeach
</tr> </tr>
@endforeach @endforeach
</tbody>
<tfoot>
<tr> <tr>
<th class="col-sm-2">{{ trans('reports.gross_profit') }}</th> <th class="col-sm-2">{{ trans('reports.gross_profit') }}</th>
@foreach($gross['income'] as $item) @foreach($gross['income'] as $item)
<th class="col-sm-2 text-right">@money($item, setting('general.default_currency'), true)</th> <th class="col-sm-2 text-right">@money($item, setting('general.default_currency'), true)</th>
@endforeach @endforeach
</tr> </tr>
</tbody> </tfoot>
</table> </table>
<table class="table" style="margin-top: 40px"> <table class="table table-hover" style="margin-top: 40px">
<thead> <thead>
<tr> <tr>
<th class="col-sm-2" colspan="6">{{ trans_choice('general.expenses', 2) }}</th> <th class="col-sm-2" colspan="6">{{ trans_choice('general.expenses', 2) }}</th>
@ -51,13 +53,15 @@
@endforeach @endforeach
</tr> </tr>
@endforeach @endforeach
</tbody>
<tfoot>
<tr> <tr>
<th class="col-sm-2">{{ trans('reports.total_expenses') }}</th> <th class="col-sm-2">{{ trans('reports.total_expenses') }}</th>
@foreach($gross['expense'] as $item) @foreach($gross['expense'] as $item)
<th class="col-sm-2 text-right">@money($item, setting('general.default_currency'), true)</th> <th class="col-sm-2 text-right">@money($item, setting('general.default_currency'), true)</th>
@endforeach @endforeach
</tr> </tr>
</tbody> </tfoot>
</table> </table>
<table class="table" style="margin-top: 40px"> <table class="table" style="margin-top: 40px">
<tbody> <tbody>