From 2e4d0011c4eeb48232f47cca643df9ade865ff9b Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Tue, 5 Aug 2025 17:45:37 +0300 Subject: [PATCH] =?utf8?q?=D0=9C=D0=B5=D0=BD=D1=8F=D0=B5=D0=BC=20=D0=BF?= =?utf8?q?=D0=BE=D0=BB=D0=B5=20date=5Fend=20=D0=BD=D0=B0=20date=5Fto?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/products1c-nomenclature-actuality/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/views/products1c-nomenclature-actuality/index.php b/erp24/views/products1c-nomenclature-actuality/index.php index 8774a8f8..f0ae525e 100644 --- a/erp24/views/products1c-nomenclature-actuality/index.php +++ b/erp24/views/products1c-nomenclature-actuality/index.php @@ -248,7 +248,7 @@ $months = monthList(); 'value' => function ($m, $k, $i) use ($months) { $active = $m->getActiveActuality()->one(); $from = $active ? (new \DateTime($active->date_from))->format('Y-m') : null; - $to = $active ? (new \DateTime($active->date_end))->format('Y-m') : null; + $to = $active ? (new \DateTime($active->date_to))->format('Y-m') : null; return Html::hiddenInput("actuality[$i][guid]", $m->id) . Html::tag('div', Html::dropDownList("actuality[$i][from]", $from, $months, [ -- 2.39.5