From 4823ea9a85fc0c27166d63898c678ec93935f50f Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Thu, 31 Jul 2025 13:14:51 +0300 Subject: [PATCH] =?utf8?q?=D0=90=D0=BA=D1=82=D1=83=D0=B0=D0=BB=D1=8C=D0=BD?= =?utf8?q?=D0=BE=D1=81=D1=82=D1=8C=20=D0=B2=20=D0=BF=D0=BB=D0=B0=D0=BD?= =?utf8?q?=D0=BE=D0=B3=D1=80=D0=B0=D0=BC=D0=BC=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/StorePlanService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/services/StorePlanService.php b/erp24/services/StorePlanService.php index 094eb47f..df1fded4 100755 --- a/erp24/services/StorePlanService.php +++ b/erp24/services/StorePlanService.php @@ -349,7 +349,7 @@ class StorePlanService ->leftJoin('products_1c p1', 'p1.id = sp.product_id') ->where(['s.store_id' => $storeId]) ->andWhere(['between', 's.date', $dateStart, $dateEnd]) - ->andWhere(['order_id' => ['', '0']]) + //->andWhere(['order_id' => ['', '0']]) ->andWhere(['p1.components' => '']) ->andWhere(['not in', 'p1c.category', ['', 'сервис']]) ->andFilterWhere(['p1c.category' => $category]) -- 2.39.5