From 15b29520cee0a6ed3a6c174e16514cb4642a0261 Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Wed, 11 Jun 2025 09:41:26 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?= =?utf8?q?=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/AutoPlannogrammaService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erp24/services/AutoPlannogrammaService.php b/erp24/services/AutoPlannogrammaService.php index 6095c773..ce8d7f7a 100644 --- a/erp24/services/AutoPlannogrammaService.php +++ b/erp24/services/AutoPlannogrammaService.php @@ -973,7 +973,7 @@ class AutoPlannogrammaService ?array $filters = null, string $type = self::TYPE_SALES ): array { - [$yearStr, $monthStr, $_] = explode('-', $monthYear); + [$yearStr, $monthStr, $day] = explode('-', $monthYear); $year = (int)$yearStr; $month = (int)$monthStr; @@ -1302,7 +1302,7 @@ class AutoPlannogrammaService ?array $productFilter = null, string $type = 'sales' ): array { - [$monthStr, $yearStr] = explode('-', $monthYear); + [$yearStr, $monthStr, $day] = explode('-', $monthYear); $month = (int)$monthStr; $year = (int)$yearStr; $yearData = []; @@ -1359,7 +1359,7 @@ class AutoPlannogrammaService foreach ($monthMap as $sid => $byCat) { foreach ($byCat as $cat => $bySub) { foreach ($bySub as $sub => $bySpec) { - foreach ($bySpec as $spec => $_) { + foreach ($bySpec as $spec => $value) { $speciesList[] = compact('sid','cat','sub','spec'); } } -- 2.39.5