dolibarr 20.0.0
prelevement.lib.php File Reference

Ensemble de functions 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 information.
 

Detailed Description

Ensemble de functions 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 information.

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 $object, and 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 $object, and complete_head_from_modules().