dolibarr 21.0.0-alpha
|
Ensemble de functions de base pour le module commande. More...
Go to the source code of this file.
Functions | |
commande_prepare_head (Commande $object) | |
Prepare array with list of tabs. | |
order_admin_prepare_head () | |
Return array head with list of tabs to view object information. | |
getCustomerOrderPieChart ($socid=0) | |
Return a HTML table that contains a pie chart of sales orders. | |
Ensemble de functions de base pour le module commande.
Definition in file order.lib.php.
commande_prepare_head | ( | Commande | $object | ) |
Prepare array with list of tabs.
Commande | $object | Object related to tabs |
Definition at line 35 of file order.lib.php.
References $object, complete_head_from_modules(), Link\count(), dol_dir_list(), dol_getcache(), dol_sanitizeFileName(), dol_setcache(), dol_syslog(), getDolGlobalInt(), and getDolGlobalString().
getCustomerOrderPieChart | ( | $socid = 0 | ) |
Return a HTML table that contains a pie chart of sales orders.
int | $socid | (Optional) Show only results from the customer with this id |
Definition at line 228 of file order.lib.php.
References dol_print_error(), Commande\STATUS_CANCELED, Commande\STATUS_CLOSED, Commande\STATUS_DRAFT, Commande\STATUS_SHIPMENTONPROCESS, and Commande\STATUS_VALIDATED.
order_admin_prepare_head | ( | ) |
Return array head with list of tabs to view object information.
Definition at line 179 of file order.lib.php.
References complete_head_from_modules().