report function usage updated
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<div class="table-responsive overflow-auto my-4">
|
||||
<div class="table-responsive overflow-auto my-2">
|
||||
<table class="table table-hover align-items-center rp-border-collapse">
|
||||
<tfoot class="border-top-style">
|
||||
<tr class="row rp-border-top-1 font-size-unset px-3">
|
||||
<th class="{{ $class->head_column_width }} text-uppercase text-nowrap">{{ trans('reports.net_profit') }}</th>
|
||||
<th class="{{ $class->column_name_width }} text-uppercase text-nowrap border-top-0">{{ trans('reports.net_profit') }}</th>
|
||||
@foreach($class->net_profit as $profit)
|
||||
<th class="{{ $class->column_width }} text-right px-0">@money($profit, setting('default.currency'), true)</th>
|
||||
<th class="{{ $class->column_value_width }} text-right px-0 border-top-0">@money($profit, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
<th class="{{ $class->head_column_width }} text-right">
|
||||
<th class="{{ $class->column_name_width }} text-right border-top-0">
|
||||
@money(array_sum($class->net_profit), setting('default.currency'), true)
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user