dolibarr  20.0.0-alpha
Functions
order.lib.php File Reference

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. More...
 
 order_admin_prepare_head ()
 Return array head with list of tabs to view object information. More...
 
 getCustomerOrderPieChart ($socid=0)
 Return a HTML table that contains a pie chart of sales orders. More...
 

Detailed Description

Ensemble de functions de base pour le module commande.

Definition in file order.lib.php.

Function Documentation

◆ commande_prepare_head()

commande_prepare_head ( Commande  $object)

Prepare array with list of tabs.

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

Definition at line 34 of file order.lib.php.

◆ getCustomerOrderPieChart()

getCustomerOrderPieChart (   $socid = 0)

Return a HTML table that contains a pie chart of sales orders.

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 227 of file order.lib.php.

◆ order_admin_prepare_head()

order_admin_prepare_head ( )

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

Returns
array head array with tabs

Definition at line 178 of file order.lib.php.