]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Добавляем статусы через отношения
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 13 Oct 2025 06:42:25 +0000 (09:42 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 13 Oct 2025 06:42:25 +0000 (09:42 +0300)
erp24/api2/controllers/OrdersController.php

index 66986f7362e493daa99aa6300541b113e9d86607..2e908738d91cdfe2dd389780646a19d98595efa3 100644 (file)
@@ -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')])