From 74731e6c5f10e12cd12dd59275b00440238196f7 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 17 Jun 2025 10:52:45 +0300 Subject: [PATCH] =?utf8?q?ERP-360=20=D0=A1=D0=B1=D0=BE=D1=80=D0=BA=D0=B0?= =?utf8?q?=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20=D0=B0?= =?utf8?q?=D0=B2=D1=82=D0=BE=D0=BF=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/AutoPlannogrammaService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erp24/services/AutoPlannogrammaService.php b/erp24/services/AutoPlannogrammaService.php index 810fc9b5..9b3cb761 100644 --- a/erp24/services/AutoPlannogrammaService.php +++ b/erp24/services/AutoPlannogrammaService.php @@ -2851,14 +2851,13 @@ class AutoPlannogrammaService $grouped = []; foreach ($weeklyForecasts as $item) { - $weekItem = (int)$item['week']; $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][$type][$group] = $forecastValue; + $grouped[$storeItem][$guid][$type][$group] = $forecastValue; } return $grouped; -- 2.39.5