From: Vladimir Fomichev Date: Tue, 5 Aug 2025 14:45:37 +0000 (+0300) Subject: Меняем поле date_end на date_to X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=2e4d0011c4eeb48232f47cca643df9ade865ff9b;p=erp24_rep%2Fyii-erp24%2F.git Меняем поле date_end на date_to --- 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, [