|
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. | |
| shippingSetStandaloneLineSellPrice ($line, $buyer) | |
| Complete a line of a standalone shipment (SHIPMENT_STANDALONE, no source order) before it is copied into an invoice. | |
| 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 240 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 105 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.
| shippingSetStandaloneLineSellPrice | ( | $line, | |
| $buyer ) |
Complete a line of a standalone shipment (SHIPMENT_STANDALONE, no source order) before it is copied into an invoice.
Such a line has no price nor VAT: use the selling price and the default VAT rate of the product for the customer.
| CommonObjectLine | $line | Shipment line, completed in place |
| Societe | $buyer | Customer of the invoice |
Definition at line 80 of file sendings.lib.php.
References $mysoc.