TakePOS without bank accounts index.php

This commit is contained in:
andreubisquerra 2022-06-06 06:46:42 +02:00 committed by GitHub
parent a53e3ca3f3
commit 9343e1d503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1136,7 +1136,7 @@ if (isset($_SESSION["takeposterminal"]) && $_SESSION["takeposterminal"]) {
}
}
if (empty($paiementsModes)) {
if (empty($paiementsModes) && !empty($conf->banque->enabled)) {
$langs->load('errors');
setEventMessages($langs->trans("ErrorModuleSetupNotComplete", $langs->transnoentitiesnoconv("TakePOS")), null, 'errors');
setEventMessages($langs->trans("ProblemIsInSetupOfTerminal", $_SESSION["takeposterminal"]), null, 'errors');