FIX new takepos error messages
the terminal number implementation must be used on global conf key
This commit is contained in:
parent
5ddf16685f
commit
cf207aa545
@ -84,7 +84,7 @@ if ($resql) {
|
||||
if ($paycode == 'CB') $paycode = 'CB';
|
||||
if ($paycode == 'CHQ') $paycode = 'CHEQUE';
|
||||
|
||||
$accountname="CASHDESK_ID_BANKACCOUNT_".$paycode;
|
||||
$accountname="CASHDESK_ID_BANKACCOUNT_".$paycode.$_SESSION["takeposterminal"];
|
||||
if (! empty($conf->global->$accountname) && $conf->global->$accountname > 0) array_push($paiements, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
@ -624,7 +624,7 @@ if ($resql){
|
||||
if ($paycode == 'CB') $paycode = 'CARD';
|
||||
if ($paycode == 'CHQ') $paycode = 'CHEQUE';
|
||||
|
||||
$accountname="CASHDESK_ID_BANKACCOUNT_".$paycode;
|
||||
$accountname="CASHDESK_ID_BANKACCOUNT_".$paycode.$_SESSION["takeposterminal"];
|
||||
if (! empty($conf->global->$accountname) && $conf->global->$accountname > 0) array_push($paiementsModes, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user