From: Vladimir Fomichev Date: Mon, 13 Oct 2025 06:42:25 +0000 (+0300) Subject: Добавляем статусы через отношения X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=0837f0da4d9f2b87f1e649e1a620bd24c09cb4ae;p=erp24_rep%2Fyii-erp24%2F.git Добавляем статусы через отношения --- diff --git a/erp24/api2/controllers/OrdersController.php b/erp24/api2/controllers/OrdersController.php index 66986f73..2e908738 100644 --- a/erp24/api2/controllers/OrdersController.php +++ b/erp24/api2/controllers/OrdersController.php @@ -242,7 +242,7 @@ class OrdersController extends BaseController $orders = MarketplaceOrders::find() ->with('items') - ->with('status1C') + ->with('status1c') ->where(['store_id' => $storeId]) ->andWhere(['>=', 'creation_date', $startTime->format('Y-m-d H:i:s')]) ->andWhere(['<=', 'creation_date', $currentTime->format('Y-m-d H:i:s')])