mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user