dolibarr 21.0.0-alpha
propal.lib.php File Reference

Ensemble de functions de base pour le module propal. More...

Go to the source code of this file.

Functions

 propal_prepare_head ($object)
 Prepare array with list of tabs.
 
 propal_admin_prepare_head ()
 Return array head with list of tabs to view object information.
 
 getCustomerProposalPieChart ($socid=0)
 Return a HTML table that contains a pie chart of customer proposals.
 

Detailed Description

Ensemble de functions de base pour le module propal.

Definition in file propal.lib.php.

Function Documentation

◆ getCustomerProposalPieChart()

getCustomerProposalPieChart ( $socid = 0)

Return a HTML table that contains a pie chart of customer proposals.

Parameters
int$socid(Optional) Show only results from the customer with this id
Returns
string A HTML table that contains a pie chart of customer invoices

Definition at line 212 of file propal.lib.php.

References dol_print_error(), Propal\STATUS_BILLED, Propal\STATUS_DRAFT, Propal\STATUS_NOTSIGNED, Propal\STATUS_SIGNED, and Propal\STATUS_VALIDATED.

◆ propal_admin_prepare_head()

propal_admin_prepare_head ( )

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

Returns
array<array{0:string,1:string,2:string}> head array with tabs

Definition at line 159 of file propal.lib.php.

References complete_head_from_modules().

◆ propal_prepare_head()

propal_prepare_head ( $object)

Prepare array with list of tabs.

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

Definition at line 33 of file propal.lib.php.

References $object, complete_head_from_modules(), Link\count(), dol_dir_list(), dol_getcache(), dol_sanitizeFileName(), dol_setcache(), dol_syslog(), getDolGlobalInt(), and getDolGlobalString().