fixed tax report

This commit is contained in:
denisdulici
2018-05-02 22:33:28 +03:00
parent 654bd509bd
commit 7beb5a7fad
6 changed files with 57 additions and 41 deletions

View File

@@ -115,7 +115,7 @@
@foreach($bill->totals as $total)
@if ($total->code != 'total')
<tr>
<th>{{ trans($total->name) }}:</th>
<th>{{ trans($total->title) }}:</th>
<td class="text-right">@money($total->amount, $bill->currency_code, true)</td>
</tr>
@else
@@ -126,7 +126,7 @@
</tr>
@endif
<tr>
<th>{{ trans($total['name']) }}:</th>
<th>{{ trans($total->name) }}:</th>
<td class="text-right">@money($total->amount - $bill->paid, $bill->currency_code, true)</td>
</tr>
@endif

View File

@@ -132,7 +132,7 @@
@foreach ($bill->totals as $total)
@if ($total->code != 'total')
<tr>
<th>{{ trans($total->name) }}:</th>
<th>{{ trans($total->title) }}:</th>
<td class="text-right">@money($total->amount, $bill->currency_code, true)</td>
</tr>
@else

View File

@@ -115,7 +115,7 @@
@foreach ($invoice->totals as $total)
@if ($total->code != 'total')
<tr>
<th>{{ trans($total->name) }}:</th>
<th>{{ trans($total->title) }}:</th>
<td class="text-right">@money($total->amount, $invoice->currency_code, true)</td>
</tr>
@else

View File

@@ -134,7 +134,7 @@
@foreach ($invoice->totals as $total)
@if ($total->code != 'total')
<tr>
<th>{{ trans($total->name) }}:</th>
<th>{{ trans($total->title) }}:</th>
<td class="text-right">@money($total->amount, $invoice->currency_code, true)</td>
</tr>
@else