Update bonprelevement.class.php
This commit is contained in:
parent
b09a618f38
commit
10a8ce82a9
@ -2186,7 +2186,7 @@ class BonPrelevement extends CommonObject
|
|||||||
|
|
||||||
// Get data of bank account
|
// Get data of bank account
|
||||||
//$id = $configuration->global->PRELEVEMENT_ID_BANKACCOUNT;
|
//$id = $configuration->global->PRELEVEMENT_ID_BANKACCOUNT;
|
||||||
$id=($type == 'bank-transfer' ? $conf->global->PAYMENTBYBANKTRANSFER_ID_BANKACCOUNT : $conf->global->PRELEVEMENT_ID_BANKACCOUNT);
|
$id = ($type == 'bank-transfer' ? $conf->global->PAYMENTBYBANKTRANSFER_ID_BANKACCOUNT : $conf->global->PRELEVEMENT_ID_BANKACCOUNT);
|
||||||
$account = new Account($this->db);
|
$account = new Account($this->db);
|
||||||
if ($account->fetch($id) > 0)
|
if ($account->fetch($id) > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user