Update articolo.php

This commit is contained in:
Dasc3er 2020-10-30 15:15:18 +01:00
parent bc01b81ef3
commit 6fdd063cae
1 changed files with 1 additions and 1 deletions

View File

@ -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("");