]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Деактивация форм
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Thu, 7 Aug 2025 12:07:18 +0000 (15:07 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Thu, 7 Aug 2025 12:07:18 +0000 (15:07 +0300)
erp24/controllers/Products1cNomenclatureActualityController.php

index c4b330b24e13282d74f117f3b6d1822ba355878b..0b9070d3ac547a0bd9a996061bce347389bf8a6c 100644 (file)
@@ -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,
             ]);
         }