report alignment and big test values fixed
This commit is contained in:
@@ -2,9 +2,13 @@
|
||||
|
||||
@section('new_button')
|
||||
<span>
|
||||
<a href="{{ url($class->getUrl('print')) }}" target="_blank" class="btn btn-white btn-sm"><span class="fa fa-print"></span> {{ trans('general.print') }}</a>
|
||||
<a href="{{ url($class->getUrl('print')) }}" target="_blank" class="btn btn-white btn-sm">
|
||||
<span class="fa fa-print"></span> {{ trans('general.print') }}
|
||||
</a>
|
||||
</span>
|
||||
<span>
|
||||
<a href="{{ url($class->getUrl('export')) }}" class="btn btn-white btn-sm"><span class="fa fa-upload"></span> {{ trans('general.export') }}</a>
|
||||
<a href="{{ url($class->getUrl('export')) }}" class="btn btn-white btn-sm">
|
||||
<span class="fa fa-upload"></span> {{ trans('general.export') }}
|
||||
</a>
|
||||
</span>
|
||||
@endsection
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="table-responsive overflow-auto">
|
||||
<table class="table align-items-center table-hover">
|
||||
<div class="table-responsive overflow-auto mt-5">
|
||||
<table class="table align-items-center">
|
||||
@include($class->views['table.header'])
|
||||
<tbody>
|
||||
@if (!empty($class->rows[$table]))
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>{{ trans_choice('general.totals', 1) }}</th>
|
||||
<th class="long-texts report-column">{{ trans_choice('general.totals', 1) }}</th>
|
||||
@php $total_total = 0; @endphp
|
||||
@foreach($class->totals[$table] as $total)
|
||||
@php $total_total += $total; @endphp
|
||||
<th class="text-right pl-0">@money($total, setting('default.currency'), true)</th>
|
||||
<th class="long-texts report-column">@money($total, setting('default.currency'), true)</th>
|
||||
@endforeach
|
||||
<th class="text-right pl-0">@money($total_total, setting('default.currency'), true)</th>
|
||||
<th class="long-texts report-column">@money($total_total, setting('default.currency'), true)</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
@php $row_total = 0; @endphp
|
||||
<tr>
|
||||
<td>{{ $class->getTableRowList()[$id] }}</td>
|
||||
<td class="long-texts report-column">{{ $class->getTableRowList()[$id] }}</td>
|
||||
@foreach($items as $item)
|
||||
@php $row_total += $item; @endphp
|
||||
<td class="text-right pl-0">@money($item, setting('default.currency'), true)</td>
|
||||
<td class="long-texts report-column">@money($item, setting('default.currency'), true)</td>
|
||||
@endforeach
|
||||
<th class="text-right pl-0">@money($row_total, setting('default.currency'), true)</th>
|
||||
<td class="long-texts report-column">@money($row_total, setting('default.currency'), true)</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user