dolibarr 18.0.6
bank.lib.php File Reference

Ensemble de fonctions de base pour le module banque. More...

Go to the source code of this file.

Functions

 bank_prepare_head (Account $object)
 Prepare array with list of tabs.
 
 bank_admin_prepare_head ($object)
 Prepare array with list of tabs.
 
 account_statement_prepare_head ($object, $num)
 Prepare array with list of tabs.
 
 various_payment_prepare_head ($object)
 Prepare array with list of tabs.
 
 checkSwiftForAccount ($account)
 Check SWIFT informations for a bank account.
 
 checkIbanForAccount (Account $account)
 Check IBAN number informations for a bank account.
 
 getIbanHumanReadable (Account $account)
 Returns the iban human readable.
 
 checkBanForAccount ($account)
 Check account number informations for a bank account.
 
 checkES ($IentOfi, $InumCta)
 Returns the key for Spanish Banks Accounts.
 

Detailed Description

Ensemble de fonctions de base pour le module banque.

Definition in file bank.lib.php.

Function Documentation

◆ account_statement_prepare_head()

account_statement_prepare_head ( $object,
$num )

Prepare array with list of tabs.

Parameters
Object$objectObject related to tabs
Object$numval to account statement
Returns
array Array of tabs to shoc

Definition at line 192 of file bank.lib.php.

References complete_head_from_modules(), Link\count(), dol_dir_list(), and dol_sanitizeFileName().

◆ bank_admin_prepare_head()

bank_admin_prepare_head ( $object)

Prepare array with list of tabs.

Parameters
Object$objectObject related to tabs
Returns
array Array of tabs to shoc

Definition at line 132 of file bank.lib.php.

References complete_head_from_modules().

◆ bank_prepare_head()

bank_prepare_head ( Account $object)

Prepare array with list of tabs.

Parameters
Account$objectObject related to tabs
Returns
array Array of tabs to show

Definition at line 37 of file bank.lib.php.

References complete_head_from_modules(), Link\count(), dol_dir_list(), dol_sanitizeFileName(), and Account\TYPE_CASH.

◆ checkBanForAccount()

checkBanForAccount ( $account)

Check account number informations for a bank account.

Parameters
Account$accountA bank account
Returns
boolean True if informations are valid, false otherwise

Definition at line 335 of file bank.lib.php.

References checkES(), and dol_syslog().

◆ checkES()

checkES ( $IentOfi,
$InumCta )

Returns the key for Spanish Banks Accounts.

Parameters
string$IentOfiIentOfi
string$InumCtaInumCta
Returns
string Key

Definition at line 414 of file bank.lib.php.

Referenced by checkBanForAccount().

◆ checkIbanForAccount()

checkIbanForAccount ( Account $account)

Check IBAN number informations for a bank account.

Parameters
Account$accountA bank account
Returns
boolean True if informations are valid, false otherwise

Definition at line 295 of file bank.lib.php.

Referenced by Account\verif().

◆ checkSwiftForAccount()

checkSwiftForAccount ( $account)

Check SWIFT informations for a bank account.

Parameters
Account$accountA bank account
Returns
boolean True if informations are valid, false otherwise

Definition at line 279 of file bank.lib.php.

Referenced by Account\verif().

◆ getIbanHumanReadable()

getIbanHumanReadable ( Account $account)

Returns the iban human readable.

Parameters
Account$accountAccount object
Returns
string

Definition at line 317 of file bank.lib.php.

Referenced by Account\getTooltipContentArray().

◆ various_payment_prepare_head()

various_payment_prepare_head ( $object)

Prepare array with list of tabs.

Parameters
Object$objectObject related to tabs
Returns
array Array of tabs to shoc

Definition at line 232 of file bank.lib.php.

References complete_head_from_modules(), Link\count(), dol_dir_list(), and dol_sanitizeFileName().