mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Update takepos.php
This commit is contained in:
committed by
GitHub
parent
7ff51df8f3
commit
f902f7beeb
@@ -465,7 +465,7 @@ if ($resql){
|
||||
if ($paycode == 'CHQ') $paycode = 'CHEQUE';
|
||||
|
||||
$accountname="CASHDESK_ID_BANKACCOUNT_".$paycode;
|
||||
if($conf->global->$accountname) array_push($paiementsModes, $obj);
|
||||
if (! empty($conf->global->$accountname) && $conf->global->$accountname > 0) array_push($paiementsModes, $obj);
|
||||
}
|
||||
}
|
||||
if (empty($paiementsModes)) {
|
||||
|
||||
Reference in New Issue
Block a user