money alignment is updated
This commit is contained in:
parent
24dcd4997b
commit
e8db1cf1a4
2
public/css/custom.css
vendored
2
public/css/custom.css
vendored
@ -693,8 +693,8 @@ table .align-items-center td span.badge {
|
|||||||
/*--------Report Column--------*/
|
/*--------Report Column--------*/
|
||||||
.report-column
|
.report-column
|
||||||
{
|
{
|
||||||
|
max-width: 100px;
|
||||||
width: 160px !important;
|
width: 160px !important;
|
||||||
max-width: 100px !important;
|
|
||||||
}
|
}
|
||||||
/*--------Report Column Finish--------*/
|
/*--------Report Column Finish--------*/
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
@php $total_total = 0; @endphp
|
@php $total_total = 0; @endphp
|
||||||
@foreach($class->totals[$table] as $total)
|
@foreach($class->totals[$table] as $total)
|
||||||
@php $total_total += $total; @endphp
|
@php $total_total += $total; @endphp
|
||||||
<th class="long-texts report-column">@money($total, setting('default.currency'), true)</th>
|
<th class="long-texts report-column text-right">@money($total, setting('default.currency'), true)</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
<th class="long-texts report-column">@money($total_total, setting('default.currency'), true)</th>
|
<th class="long-texts report-column text-right">@money($total_total, setting('default.currency'), true)</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
@if ($table == 'default')
|
@if ($table == 'default')
|
||||||
<th>{{ $class->groups[$class->report->group] }}</th>
|
<th>{{ $class->groups[$class->report->group] }}</th>
|
||||||
@else
|
@else
|
||||||
<th class="text-right pl-0">{{ $table }}</th>
|
<th class="text-center">{{ $table }}</th>
|
||||||
@endif
|
@endif
|
||||||
@foreach($class->dates as $date)
|
@foreach($class->dates as $date)
|
||||||
<th class="text-right pl-0">{{ $date }}</th>
|
<th class="text-center">{{ $date }}</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
<th class="text-right pl-0">{{ trans_choice('general.totals', 1) }}</th>
|
<th class="text-center">{{ trans_choice('general.totals', 1) }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<td class="long-texts report-column">{{ $class->getTableRowList()[$id] }}</td>
|
<td class="long-texts report-column">{{ $class->getTableRowList()[$id] }}</td>
|
||||||
@foreach($items as $item)
|
@foreach($items as $item)
|
||||||
@php $row_total += $item; @endphp
|
@php $row_total += $item; @endphp
|
||||||
<td class="long-texts report-column">@money($item, setting('default.currency'), true)</td>
|
<td class="long-texts report-column text-right">@money($item, setting('default.currency'), true)</td>
|
||||||
@endforeach
|
@endforeach
|
||||||
<td class="long-texts report-column">@money($row_total, setting('default.currency'), true)</td>
|
<td class="long-texts report-column text-right">@money($row_total, setting('default.currency'), true)</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th class="long-texts report-column">{{ trans('reports.net_profit') }}</th>
|
<th class="long-texts report-column">{{ trans('reports.net_profit') }}</th>
|
||||||
@foreach($class->net_profit as $profit)
|
@foreach($class->net_profit as $profit)
|
||||||
<th class="long-texts report-column">@money($profit, setting('default.currency'), true)</th>
|
<th class="long-texts report-column text-right">@money($profit, setting('default.currency'), true)</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
<th class="long-texts report-column">
|
<th class="long-texts report-column text-right">
|
||||||
@money(array_sum($class->net_profit), setting('default.currency'), true)
|
@money(array_sum($class->net_profit), setting('default.currency'), true)
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
<table class="table align-items-center">
|
<table class="table align-items-center">
|
||||||
<thead class="border-top-style">
|
<thead class="border-top-style">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="long-texts report-column"></th>
|
<th class="long-texts report-column text-center"></th>
|
||||||
@foreach($class->dates as $date)
|
@foreach($class->dates as $date)
|
||||||
<th class="long-texts report-column">{{ $date }}</th>
|
<th class="long-texts report-column text-center">{{ $date }}</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
<th class="long-texts report-column">
|
<th class="long-texts report-column text-right">
|
||||||
<h5>{{ trans_choice('general.totals', 1) }}</h5>
|
<h5>{{ trans_choice('general.totals', 1) }}</h5>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
@php $total_total = 0; @endphp
|
@php $total_total = 0; @endphp
|
||||||
@foreach($class->totals[$table] as $date => $total)
|
@foreach($class->totals[$table] as $date => $total)
|
||||||
@php $total_total += $total; @endphp
|
@php $total_total += $total; @endphp
|
||||||
<th class="long-texts report-column">@money($total, setting('default.currency'), true)</th>
|
<th class="long-texts report-column text-right">@money($total, setting('default.currency'), true)</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
<th class="long-texts report-column">@money($total_total, setting('default.currency'), true)</th>
|
<th class="long-texts report-column text-right">@money($total_total, setting('default.currency'), true)</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
<table class="table align-items-center">
|
<table class="table align-items-center">
|
||||||
<thead class="border-top-style">
|
<thead class="border-top-style">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="long-texts report-column"></th>
|
<th class="long-texts report-column text-center"></th>
|
||||||
@foreach($class->dates as $date)
|
@foreach($class->dates as $date)
|
||||||
<th class="long-texts report-column">{{ $date }}</th>
|
<th class="long-texts report-column text-center">{{ $date }}</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
<th class="long-texts report-column">
|
<th class="long-texts report-column text-right">
|
||||||
<h5>{{ trans_choice('general.totals', 1) }}</h5>
|
<h5>{{ trans_choice('general.totals', 1) }}</h5>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
@php $total_total = 0; @endphp
|
@php $total_total = 0; @endphp
|
||||||
@foreach($class->totals[$table] as $total)
|
@foreach($class->totals[$table] as $total)
|
||||||
@php $total_total += $total; @endphp
|
@php $total_total += $total; @endphp
|
||||||
<th class="long-texts report-column">@money($total, setting('default.currency'), true)</th>
|
<th class="long-texts report-column text-right">@money($total, setting('default.currency'), true)</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
<th class="long-texts report-column">@money($total_total, setting('default.currency'), true)</th>
|
<th class="long-texts report-column text-right">@money($total_total, setting('default.currency'), true)</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user