|
dolibarr 25.0.0-alpha
|
Library for expedition module. More...
Go to the source code of this file.
Functions | |
| shippingGetStandaloneDispatchSourceLine ($object, $sourceLineId, $lineId, $productId) | |
| Resolve a standalone dispatch group from the loaded shipment lines. | |
| shipping_prepare_head ($object) | |
| Prepare array with list of tabs. | |
| delivery_prepare_head ($object) | |
| Prepare array with list of tabs. | |
Library for expedition module.
Definition in file sendings.lib.php.
| delivery_prepare_head | ( | $object | ) |
Prepare array with list of tabs.
| Delivery | $object | Object related to tabs |
Definition at line 214 of file sendings.lib.php.
References $conf, $object, complete_head_from_modules(), Link\count(), dol_dir_list(), dol_getcache(), dol_sanitizeFileName(), dol_setcache(), dol_syslog(), getDolGlobalInt(), getDolGlobalString(), and isModEnabled().
| shipping_prepare_head | ( | $object | ) |
Prepare array with list of tabs.
| Expedition | $object | Object related to tabs |
Definition at line 79 of file sendings.lib.php.
References $conf, $object, complete_head_from_modules(), Link\count(), dol_dir_list(), dol_getcache(), dol_sanitizeFileName(), dol_setcache(), dol_syslog(), getDolGlobalInt(), getDolGlobalString(), isModEnabled(), and Expedition\STATUS_DRAFT.
| shippingGetStandaloneDispatchSourceLine | ( | $object, | |
| $sourceLineId, | |||
| $lineId, | |||
| $productId ) |
Resolve a standalone dispatch group from the loaded shipment lines.
The caller must separately check shipment access and write permissions.
| Expedition | $object | Shipment with its lines loaded |
| int | $sourceLineId | Root shipment line identifying the dispatch group |
| int | $lineId | Existing allocation id, or <= 0 for a new allocation |
| int | $productId | Product submitted for the allocation |
Definition at line 41 of file sendings.lib.php.
References $object, getDolGlobalString(), and Expedition\STATUS_DRAFT.