mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
ibazn managment
This commit is contained in:
@@ -1376,22 +1376,26 @@ class Account extends CommonObject
|
|||||||
$detailedBBAN = $this->useDetailedBBAN();
|
$detailedBBAN = $this->useDetailedBBAN();
|
||||||
|
|
||||||
if ($detailedBBAN == 0) {
|
if ($detailedBBAN == 0) {
|
||||||
return array(
|
$fieldarray= array(
|
||||||
'IBAN',
|
|
||||||
'BIC',
|
|
||||||
'BankAccountNumber'
|
'BankAccountNumber'
|
||||||
);
|
);
|
||||||
} elseif ($detailedBBAN == 2) {
|
} elseif ($detailedBBAN == 2) {
|
||||||
return array(
|
$fieldarray= array(
|
||||||
'IBAN',
|
|
||||||
'BIC',
|
|
||||||
'BankCode',
|
'BankCode',
|
||||||
'BankAccountNumber'
|
'BankAccountNumber'
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
$fieldarray=self::getAccountNumberOrder();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->needIBAN()) {
|
||||||
|
$fieldarray[]='IBAN';
|
||||||
|
$fieldarray[]='BIC';
|
||||||
}
|
}
|
||||||
|
|
||||||
//Get the order the properties are shown
|
//Get the order the properties are shown
|
||||||
return self::getAccountNumberOrder();
|
return $fieldarray;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1409,8 +1413,6 @@ class Account extends CommonObject
|
|||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
$fieldlists = array(
|
$fieldlists = array(
|
||||||
'IBAN',
|
|
||||||
'BIC',
|
|
||||||
'BankCode',
|
'BankCode',
|
||||||
'DeskCode',
|
'DeskCode',
|
||||||
'BankAccountNumber',
|
'BankAccountNumber',
|
||||||
@@ -1421,8 +1423,6 @@ class Account extends CommonObject
|
|||||||
if (is_numeric($conf->global->BANK_SHOW_ORDER_OPTION)) {
|
if (is_numeric($conf->global->BANK_SHOW_ORDER_OPTION)) {
|
||||||
if ($conf->global->BANK_SHOW_ORDER_OPTION == '1') {
|
if ($conf->global->BANK_SHOW_ORDER_OPTION == '1') {
|
||||||
$fieldlists = array(
|
$fieldlists = array(
|
||||||
'IBAN',
|
|
||||||
'BIC',
|
|
||||||
'BankCode',
|
'BankCode',
|
||||||
'DeskCode',
|
'DeskCode',
|
||||||
'BankAccountNumberKey',
|
'BankAccountNumberKey',
|
||||||
|
|||||||
Reference in New Issue
Block a user