Merge pull request #18041 from Hystepik/develop#1

Fix #18014 : update of compta/facture/card.php
This commit is contained in:
Laurent Destailleur 2021-06-29 15:46:24 +02:00 committed by GitHub
commit 6a877074a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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