mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
@@ -343,8 +343,9 @@ class InterfaceWorkflowManager extends DolibarrTriggers
|
|||||||
if (is_array($order->linkedObjects) && count($order->linkedObjects) > 0) {
|
if (is_array($order->linkedObjects) && count($order->linkedObjects) > 0) {
|
||||||
foreach ($order->linkedObjects as $type => $shipping_array) {
|
foreach ($order->linkedObjects as $type => $shipping_array) {
|
||||||
if ($type == 'shipping' && is_array($shipping_array) && count($shipping_array) > 0) {
|
if ($type == 'shipping' && is_array($shipping_array) && count($shipping_array) > 0) {
|
||||||
|
/** @var Expedition[] $shipping_array */
|
||||||
foreach ($shipping_array as $shipping) {
|
foreach ($shipping_array as $shipping) {
|
||||||
if ($shipping->statut <= 0) {
|
if ($shipping->status <= 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (is_array($shipping->lines) && count($shipping->lines) > 0) {
|
if (is_array($shipping->lines) && count($shipping->lines) > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user