From: Vladimir Fomichev Date: Mon, 13 Oct 2025 06:56:25 +0000 (+0300) Subject: Добавляем статусы через отношения X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=36bbb5b8231d5118ff606fdd00b8f8983f862c8f;p=erp24_rep%2Fyii-erp24%2F.git Добавляем статусы через отношения --- diff --git a/erp24/api2/controllers/OrdersController.php b/erp24/api2/controllers/OrdersController.php index 2e908738..8c534c2c 100644 --- a/erp24/api2/controllers/OrdersController.php +++ b/erp24/api2/controllers/OrdersController.php @@ -267,7 +267,7 @@ class OrdersController extends BaseController $result[] = [ 'order_id' => $order->guid, - 'status' => $order->status1C ? $order->status1C->status_id : null, + 'status' => $order->status1c ? $order->status1C->status_id : null, 'items' => $items, ]; }