dolibarr  7.0.0-beta
Functions
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. More...
 
 bank_admin_prepare_head ($object)
 Prepare array with list of tabs. More...
 
 various_payment_prepare_head ($object)
 Prepare array with list of tabs. More...
 
 checkSwiftForAccount ($account)
 Check SWIFT informations for a bank account. More...
 
 checkIbanForAccount ($account)
 Check IBAN number informations for a bank account. More...
 
 checkBanForAccount ($account)
 Check account number informations for a bank account. More...
 
 checkES ($IentOfi, $InumCta)
 Returns the key for Spanish Banks Accounts. More...
 

Detailed Description

Ensemble de fonctions de base pour le module banque.

Definition in file bank.lib.php.

Function Documentation

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 125 of file bank.lib.php.

References complete_head_from_modules().

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 34 of file bank.lib.php.

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

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 243 of file bank.lib.php.

References checkES(), and dol_syslog().

checkES (   $IentOfi,
  $InumCta 
)

Returns the key for Spanish Banks Accounts.

Parameters
string$IentOfiIentOfi
string$InumCtaInumCta
Returns
string Key

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

Referenced by checkBanForAccount().

checkIbanForAccount (   $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 226 of file bank.lib.php.

Referenced by Account\verif().

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 209 of file bank.lib.php.

Referenced by Account\verif().

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 164 of file bank.lib.php.

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