bugfix/supplierBankTransfertWrongCodeCheckMassAction

This commit is contained in:
Alexis LAURIER 2021-06-10 16:29:56 +02:00
parent 8f91dd48c9
commit 03cd88d145

View File

@ -323,7 +323,7 @@ if (empty($reshook))
if ($numprlv > 0) {
$error++;
setEventMessages($objecttmp->ref.' '.$langs->trans("RequestAlreadyDone"), $objecttmp->errors, 'warnings');
} elseif (!empty($objecttmp->mode_reglement_code) && $objecttmp->mode_reglement_code != 'PRE') {
} elseif (!empty($objecttmp->mode_reglement_code) && $objecttmp->mode_reglement_code != 'VIR') {
$error++;
setEventMessages($objecttmp->ref.' '.$langs->trans("BadPaymentMethod"), $objecttmp->errors, 'errors');
} else {