Skip to content

Commit 97b2091

Browse files
fix: visualizzazione importo stampa preventivo
1 parent cc50107 commit 97b2091

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/preventivi/body.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<th class='text-center' style='width:10%'>".tr('IVA', [], ['upper' => true]).' (%)</th>';
103103
}
104104
echo "
105-
<th class='text-center' style='width:15%'>".($options['hide-total'] ? tr('Importo ivato', [], ['upper' => true]) : tr('Importo', [], ['upper' => true])).'</th>';
105+
<th class='text-center' style='width:15%'>".($prezzi_ivati ? tr('Importo ivato', [], ['upper' => true]) : tr('Importo', [], ['upper' => true])).'</th>';
106106
}
107107

108108
echo '
@@ -221,7 +221,7 @@
221221
// Imponibile
222222
echo '
223223
<td class="text-right" style="vertical-align: middle" >
224-
'.(($options['hide-total'] || $prezzi_ivati) ? moneyFormat($riga->totale, $d_importi) : moneyFormat($riga->totale_imponibile, $d_importi)).'
224+
'.($prezzi_ivati ? moneyFormat($riga->totale, $d_importi) : moneyFormat($riga->totale_imponibile, $d_importi)).'
225225
</td>';
226226
}
227227
} else {

0 commit comments

Comments
 (0)