report print updated

This commit is contained in:
batuhanbas
2020-01-18 18:45:40 +03:00
parent c2719dcbca
commit 1337664841
9 changed files with 39 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
<div class="table-responsive overflow-auto">
<table class="table align-items-center">
<table class="table align-items-center rp-border-collapse">
<thead class="border-top-style">
<tr>
<th class="report-column text-right rp-border-bottom-1"></th>

View File

@@ -1,11 +1,11 @@
<tfoot>
<tr>
<th class="report-column rp-border-top-1 text-left">{{ trans('reports.net') }}</th>
<tr class="rp-border-top-1">
<th class="report-column text-left">{{ trans('reports.net') }}</th>
@php $total_total = 0; @endphp
@foreach($class->totals[$table] as $total)
@php $total_total += $total; @endphp
<th class="report-column text-right px-0 rp-border-top-1">@money($total, setting('default.currency'), true)</th>
<th class="report-column text-right px-0">@money($total, setting('default.currency'), true)</th>
@endforeach
<th class="report-column text-right rp-border-top-1">@money($total_total, setting('default.currency'), true)</th>
<th class="report-column text-right">@money($total_total, setting('default.currency'), true)</th>
</tr>
</tfoot>