Update shipment.php
This commit is contained in:
parent
a0fe65266a
commit
2cb9dd8bf3
@ -128,6 +128,8 @@ if ($action == 'setwarehouse' && $user->rights->commande->creer) {
|
|||||||
$commande = new Commande($db);
|
$commande = new Commande($db);
|
||||||
$commande->fetch($id);
|
$commande->fetch($id);
|
||||||
$result = $commande->setWarehouse(GETPOST('warehouse_id', 'int'));
|
$result = $commande->setWarehouse(GETPOST('warehouse_id', 'int'));
|
||||||
|
if ($result < 0)
|
||||||
|
setEventMessages($commande->error, $commande->errors, 'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user