TakePOS without bank accounts invoice.php

This commit is contained in:
andreubisquerra 2022-06-06 06:45:25 +02:00 committed by GitHub
parent 1f09151a25
commit a53e3ca3f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,7 @@ if (empty($reshook)) {
} }
} }
if ($bankaccount <= 0 && $pay != "delayed") { if ($bankaccount <= 0 && $pay != "delayed" && !empty($conf->banque->enabled)) {
$errormsg = $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("BankAccount")); $errormsg = $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("BankAccount"));
$error++; $error++;
} }