From d001d3f11c675a7ce18b9ac9a3a2f8315ca758d6 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Fri, 19 May 2023 12:10:32 +0200 Subject: [PATCH] Fix minore --- templates/registro_iva/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/registro_iva/init.php b/templates/registro_iva/init.php index 5dd27e646..840a83038 100755 --- a/templates/registro_iva/init.php +++ b/templates/registro_iva/init.php @@ -33,7 +33,7 @@ $vendita_banco = $dbo->fetchNum("SELECT * FROM zz_modules WHERE name='Vendita al $v_iva = []; $v_totale = []; -if ((!empty($vendita_banco)) && ($tipo == 'vendite')){ +if ((!empty($vendita_banco)) && ($id_sezionale == -1) && ($tipo == 'vendite')){ $query = ' SELECT data_registrazione,