Parcourir la source

dettaglio causale stampa ricevuta

FabioFratini il y a 9 mois
Parent
commit
ecce878ccd
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      resources/views/receipt.blade.php

+ 2 - 1
resources/views/receipt.blade.php

@@ -76,7 +76,8 @@
     $total = 0;
     @endphp
     @foreach($receipt->rows as $row)
-        <b>Descrizione</b>: {{@$row->causal->getTree()}} {{$row->note != '' ? ('(' . $row->note . ')') : ''}}<br><br>
+        <b>Causale</b>: {{@$row->causal->getTree()}}<br><br>
+        <b>Dettaglio causale</b>: {{$row->note != '' ? $row->note : ''}}<br><br>
         <b>Importo</b>: {{formatPrice($row->amount)}}<br><br>
         @php
         $total += $row->amount;