dolibarr  20.0.0-beta
Functions
bank.lib.php File Reference

Ensemble de functions 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 $account=null, $swift=null)
 Check SWIFT information for a bank account. More...
 
 checkIbanForAccount (Account $account=null, $ibantocheck=null)
 Check IBAN number information for a bank account. More...
 
 getIbanHumanReadable (Account $account)
 Returns the iban human readable. More...
 
 checkBanForAccount ($account)
 Check account number information for a bank account. More...
 
 checkES ($IentOfi, $InumCta)
 Returns the key for Spanish Banks Accounts. More...
 

Detailed Description

Ensemble de functions 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
string$numval to account statement
Returns
array Array of tabs to shoc

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

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

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

◆ checkBanForAccount()

checkBanForAccount (   $account)

Check account number information for a bank account.

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

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

◆ checkES()

checkES (   $IentOfi,
  $InumCta 
)

Returns the key for Spanish Banks Accounts.

Parameters
string$IentOfiIentOfi
string$InumCtaInumCta
Returns
string Key

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

◆ checkIbanForAccount()

checkIbanForAccount ( Account  $account = null,
  $ibantocheck = null 
)

Check IBAN number information for a bank account.

Parameters
?Account$account A bank account
?string$ibantocheck Bank account number (used to get BAN, $account not used if provided)
Returns
boolean True if information are valid, false otherwise

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

◆ checkSwiftForAccount()

checkSwiftForAccount ( Account  $account = null,
  $swift = null 
)

Check SWIFT information for a bank account.

Parameters
?Account$account A bank account (used to get BIC/SWIFT)
?string$swift Swift value (used to get BIC/SWIFT, param $account non used if provided)
Returns
boolean True if information are valid, false otherwise

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

◆ getIbanHumanReadable()

getIbanHumanReadable ( Account  $account)

Returns the iban human readable.

Parameters
Account$accountAccount object
Returns
string

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

◆ various_payment_prepare_head()

various_payment_prepare_head (   $object)

Prepare array with list of tabs.

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

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