diff --git a/service/app/server/Orders.php b/service/app/server/Orders.php index 447882c8..30d346e9 100644 --- a/service/app/server/Orders.php +++ b/service/app/server/Orders.php @@ -16,7 +16,7 @@ class Orders { // ((os=1 and order_status=3) or (os=2 and order_status=4) or (os=3 and order_status=1)) return $order->os == 1 && $order->order_status == 3 || $order->os == 2 && $order->order_status == 4 - || $order->os == 3 && $order->order_status == 1; + || $order->os == 3 && in_array($order->order_status, [1, 5]); } /**