Fix #18014 : update of compta/facture/card.php

This commit is contained in:
lmarcouiller 2021-06-28 11:38:34 +02:00
parent 813440bd16
commit 923a015aac

View File

@ -2375,12 +2375,12 @@ if (empty($reshook)) {
setEventMessages($mesg, null, 'warnings');
$error++;
$result = -1;
} elseif (GETPOST('progress') < $percent) {
$mesg = '<div class="warning">'.$langs->trans("CantBeLessThanMinPercent").'</div>';
setEventMessages($mesg, null, 'warnings');
$error++;
$result = -1;
}
} elseif (GETPOST('progress') < $percent) {
$mesg = '<div class="warning">'.$langs->trans("CantBeLessThanMinPercent").'</div>';
setEventMessages($mesg, null, 'warnings');
$error++;
$result = -1;
}
// Check minimum price