show invoice/bill totals sorted

This commit is contained in:
denisdulici
2020-04-18 16:20:11 +03:00
parent ec07675437
commit 88f64ad4ab
11 changed files with 16 additions and 11 deletions

View File

@ -184,7 +184,7 @@
<div class="table-responsive">
<table class="table">
<tbody>
@foreach($invoice->totals as $total)
@foreach($invoice->totals_sorted as $total)
@if($total->code != 'total')
<tr>
<th>{{ trans($total['name']) }}:</th>