FIX check verif exped on delete order
This commit is contained in:
parent
d045dca003
commit
6c7a5cebdf
@ -3126,6 +3126,7 @@ class Commande extends CommonOrder
|
|||||||
if ($result < 0) $error++;
|
if ($result < 0) $error++;
|
||||||
// End call triggers
|
// End call triggers
|
||||||
}
|
}
|
||||||
|
if($this->nb_expedition()!=0)$error++;
|
||||||
|
|
||||||
//TODO: Check for error after each action. If one failed we rollback, don't waste time to do action if previous fail
|
//TODO: Check for error after each action. If one failed we rollback, don't waste time to do action if previous fail
|
||||||
if (! $error)
|
if (! $error)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user