]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Убрал подстатус из запроса
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 9 Apr 2025 07:46:49 +0000 (10:46 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 9 Apr 2025 07:46:49 +0000 (10:46 +0300)
erp24/api2/controllers/DataController.php

index 8833b5e16d5a186eebfff20cb810f543d6c17dc7..8f74bdaeed19bd6f1b059d317fcb62539c1bb5f7 100644 (file)
@@ -707,13 +707,11 @@ class DataController extends BaseController
     private function getMarketplaceNewOrders(): array {
          $statusId = MarketplaceOrderStatusTypes::find()
              ->where(['code' => 'PROCESSING'])->one()->id;
-        $substatusId = MarketplaceOrderStatusTypes::find()
-            ->where(['code' => 'STARTED'])->one()->id;
+
         $marketplaceOrders = MarketplaceOrders::find()
             ->where([
                 'status_1c' => MarketplaceOrders::STATUSES_1C_CREATED_IN_ERP,
                 'status_id' => $statusId,
-                'substatus_id' => $substatusId,
             ])->andWhere([
                 'between',
                 'creation_date',