]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Изменение полей
authorvladfo <fvv2011@gmail.com>
Wed, 16 Oct 2024 06:54:20 +0000 (09:54 +0300)
committervladfo <fvv2011@gmail.com>
Wed, 16 Oct 2024 06:54:20 +0000 (09:54 +0300)
erp24/views/crud/cluster-admin/_form.php

index 61216e35577899a3cc8d995ddc128b12ff7efd09..bab10567043633edf313d89c1aea5a27c9e60c46 100644 (file)
@@ -49,7 +49,7 @@ use yii_app\records\Cluster;
         'value' => date('Y-m-d'),
     ]) ?>
 
-    <?= $form->field($model, 'date_end')->input('date') ?>
+    <?= $form->field($model, 'date_end')->input('date', ['value' => date('Y-m-d', strtotime('2100-01-01')) ]) ?>
 
     <div class="form-group">
         <?= Html::submitButton('Сохранить', ['class' => 'btn btn-success']) ?>