mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix shipping is not a delivery_note (sub module of shipping)
This commit is contained in:
@@ -3825,7 +3825,7 @@ class Commande extends CommonOrder
|
||||
|
||||
$result = '';
|
||||
|
||||
if (isModEnabled("delivery_note") && ($option == '1' || $option == '2')) {
|
||||
if (isModEnabled("shipping") && ($option == '1' || $option == '2')) {
|
||||
$url = DOL_URL_ROOT.'/expedition/shipment.php?id='.$this->id;
|
||||
} else {
|
||||
$url = DOL_URL_ROOT.'/commande/card.php?id='.$this->id;
|
||||
|
||||
Reference in New Issue
Block a user