From: Vladimir Fomichev Date: Thu, 31 Jul 2025 10:14:51 +0000 (+0300) Subject: Актуальность в планограмме X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=4823ea9a85fc0c27166d63898c678ec93935f50f;p=erp24_rep%2Fyii-erp24%2F.git Актуальность в планограмме --- 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])