reports view alignment updated
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<div class="table-responsive overflow-auto mt-5">
|
||||
<table class="table align-items-center rp-border-collapse">
|
||||
<div class="table-responsive overflow-auto my-4">
|
||||
<table class="table table-hover align-items-center rp-border-collapse">
|
||||
<tfoot class="border-top-style">
|
||||
<tr class="rp-border-top-1">
|
||||
<th class="report-column">{{ trans('reports.net_profit') }}</th>
|
||||
<th class="report-column text-uppercase">{{ trans('reports.net_profit') }}</th>
|
||||
@foreach($class->net_profit as $profit)
|
||||
<th class="report-column text-right px-0">@money($profit, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<div class="table-responsive overflow-auto">
|
||||
<table class="table align-items-center rp-border-collapse">
|
||||
<div class="table-responsive overflow-auto mt-4">
|
||||
<table class="table table-hover align-items-center rp-border-collapse">
|
||||
<thead class="border-top-style">
|
||||
<tr class="rp-border-bottom-1">
|
||||
<th class="report-column text-right"></th>
|
||||
@foreach($class->dates as $date)
|
||||
<th class="report-column text-right px-0">{{ $date }}</th>
|
||||
@endforeach
|
||||
<th class="report-column text-right">
|
||||
<th class="report-column text-right text-uppercase">
|
||||
{{ trans_choice('general.totals', 1) }}
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<tfoot>
|
||||
<tr class="rp-border-top-1">
|
||||
<th class="report-column text-left">{{ trans_choice('general.totals', 1) }}</th>
|
||||
<th class="report-column text-left text-uppercase">{{ trans_choice('general.totals', 1) }}</th>
|
||||
@php $grand_total = 0; @endphp
|
||||
@foreach($class->footer_totals[$table] as $date => $total)
|
||||
@php $grand_total += $total; @endphp
|
||||
|
||||
Reference in New Issue
Block a user