dolibarr  7.0.0-beta
Functions
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. More...
 
 delivery_prepare_head ($object)
 Prepare array with list of tabs. More...
 
 show_list_sending_receive ($origin, $origin_id, $filter='')
 List sendings and receive receipts. More...
 

Detailed Description

Library for expedition module.

Definition in file sendings.lib.php.

Function Documentation

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

References complete_head_from_modules().

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().

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

References $form, $resql, dol_htmlentitiesbr(), dol_print_date(), dol_print_error(), dol_syslog(), if, img_object(), load_fiche_titre(), print, and print_date_range().