dolibarr 19.0.3
propal.lib.php File Reference

Ensemble de fonctions 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 informations.
 
 getCustomerProposalPieChart ($socid=0)
 Return a HTML table that contains a pie chart of customer proposals.
 

Detailed Description

Ensemble de fonctions 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 211 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 informations.

Returns
array head array with tabs

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

References complete_head_from_modules().

◆ propal_prepare_head()

propal_prepare_head ( $object)

Prepare array with list of tabs.

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

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

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