From 6fdd063cae2f78cc9b40065a5a1cbb5605d39800 Mon Sep 17 00:00:00 2001 From: Dasc3er Date: Fri, 30 Oct 2020 15:15:18 +0100 Subject: [PATCH] Update articolo.php --- include/common/articolo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/common/articolo.php b/include/common/articolo.php index 1896a16c4..bc065dc5e 100755 --- a/include/common/articolo.php +++ b/include/common/articolo.php @@ -279,7 +279,7 @@ function verificaScontoArticolo() { let sconto = sconto_input.val().toEnglish(); let div = sconto_input.parent().next(); - if (sconto_previsto === sconto || $("#tipo_sconto").val() === "UNT") { + if (sconto_previsto === 0 || sconto_previsto === sconto || $("#tipo_sconto").val() === "UNT") { div.css("padding-top", "0"); div.html("");