dolibarr 19.0.3
prelevement.lib.php File Reference

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

Go to the source code of this file.

Functions

 prelevement_prepare_head (BonPrelevement $object)
 Prepare array with list of tabs.
 
 prelevement_check_config ($type='direct-debit')
 Check need data to create standigns orders receipt file.
 
 bon_prelevement_prepare_head (BonPrelevement $object, $nbOfInvoices, $nbOfSalaryInvoice)
 Return array head with list of tabs to view object informations.
 

Detailed Description

Ensemble de fonctions de base pour le module prelevement.

Definition in file prelevement.lib.php.

Function Documentation

◆ bon_prelevement_prepare_head()

bon_prelevement_prepare_head ( BonPrelevement $object,
$nbOfInvoices,
$nbOfSalaryInvoice )

Return array head with list of tabs to view object informations.

Parameters
BonPrelevement$objectMember
int$nbOfInvoicesNo of invoices
int$nbOfSalaryInvoiceNo of salary invoices
Returns
array head

Definition at line 127 of file prelevement.lib.php.

References complete_head_from_modules().

◆ prelevement_check_config()

prelevement_check_config ( $type = 'direct-debit')

Check need data to create standigns orders receipt file.

Parameters
string$type'bank-transfer' or 'direct-debit'
Returns
int -1 if ko 0 if ok

Definition at line 96 of file prelevement.lib.php.

References getDolGlobalString().

◆ prelevement_prepare_head()

prelevement_prepare_head ( BonPrelevement $object)

Prepare array with list of tabs.

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

Definition at line 34 of file prelevement.lib.php.

References complete_head_from_modules().