commit
08258bce30
1 changed files with 2 additions and 1 deletions
|
|
@ -343,8 +343,9 @@ class InterfaceWorkflowManager extends DolibarrTriggers
|
|||
if (is_array($order->linkedObjects) && count($order->linkedObjects) > 0) {
|
||||
foreach ($order->linkedObjects as $type => $shipping_array) {
|
||||
if ($type == 'shipping' && is_array($shipping_array) && count($shipping_array) > 0) {
|
||||
/** @var Expedition[] $shipping_array */
|
||||
foreach ($shipping_array as $shipping) {
|
||||
if ($shipping->statut <= 0) {
|
||||
if ($shipping->status <= 0) {
|
||||
continue;
|
||||
}
|
||||
if (is_array($shipping->lines) && count($shipping->lines) > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue