dolibarr 21.0.0-alpha
expensereport.lib.php File Reference

Functions for module expensereport. More...

Go to the source code of this file.

Functions

 expensereport_prepare_head ($object)
 Prepare array with list of tabs.
 
 payment_expensereport_prepare_head (PaymentExpenseReport $object)
 Returns an array with the tabs for the "Expense report payment" section It loads tabs from modules looking for the entity payment.
 
 expensereport_admin_prepare_head ()
 Return array head with list of tabs to view object information.
 

Detailed Description

Functions for module expensereport.

Definition in file expensereport.lib.php.

Function Documentation

◆ expensereport_admin_prepare_head()

expensereport_admin_prepare_head ( )

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

Returns
array<array{0:string,1:string,2:string}> Array of tabs to show

Definition at line 132 of file expensereport.lib.php.

References complete_head_from_modules(), and getDolGlobalString().

◆ expensereport_prepare_head()

expensereport_prepare_head ( $object)

Prepare array with list of tabs.

Parameters
Object$objectObject related to tabs
Returns
array<array{0:string,1:string,2:string}> Array of tabs to show

Definition at line 32 of file expensereport.lib.php.

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

◆ payment_expensereport_prepare_head()

payment_expensereport_prepare_head ( PaymentExpenseReport $object)

Returns an array with the tabs for the "Expense report payment" section It loads tabs from modules looking for the entity payment.

Parameters
PaymentExpenseReport$objectCurrent payment object
Returns
array<array{0:string,1:string,2:string}> Array of tabs to show

Definition at line 99 of file expensereport.lib.php.

References $object, and complete_head_from_modules().