From 2b820829c72b20ab091a29106eb4da7615adc711 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 25 Jun 2025 14:04:21 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B8=20?= =?utf8?q?=D1=81=D1=80=D0=B0=D0=B2=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=80?= =?utf8?q?=D0=B0=D1=81=D1=87=D0=B5=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/AutoPlannogrammaService.php | 2 +- erp24/views/category-plan/index.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/erp24/services/AutoPlannogrammaService.php b/erp24/services/AutoPlannogrammaService.php index db390ec9..4977154e 100644 --- a/erp24/services/AutoPlannogrammaService.php +++ b/erp24/services/AutoPlannogrammaService.php @@ -83,7 +83,7 @@ class AutoPlannogrammaService // Подготовка весов по месяцам $date = new \DateTime($dateFrom); - $month3 = $date->modify('-3 month')->format('Y-m');// ближний (вес 3) + $month3 = $date->modify('-2 month')->format('Y-m');// ближний (вес 3) $month2 = $date->modify('-1 month')->format('Y-m'); $month1 = $date->modify('-1 month')->format('Y-m'); // дальний (вес 1) diff --git a/erp24/views/category-plan/index.php b/erp24/views/category-plan/index.php index 59f6c393..aff8ac2f 100644 --- a/erp24/views/category-plan/index.php +++ b/erp24/views/category-plan/index.php @@ -215,20 +215,20 @@ input[readonly] { data-offline="" data-offline-type=""> 'number', 'style' => 'max-width: 80px;', 'readonly' => !$isEditable, 'onchange' => 'editProcent(this);']) ?>% 'number', 'readonly' => true, ]) ?> data-online="" data-online-type=""> 'number', 'style' => 'max-width: 80px;', 'readonly' => !$isEditable, 'onchange' => 'editProcent(this);']) ?>% 'number', 'readonly' => true, ]) ?> ?> data-writeoffs="" data-writeoffs-type=""> 'number', 'style' => 'max-width: 80px;', 'readonly' => !$isEditable, 'onchange' => 'editProcent(this);']) ?>% 'number', 'readonly' => true, ]) ?> -- 2.39.5