本文整理汇总了PHP中kartik\widgets\DatePicker类的典型用法代码示例。如果您正苦于以下问题:PHP DatePicker类的具体用法?PHP DatePicker怎么用?PHP DatePicker使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了DatePicker类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: genField
private function genField($name, $setting, $options)
{
if (preg_match("/number|string/i", $setting->type)) {
return Html::textInput($name, $setting->value, $options);
} elseif (preg_match("/text/i", $setting->type)) {
return Html::textArea($name, $setting->value, $options);
} elseif (preg_match("/bool/i", $setting->type)) {
return Html::checkBox($name, $setting->value, array_merge($options, $this->checkboxOptions, ['template' => '']));
} elseif (preg_match("/dropdown/i", $setting->type)) {
$data = @unserialize($setting->options);
$data = is_array($data) ? $data : [];
return Html::dropDownList($name, $setting->value, $data, $options);
} elseif (preg_match("/radiolist/i", $setting->type)) {
$data = @unserialize($setting->options);
$data = is_array($data) ? $data : [];
$template = $this->radioTemplate;
$this->radioOptions['item'] = !$this->radioCallback ? function ($index, $label, $name, $checked, $value) use($template) {
return strtr($template, ['{input}' => Html::radio($name, $checked, ['value' => $value]), '{labelText}' => $label]);
} : $this->radioCallback;
return Html::radioList($name, $setting->value, $data, array_merge($options, $this->radioOptions));
} elseif (preg_match("/{dateradiolist}/i", $setting->type)) {
$data = @unserialize($setting->options);
$data = is_array($data) ? $data : [];
$template = $this->radioTemplate;
$this->radioOptions['item'] = function ($index, $label, $name, $checked, $value) use($template) {
return strtr($template, ['{input}' => Html::radio($name, $checked, ['value' => $value]), '{labelText}' => date($value, time())]);
};
return Html::radioList($name, $setting->value, array_combine($data, $data), array_merge($options, $this->radioOptions));
} elseif (preg_match("/timezone/i", $setting->type)) {
return Html::dropDownList($name, $setting->value, $this->getTimezones(), $options);
} elseif (preg_match("/date/i", $setting->type)) {
return DatePicker::widget(['name' => $name, 'type' => DatePicker::TYPE_INPUT, 'value' => date('d-m-Y', strtotime($setting->value)), 'pluginOptions' => ['autoclose' => true, 'format' => 'dd-M-yyyy']]);
} else {
return Html::textArea($name, $setting->value, $options);
}
}
示例2: JsExpression
?>
<?php
$template = '<div><p class="nikkes">{{value}}</p></div>';
echo $form->field($model, 'nikkes')->widget(Typeahead::classname(), ['options' => ['placeholder' => 'Ketik NIKKES yang diinginkan'], 'pluginOptions' => ['highlight' => true], 'dataset' => [['datumTokenizer' => "Bloodhound.tokenizers.obj.whitespace('value')", 'display' => 'value', 'templates' => ['notFound' => '<div class="text-danger" style="padding:0 8px"> Nikkes tidak terdaftar </div>', 'suggestion' => new JsExpression("Handlebars.compile('{$template}')")], 'remote' => ['url' => Url::to(['peserta/get-nikkes-list']) . '?q=%QUERY', 'wildcard' => '%QUERY'], 'limit' => 10]]]);
?>
<?php
echo $form->field($model, 'hak_kacamata_id')->widget(Select2::classname(), ['data' => $model->hakkacamataList, 'options' => ['placeholder' => 'Please Choose One', 'disabled' => true], 'pluginOptions' => ['allowClear' => true]]);
?>
<?php
echo $form->field($model, 'tgl_ambil')->widget(\kartik\widgets\DatePicker::classname(), ['options' => ['placeholder' => 'Choose Tanggal Pengambilan'], 'type' => \kartik\widgets\DatePicker::TYPE_COMPONENT_APPEND, 'pluginOptions' => ['autoclose' => true, 'format' => 'dd-M-yyyy']]);
?>
<div class="form-group">
<?php
echo Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
</div>
<?php
ActiveForm::end();
?>
</div>
示例3:
?>
<?php
echo $profile->profile_image . '<br>';
//echo $form->field($profile, 'profile_image');
echo $form->field($profile, 'profile_image')->widget(NewWidget::className(), ['uploadUrl' => Url::toRoute(['/user/user-profile/uploadphoto']), 'previewUrl' => $profile->module->ProfileImagePathPreview, 'tempPreviewUrl' => $profile->module->ProfileImageTempPathPreview, 'width' => 200, 'height' => 200]);
?>
<?php
echo $form->field($profile, 'first_name');
?>
<?php
echo $form->field($profile, 'last_name');
?>
<?php
echo $form->field($profile, 'gender')->dropDownList(['1' => 'Male', '2' => 'Female']);
?>
<?php
echo $form->field($profile, 'birth_date')->widget(DatePicker::classname(), ['options' => ['placeholder' => 'Enter birth date ...'], 'pluginOptions' => ['autoclose' => true, 'format' => 'yyyy/mm/dd']]);
?>
<div class="form-group">
<?php
echo Html::submitButton('Update', ['class' => 'btn btn-primary']);
?>
</div>
<?php
ActiveForm::end();
?>
</div>
</div>
示例4: isset
?>
<?php
echo $form->field($model, 'country', ['template' => '{label} <div class="row"><div class="col-xs-10">{input}{error}{hint}</div></div>'])->dropDownList(ArrayHelper::map(Countries::find()->orderBy('country', 'asc')->all(), 'id', 'country'), ['prompt' => '---Выберите страну---']);
?>
<?php
echo $form->field($model, 'num_tours', ['template' => '{label} <div class="row"><div class="col-xs-5 col-sm-3">{input}{error}{hint}</div></div>'])->textInput();
?>
<?php
echo $form->field($model, 'startsOn', ['template' => '{label} <div class="row"><div class="col-xs-12 col-sm-8">{input}{error}{hint}</div></div>'])->widget(DatePicker::className(), ['removeButton' => false, 'pluginOptions' => ['autoclose' => true, 'format' => 'dd.mm.yyyy', 'todayHighlight' => true], 'options' => ['value' => isset($model->startsOn) ? date('d.m.Y', $model->startsOn) : '']]);
?>
<?php
echo $form->field($model, 'wfDueTo', ['template' => '{label} <div class="row"><div class="col-xs-12 col-sm-8">{input}{error}{hint}</div></div>'])->widget(DatePicker::className(), ['removeButton' => false, 'pluginOptions' => ['autoclose' => true, 'format' => 'dd.mm.yyyy', 'todayHighlight' => true], 'options' => ['value' => isset($model->wfDueTo) ? date('d.m.Y', $model->wfDueTo) : '']]);
?>
<?php
echo $form->field($model, 'is_active', ['template' => '{label} <div class="row"><div class="col-xs-8">{input}{error}{hint}</div></div>'])->dropDownList($model::statuses(), ['prompt' => '---Статус---']);
?>
<?php
echo $form->field($model, 'enableAutoprocess')->checkbox();
?>
<?php
echo $form->field($model, 'autoProcessURL')->input('text');
?>
<div class="form-group">
示例5:
// 'data' => $dropparentkategori
// ]);
//
// echo $form->field($model, 'CUST_KTG')->widget(DepDrop::classname(), [
// 'options' => [//'id'=>'customers-cust_ktg',
// 'placeholder' => 'Select Customers kategory'],
// 'type' => DepDrop::TYPE_SELECT2,
// 'select2Options'=>['pluginOptions'=>['allowClear'=>true]],
// 'pluginOptions'=>[
// 'depends'=>['customers-cust_type'],
// 'url' => Url::to(['/master/customers/lisdata']),
// 'loadingText' => 'Loading data ...',
// ]
// ]);
echo $form->field($model, 'PIC', $config)->widget(LabelInPlace::classname());
echo $form->field($model, 'JOIN_DATE')->widget(DatePicker::classname(), ['options' => ['placeholder' => 'Dari ...'], 'pluginOptions' => ['autoclose' => true, 'format' => 'dd-mm-yyyy'], 'pluginEvents' => ['show' => "function(e) {errror}"]]);
// echo $form->field($model, 'KD_DISTRIBUTOR')->widget(Select2::classname(), [
// 'data' => $dropdis,
// 'options' => [
// 'placeholder' => 'Pilih Distributor ...'],
// 'pluginOptions' => [
// 'allowClear' => true
// ],
//
// ]);
if (!$model->isNewRecord) {
echo $form->field($model, 'STATUS')->dropDownList(['' => ' -- Silahkan Pilih --', '0' => 'Tidak Aktif', '1' => 'Aktif']);
}
?>
<div class="form-group">
示例6: array
'name'=>'date_range',
'id'=>'id_date_range',
'language'=>'zh',
'convertFormat'=>true,
'pluginOptions'=>[
'timePicker'=>false,
// 'timePickerIncrement'=>30,
// 'format'=>'Y-m-d h:i A'
'format'=>'Y-m-d',
'separator'=>'_'
]
]);
*/
if (empty($cur_date)) {
echo '<label class="control-label">请输入时间范围</label>';
echo DatePicker::widget(['name' => 'date_start', 'value' => $date_start, 'options' => ['id' => 'id_date_start'], 'type' => DatePicker::TYPE_RANGE, 'name2' => 'date_end', 'value2' => $date_end, 'options2' => ['id' => 'id_date_end'], 'pluginOptions' => ['autoclose' => true, 'format' => 'yyyy-mm-dd', 'language' => 'zh-CN']]);
}
?>
</p>
<?php
echo GridView::widget(['dataProvider' => $dataProvider, 'filterSelector' => '#id_date_start, #id_date_end', 'filterModel' => $filter, 'options' => ['class' => 'table-responsive'], 'tableOptions' => ['class' => 'table table-striped'], 'columns' => [['label' => '渠道编号', 'attribute' => 'id', 'headerOptions' => array('style' => 'width:15%;'), 'filter' => true, 'visible' => false], ['label' => '渠道名称', 'attribute' => 'title', 'headerOptions' => array('style' => 'width:25%;')], ['label' => '渠道推广数量', 'attribute' => 'cnt_sum', 'headerOptions' => array('style' => 'width:20%;')]], 'bordered' => false, 'export' => false, 'panel' => ['heading' => "<h3 class=\"panel-title\"> </h3>", 'type' => 'default', 'before' => Html::a('下载 <i class="glyphicon glyphicon-arrow-down"></i>', Url::to() . '&channelscoretopxdownload=1', ['class' => 'btn btn-success']), 'showFooter' => false]]);
?>
</div>
<?php
/*
[
'label' => '渠道类别',
'attribute' => 'cat',
示例7:
?>
<?php
echo $form->field($model, 'pontodereferencia')->textInput(['maxlength' => true]);
?>
<?php
echo $form->field($model, 'sexo')->textInput(['maxlength' => true]);
?>
<?php
echo $form->field($model, 'bairro_id')->dropDownList(ArrayHelper::map(\frontend\models\Bairro::find()->orderBy(['nome' => SORT_ASC])->all(), 'id', 'nome'), ['prompt' => 'Selecione']);
?>
<?php
echo $form->field($model, 'datanascimento')->widget(DatePicker::classname(), ['options' => ['placeholder' => 'Coloque a data...'], 'pluginOptions' => ['autoclose' => true, 'format' => 'yyyy-mm-dd']]);
?>
<?php
echo $form->field($model, 'rg')->textInput(['maxlength' => true]);
?>
<?php
echo $form->field($model, 'telefone')->textInput(['maxlength' => true]);
?>
<?php
echo $form->field($model, 'endereco')->textInput(['maxlength' => true]);
?>
<?php
示例8:
<?php
echo $form->field($model, 'PRINCIPAL_KD')->widget(Select2::classname(), ['options' => ['placeholder' => 'Select Nama Principal ...'], 'data' => $data_corp]);
?>
<?php
echo $form->field($model, 'DIST_KD')->widget(Select2::classname(), ['options' => ['placeholder' => 'Select Nama Distributor ...'], 'data' => $data_distributor]);
?>
<?php
echo $form->field($model, 'PERIOD_START')->widget(DatePicker::classname(), ['options' => ['placeholder' => 'Tgl Term Dibuat'], 'pluginOptions' => ['todayHighlight' => true, 'autoclose' => true, 'format' => 'yyyy-m-dd'], 'pluginEvents' => ['show' => "function(e) {show}"]]);
?>
<?php
echo $form->field($model, 'PERIOD_END')->widget(DatePicker::classname(), ['options' => ['placeholder' => 'Tgl Term Berakhir'], 'pluginOptions' => ['todayHighlight' => true, 'autoclose' => true, 'format' => 'yyyy-m-dd'], 'pluginEvents' => ['show' => "function(e) {show}"]]);
?>
<?php
echo $form->field($model, 'BUDGET_AWAL')->widget(MaskMoney::classname(), ['pluginOptions' => ['allowNegative' => false]]);
?>
<?php
if (!$model->IsNewRecord) {
echo $form->field($model, 'STATUS')->dropDownList(['' => ' -- Silahkan Pilih --', '0' => 'Tidak Aktif', '1' => 'Aktif']);
}
?>
<div class="form-group">
<?php
示例9:
echo Html::activeDropDownList($model, "[{$num}]tipDokumenta", TipDokumentaObObrazovanii::namesMap(), ['class' => 'form-control']);
echo Html::tag('div', $model->getFirstError('tipDokumenta'), ['class' => 'help-block']);
echo '</div>';
echo '<div class="col-md-4 no-right-padding ' . (($model->hasErrors('kvalifikaciyaId') or $model->hasErrors('kvalifikaciyaNazvanie')) ? 'has-error' : '') . '">';
echo Select3::widget(['model' => $model, 'attribute' => "[{$num}]kvalifikaciyaId", 'secondAttribute' => "[{$num}]kvalifikaciyaNazvanie", 'data' => $kvalifikaciya, 'placeholder' => 'Выберите квалификацию', 'secondPlaceholder' => 'Введите наименование квалификации']);
echo '</div>';
echo '<div class="col-md-3 no-left-padding field-seriya ' . ($model->hasErrors('seriya') ? 'has-error' : '') . '">';
echo Html::activeLabel($model, "[{$num}]seriya");
echo Html::activeTextInput($model, "[{$num}]seriya", ['class' => 'form-control', 'placeholder' => '', 'maxlength' => 40]);
echo Html::tag('div', $model->getFirstError('seriya'), ['class' => 'help-block']);
echo '</div>';
echo '<div class="col-md-3 ' . ($model->hasErrors('nomer') ? 'has-error' : '') . '">';
echo Html::activeLabel($model, "[{$num}]nomer");
echo Html::activeTextInput($model, "[{$num}]nomer", ['class' => 'form-control', 'maxlength' => 40]);
echo Html::tag('div', $model->getFirstError('nomer'), ['class' => 'help-block']);
echo '</div>';
echo '<div class="col-md-3 ' . ($model->hasErrors('dataVidachi') ? 'has-error' : '') . '">';
echo Html::activeLabel($model, '[{$num}]dataVidachi');
echo DatePicker::widget(['model' => $model, 'attribute' => "[{$num}]dataVidachi", 'language' => 'ru', 'type' => DatePicker::TYPE_COMPONENT_PREPEND, 'pluginOptions' => ['autoclose' => true, 'format' => 'dd.mm.yyyy'], 'options' => ['placeholder' => 'Выберите дату выдачи']]);
echo Html::tag('div', $model->getFirstError('dataVidachi'), ['class' => 'help-block']);
echo '</div>';
echo '<div class="col-md-3 no-right-padding ' . ($model->hasErrors('documentKopiya') ? 'has-error' : '') . '">';
echo Html::activeLabel($model, "[{$num}]documentKopiya");
echo \app\widgets\Files2Widget::widget(['model' => $model, 'attribute' => "[{$num}]documentKopiya"]);
echo Html::tag('div', $model->getFirstError('documentKopiya'), ['class' => 'help-block']);
echo Html::activeHiddenInput($model, "[{$num}]udalit", ['class' => 'udalit_input']);
echo '</div>';
//panel-body end
echo '</div>';
//panel end
echo '</div>';
示例10: function
// echo $this->render('_search', ['model' => $searchModel]);
?>
<p>
<?php
echo Html::a(Yii::t('app', 'เพิ่มรายการกิจกรรม'), ['create'], ['class' => 'btn btn-success']);
?>
</p>
<?php
echo GridView::widget(['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'rowOptions' => function ($model) {
if ($model->patient_flag == 1) {
return ['class' => 'info'];
} else {
return [];
}
}, 'columns' => [['class' => 'yii\\grid\\SerialColumn'], ['attribute' => 'date', 'value' => 'date', 'options' => ['class' => 'col-md-3'], 'filter' => DatePicker::widget(['model' => $searchModel, 'attribute' => 'date', 'language' => 'th', 'options' => ['placeholder' => 'เลือกวันที่'], 'pluginOptions' => ['format' => 'yyyy-mm-dd', 'todayHighlight' => true, 'autoclose' => true]]), 'format' => 'html'], ['attribute' => 'period', 'filter' => NurseEvent::itemAlias('shift'), 'value' => function ($model) {
return $model->shiftName;
}], ['value' => function ($model) {
return Html::a('เพิ่มข้อมูลผู้ป่วย', ['nurse-patient/create', 'event_ref' => $model->ref], ['class' => 'btn btn-default btn-block']);
}, 'format' => 'html'], ['value' => function ($model) {
return Html::a('เพิ่มข้อมูล Staff Mix', ['nurse-staffevent/create', 'event_ref' => $model->ref], ['class' => 'btn btn-default btn-block']);
}, 'format' => 'html'], ['value' => function ($model) {
return Html::a('พิมพ์ใบมอบหมายงาน', ['nurse-patient/assign-report', 'event_ref' => $model->ref], ['target' => '_blank', 'class' => 'btn btn-primary btn-block']);
}, 'format' => 'raw'], ['value' => function ($model) {
return Html::a('พิมพ์ใบรายชื่อผู้ป่วย', ['nurse-patient/daily-report', 'event_ref' => $model->ref], ['target' => '_blank', 'class' => 'btn btn-default btn-block']);
}, 'format' => 'raw'], ['class' => 'yii\\grid\\ActionColumn', 'header' => 'ลบ', 'template' => '{delete}']]]);
?>
</div>
示例11:
<div class="col-lg-6">
<?php
echo $form->field($model, 'created_at_till')->widget(DatePicker::classname(), ['options' => ['placeholder' => ''], 'type' => DatePicker::TYPE_COMPONENT_APPEND, 'pluginOptions' => ['autoclose' => true, 'format' => 'dd.mm.yyyy']]);
?>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<?php
echo $form->field($model, 'updated_at_from')->widget(DatePicker::classname(), ['options' => ['placeholder' => ''], 'type' => DatePicker::TYPE_COMPONENT_APPEND, 'pluginOptions' => ['autoclose' => true, 'format' => 'dd.mm.yyyy']]);
?>
</div>
<div class="col-lg-6">
<?php
echo $form->field($model, 'updated_at_till')->widget(DatePicker::classname(), ['options' => ['placeholder' => ''], 'type' => DatePicker::TYPE_COMPONENT_APPEND, 'pluginOptions' => ['autoclose' => true, 'format' => 'dd.mm.yyyy']]);
?>
</div>
</div>
<div class="form-group row text-center">
<div class="col-lg-12">
<?php
echo Html::submitButton('<i class="glyphicon glyphicon-search"></i> ' . Yii::t('document', 'Найти'), ['class' => 'btn btn-primary btn-lg']);
?>
</div>
</div>
<?php
ActiveForm::end();
示例12: JsExpression
?>
" class="btn btn-default right" style="margin-right:10px;"><i class="glyphicon glyphicon-repeat"></i></a>
<br/>
<br/>
</div>
<div style="clear:both"></div>
<div id="jurnalar">
<?php
$form = ActiveForm::begin(['id' => 'jurnalArForm', 'action' => [''], 'options' => ['target' => '_blank'], 'method' => 'get']);
?>
<?php
echo $form->field($model, 'partner')->widget(Select2::classname(), ['options' => ['placeholder' => 'All Customer ...'], 'pluginOptions' => ['tags' => true, 'allowClear' => true, 'minimumInputLength' => 2, 'ajax' => ['url' => $url, 'dataType' => 'json', 'data' => new JsExpression('function(term,page) { return {search:term}; }'), 'results' => new JsExpression('function(data,page) { return {results:data.results}; }')], 'initSelection' => new JsExpression($initScript)]]);
?>
<br/>
<?php
echo DatePicker::widget(['model' => $model, 'attribute' => 'date_from', 'attribute2' => 'date_to', 'options' => ['placeholder' => 'Start date'], 'options2' => ['placeholder' => 'End date'], 'type' => DatePicker::TYPE_RANGE, 'form' => $form, 'pluginOptions' => ['format' => 'yyyy-MM-dd', 'autoclose' => true, 'startDate' => '01/07/2014'], 'convertFormat' => true]);
?>
<div class="form-group">
<br/>
<?php
echo Html::submitButton('Search', ['class' => 'btn btn-primary']);
?>
</div>
<?php
ActiveForm::end();
?>
</div>
<div style="clear:both"></div>
</div>
示例13: array
<div class="tab-pane active" id="home">
<?php
echo $form->field($model, 'type_id')->radioList(['1' => Yii::t('app', 'Revenue'), '2' => Yii::t('app', 'Expense')], ['itemOptions' => ['class' => 'radio-inline', 'labelOptions' => array('style' => 'padding:5px;')]])->label('');
?>
<div class="row">
<div class="col-sm-2">
<?php
echo $form->field($model, 'account_id')->dropDownList($accountItems);
?>
</div>
</div>
<div class="row">
<div class="col-sm-2">
<?php
echo DatePicker::widget(['model' => $model, 'form' => $form, 'attribute' => 'date', 'type' => DatePicker::TYPE_INPUT, 'size' => 'sm', 'pluginOptions' => ['autoclose' => true, 'todayHighlight' => true, 'format' => 'yyyy-mm-dd']]);
?>
</div>
</div>
<div class="row">
<div class="col-sm-2">
<?php
echo $form->field($model, 'value')->textInput(['size' => 10]);
?>
</div>
</div>
<div class="row">
<div class="col-sm-3">
<?php
示例14:
?>
<?php
echo $form->field($model, 'IS_ACTIVE')->dropDownList(['TRUE' => 'TRUE', 'FALSE' => 'FALSE'], ['prompt' => '']);
?>
<?php
echo $form->field($model, 'EMAIL_ADDRESS')->textInput(['maxlength' => 45]);
?>
<?php
echo $form->field($model, 'PASSWORD')->passwordInput(['maxlength' => 60]);
?>
<?php
echo $form->field($model, 'JOINED_DATE')->widget(DatePicker::classname(), ['options' => ['placeholder' => 'Enter birth date ...'], 'pluginOptions' => ['autoclose' => true, 'format' => 'yyyy-mm-dd']]);
?>
<?php
echo $form->field($model, 'COMPANY_ID')->dropDownList(ArrayHelper::map(COMPANIES::find()->all(), 'COMPANY_ID', 'COMPANY_NAME'), ['prompt' => '-Choose a Company-']);
//This works WITHOUT $model
// Html::dropDownList('COMPANY_ID', null,ArrayHelper::map(COMPANIES::find()->all(), 'COMPANY_ID', 'COMPANY_NAME'),['prompt' => '---- Choose a Company ----']);
//This works with $model, but the CSS is off
// Html::activeDropDownList($model, 'COMPANY_ID',ArrayHelper::map(COMPANIES::find()->all(), 'COMPANY_ID', 'COMPANY_NAME'));
?>
<?php
示例15:
//= $form->field($model, 'created')->textInput()
?>
<?php
//= $form->field($model, 'updated')->textInput()
?>
<table width="100%">
<tr>
<td style="width: 270px; vertical-align: top">
<div>
<label>Плановая дата</label>
<div class="well well-sm" style="background-color: #fff; width:245px;">
<?php
echo DatePicker::widget(['model' => $model, 'attribute' => 'plan_date', 'type' => DatePicker::TYPE_INLINE, 'language' => 'ru', 'pluginOptions' => ['format' => 'yyyy-mm-dd']]);
?>
</div>
</div>
</td>
<td style="vertical-align: top">
<?php
echo $form->field($model, 'client')->dropDownList(Clients::getClients());
?>
<?php
//= $form->field($model, 'client')->textInput(['maxlength' => true])
?>
<?php
//= $form->field($model, 'plan_date')->textInput()
?>