dolibarr 21.0.0-alpha
sendings.lib.php File Reference

Library for expedition module. More...

Go to the source code of this file.

Functions

 shipping_prepare_head ($object)
 Prepare array with list of tabs.
 
 delivery_prepare_head ($object)
 Prepare array with list of tabs.
 
 show_list_sending_receive ($origin, $origin_id, $filter='')
 List sendings and receive receipts.
 

Detailed Description

Library for expedition module.

Definition in file sendings.lib.php.

Function Documentation

◆ delivery_prepare_head()

delivery_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 133 of file sendings.lib.php.

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

◆ shipping_prepare_head()

shipping_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 35 of file sendings.lib.php.

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

◆ show_list_sending_receive()

show_list_sending_receive ( $origin,
$origin_id,
$filter = '' )

List sendings and receive receipts.

Parameters
string$originOrigin ('commande', ...)
int$origin_idOrigin id
string$filterFilter (Do not use a string from a user input)
Returns
int Return integer <0 if KO, >0 if OK

Definition at line 234 of file sendings.lib.php.

References $object, dol_htmlentitiesbr(), dol_print_date(), dol_print_error(), dol_syslog(), getDolGlobalInt(), getDolGlobalString(), GETPOST(), img_object(), load_fiche_titre(), and print_date_range().