reports print view updated

This commit is contained in:
batuhanbas
2020-01-17 16:26:08 +03:00
parent 072de6b7e2
commit 84a37fd524
13 changed files with 74 additions and 34 deletions

View File

@@ -1,9 +1,9 @@
@php $row_total = 0; @endphp
<tr>
<td class="report-column">{{ $class->getTableRowList()[$id] }}</td>
<td class="report-column rp-border-top-1">{{ $class->getTableRowList()[$id] }}</td>
@foreach($items as $item)
@php $row_total += $item; @endphp
<td class="report-column text-right px-0">@money($item, setting('default.currency'), true)</td>
<td class="report-column text-right px-0 rp-border-top-1">@money($item, setting('default.currency'), true)</td>
@endforeach
<td class="report-column text-right">@money($row_total, setting('default.currency'), true)</td>
<td class="report-column text-right rp-border-top-1">@money($row_total, setting('default.currency'), true)</td>
</tr>