From: Vladimir Fomichev Date: Mon, 16 Jun 2025 10:38:55 +0000 (+0300) Subject: Метод недельных прогнозов по букетам и группам матриц X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=0e9be9e7c09a1f2cf1bbe4a83b305f87907589b9;p=erp24_rep%2Fyii-erp24%2F.git Метод недельных прогнозов по букетам и группам матриц --- diff --git a/erp24/controllers/AutoPlannogrammaController.php b/erp24/controllers/AutoPlannogrammaController.php index 4a0421fd..20066d0f 100644 --- a/erp24/controllers/AutoPlannogrammaController.php +++ b/erp24/controllers/AutoPlannogrammaController.php @@ -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; }