]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Проверка класс товара
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Fri, 18 Apr 2025 10:00:55 +0000 (13:00 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Fri, 18 Apr 2025 10:00:55 +0000 (13:00 +0300)
erp24/controllers/MarketplaceOrdersController.php

index 60a533abfe03cd28bf26108fd749ccf8e813b48b..cfe16039d60380d411d4444224fa0a86031877d0 100644 (file)
@@ -74,7 +74,7 @@ class MarketplaceOrdersController extends Controller
         $marketplaceClass = ProductsClass::find()
             ->where(['tip' => [ProductsClass::MARKETPLACE]])->one();
         $product = Products1c::find()
-            ->where(['tip' => 'products', 'type' => 'Маркетплейсы'])
+            ->where(['tip' => 'products'])
             ->andWhere(['parent_id' => $marketplaceClass->category_id])
             ->andWhere(['not', ['articule' => null]])
             ->orderBy('RANDOM()')