From ffc5795477edb8ce76034a56374f8b6326b3dfc9 Mon Sep 17 00:00:00 2001 From: Fabio Lovato Date: Fri, 15 Jun 2018 16:40:19 +0200 Subject: [PATCH] Corretto arrotondamento iva in stampa fattura --- templates/fatture/body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/fatture/body.php b/templates/fatture/body.php index fe3b65b70..98a52419a 100644 --- a/templates/fatture/body.php +++ b/templates/fatture/body.php @@ -314,7 +314,7 @@ echo ' // Info per il footer $imponibile = sum($imponibile); -$iva = sum($iva, null, 2) + $records[0]['iva_rivalsainps']; +$iva = sum($iva, 0) + $records[0]['iva_rivalsainps']; $sconto = sum($sconto); $totale = $imponibile + $iva - $sconto + $records[0]['rivalsainps'];