From: Vladimir Fomichev Date: Thu, 7 Aug 2025 12:07:18 +0000 (+0300) Subject: Деактивация форм X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=450be05f29ee577c34f9f36ee3721f92520c93c5;p=erp24_rep%2Fyii-erp24%2F.git Деактивация форм --- diff --git a/erp24/controllers/Products1cNomenclatureActualityController.php b/erp24/controllers/Products1cNomenclatureActualityController.php index c4b330b2..0b9070d3 100644 --- a/erp24/controllers/Products1cNomenclatureActualityController.php +++ b/erp24/controllers/Products1cNomenclatureActualityController.php @@ -240,7 +240,6 @@ class Products1cNomenclatureActualityController extends Controller ->innerJoin(['p1c' => 'products_1c_nomenclature'], 'p1c.id = sp.product_id') ->andWhere(['between', 's.date', "{$startDate} 00:00:00", "{$endDate} 23:59:59"]) ->groupBy('sp.product_id') - //->having(['=', new \yii\db\Expression('COUNT(DISTINCT s.store_id)'), $countStores]) ->column(); if (empty($productIds)) { @@ -248,6 +247,7 @@ class Products1cNomenclatureActualityController extends Controller return $this->render('add-activity', [ 'historyDays' => $historyDays, 'intervalMonths' => $intervalMonths, + 'startFrom' => $startFrom, ]); }