From 0226d1d70ce60fe6148fa90678a99afbbc68b7ce Mon Sep 17 00:00:00 2001 From: fomichev Date: Fri, 18 Apr 2025 13:00:55 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0?= =?utf8?q?=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81=20=D1=82=D0=BE=D0=B2=D0=B0?= =?utf8?q?=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/controllers/MarketplaceOrdersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/controllers/MarketplaceOrdersController.php b/erp24/controllers/MarketplaceOrdersController.php index 60a533ab..cfe16039 100644 --- a/erp24/controllers/MarketplaceOrdersController.php +++ b/erp24/controllers/MarketplaceOrdersController.php @@ -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()') -- 2.39.5