]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Метод недельных прогнозов по букетам и группам матриц
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 16 Jun 2025 10:38:55 +0000 (13:38 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 16 Jun 2025 10:38:55 +0000 (13:38 +0300)
erp24/controllers/AutoPlannogrammaController.php

index 4a0421fdca12b3137ef488d5f59b9e6b757ca24e..20066d0f6944a86373983736ab1aff542c57a985 100644 (file)
@@ -1773,9 +1773,10 @@ class AutoPlannogrammaController extends BaseController
             $storeItem = (int) $item['store_id'];
             $guid = (string) $item['product_guid'];
             $group = (string) $item['matrix_group'];
+            $type = (string) $item['type'];
             $forecastValue = (float) $item['week_forecast'];
 
-            $grouped[$weekItem][$storeItem][$guid][$group] = $forecastValue;
+            $grouped[$weekItem][$storeItem][$guid][$type][$group] = $forecastValue;
         }