dolibarr 18.0.6
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 complete_head_from_modules(), Link\count(), dol_dir_list(), dol_sanitizeFileName(), and getDolGlobalInt().

◆ 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 complete_head_from_modules(), Link\count(), dol_dir_list(), dol_sanitizeFileName(), getDolGlobalInt(), 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
Returns
int <0 if KO, >0 if OK

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

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