dolibarr  13.0.2
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...
 
 account_statement_prepare_head ($object, $num)
 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

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

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

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 126 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 35 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 284 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 359 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 267 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 251 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 206 of file bank.lib.php.

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