TakePOS without bank accounts invoice.php
This commit is contained in:
parent
1f09151a25
commit
a53e3ca3f3
@ -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++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user