From a53e3ca3f30678b82edaf58b43aac3786f1a2481 Mon Sep 17 00:00:00 2001 From: andreubisquerra Date: Mon, 6 Jun 2022 06:45:25 +0200 Subject: [PATCH] TakePOS without bank accounts invoice.php --- htdocs/takepos/invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 512dab86d59..b4111094063 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -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")); $error++; }