Update takepos.php
This commit is contained in:
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)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user