diff --git a/templates/preventivi/body.php b/templates/preventivi/body.php
index 8c9828726..3d8940f24 100755
--- a/templates/preventivi/body.php
+++ b/templates/preventivi/body.php
@@ -170,7 +170,7 @@ echo "
if ($options['pricing']) {
echo "
".tr('Prezzo unitario', [], ['upper' => true])." |
- ".tr('Importo', [], ['upper' => true])." |
+ ".( $options['hide_total'] ? tr('Importo ivato', [], ['upper' => true ]) : tr( 'Importo', [], ['upper' => true]) )." |
".tr('IVA', [], ['upper' => true]).' (%) | ';
}
@@ -252,7 +252,7 @@ foreach ($righe as $riga) {
// Imponibile
echo '
- '.moneyFormat($riga->totale_imponibile).'
+ '.( $options['hide_total'] ? moneyFormat($riga->totale) : moneyFormat($riga->totale_imponibile) ).'
| ';
// Iva