|
@@ -140,7 +140,9 @@
|
|
|
|
|
|
|
|
@foreach($receipt->rows as $row)
|
|
@foreach($receipt->rows as $row)
|
|
|
<b>Causale</b>: {{@$row->causal->getTree()}}<br><br>
|
|
<b>Causale</b>: {{@$row->causal->getTree()}}<br><br>
|
|
|
- <b>Dettaglio causale</b>: {{$row->note != '' ? $row->note : ''}}<br><br>
|
|
|
|
|
|
|
+ @if ($row->note != '')
|
|
|
|
|
+ <b>Dettaglio causale</b>: {{$row->note}}<br><br>
|
|
|
|
|
+ @endif
|
|
|
|
|
|
|
|
@if($row->sconto > 0)
|
|
@if($row->sconto > 0)
|
|
|
@php $hasDiscount = true; @endphp
|
|
@php $hasDiscount = true; @endphp
|
|
@@ -160,7 +162,7 @@
|
|
|
<br><br>
|
|
<br><br>
|
|
|
|
|
|
|
|
@if($hasDiscount)
|
|
@if($hasDiscount)
|
|
|
- <b>Totale prescontato</b>: {{formatPrice($totalPrediscount)}}<br><br>
|
|
|
|
|
|
|
+ <b>Totale</b>: {{formatPrice($totalPrediscount)}}<br><br>
|
|
|
<b>Sconto totale</b>: {{formatPrice($totalSconto)}}<br><br>
|
|
<b>Sconto totale</b>: {{formatPrice($totalSconto)}}<br><br>
|
|
|
@endif
|
|
@endif
|
|
|
|
|
|