From: Aleksey Filippov Date: Mon, 8 Dec 2025 10:38:40 +0000 (+0300) Subject: ERP-499 Добавил фильтр в вывод кустов X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=5ba9f4aff6e1f41bad62032441f6ec7085a68242;p=erp24_rep%2Fyii-erp24%2F.git ERP-499 Добавил фильтр в вывод кустов --- diff --git a/erp24/api3/core/services/StoreService.php b/erp24/api3/core/services/StoreService.php index ddc09dc2..6bea7c84 100644 --- a/erp24/api3/core/services/StoreService.php +++ b/erp24/api3/core/services/StoreService.php @@ -302,6 +302,7 @@ class StoreService ->innerJoin("city_store c", "c.id = s.store_id") ->where(['<=', 'date_from', new Expression('NOW()::text')]) ->andWhere(['>=', 'date_to', new Expression('NOW()::text')]) + ->andWhere(['category' => 1]) ->asArray()->all(); $storesPerCluster = [];