['enctype'=>'multipart/form-data']]); ?>
= $form->field($model, 'serialize_data')->hiddenInput(['id' => 'serialize_data'])->label(false) ?>
= $form->field($model, 'user_id')->hiddenInput(['value' => Yii::$app->user->identity->id])->label(false) ?>
= ButtonGroupInput::widget([
'name' => 'time_cont',
'items' => [
'00:05' => Yii::t('app', '5 хвилин'),
'00:10' => Yii::t('app', '10 хвилин')
],
'value' => '00:05',
]); ?>
= ButtonGroupInput::widget([
'name' => 'type',
'items' => [
'1' => Yii::t('app', 'Підвищення'),
'2' => Yii::t('app', 'Голландський'),
'3' => Yii::t('app', 'Банкрутство'),
],
'value' => 1,
]); ?>
= DateTimePicker::widget([
'layout' => '{picker}{input}',
'value' => isset($model->auction->date_stop) ? $model->auction->date_stop : date('Y-m-d H:i', time() + 360),
'name' => 'date_stop',
'id' => 'date_stop',
'options' => ['placeholder' => Yii::t('app', 'DateStop ID')],
'pluginOptions' => [
'autoclose' => true,
'format' => 'yyyy-mm-dd hh:ii',
],
]); ?>
= DetailView::widget([
'options' => [
'class' => 'table table-striped table-bordered detail-view circle_down'
],
'model' => $model,
'attributes' =>
[
[
'label' => Yii::t('app', 'Circle ID'),
'value' => Html::tag('span', 'кроки 0, час 00:00:00', ['class' => 'lead','id'=>'lead']) . " " . $time_change,
'format' => 'raw',
],
],
]); ?>
= $form->field($model, 'aukname')->textInput(['maxlength' => true]) ?>
allRequisites; ?>
= Yii::t('app', 'noRequisites ID')?>
= $form->field($model, 'requisites_id')->dropdownList($requisites) ?>
= Html::button(Yii::t('app', 'Create Requisites'), ['value' => Url::to('/requisites/create-ajax'), 'class' => 'btn btn-success btn-block', 'id' => 'modalButton']) ;?>
= $form->field($files, 'project_dogovor')->widget(FileInput::classname(), [
'model' => $files,
'pluginOptions' => [
//'allowedFileExtensions'=>['doc','docx','pdf', 'png', ],
'initialCaption'=>'*.doc *.docx *.pdf *.png *.jpg *.tiff, *.zip *rar',
'showPreview' => false,
'showCaption' => true,
'showRemove' => true,
'showUpload' => false
],
'options' => ['multiple' => false,],
])->label(Yii::t('app','ProjectDogovor ID')); ?>
= $form->field($model, 'bidding_date')->widget(DateTimePicker::className(),[
'name' => 'bidding_date',
'type' => DateTimePicker::TYPE_COMPONENT_PREPEND,
'value' => date("dd-M-yyyy hh:ii"),
//'options' => ['placeholder' => Yii::t('app','')],
'pluginOptions' => [
'autoclose'=>true,
'format' => 'yyyy-mm-dd hh:ii'
]
]) ?>
= $form->field($model, 'auction_date')->widget(DateTimePicker::className(),[
'name' => 'auction_date',
'type' => DateTimePicker::TYPE_COMPONENT_PREPEND,
'value' => date("dd-M-yyyy hh:ii"),
'options' => ['placeholder' => Yii::t('app','CreateAukDate ID')],
'pluginOptions' => [
'autoclose'=>true,
'format' => 'yyyy-mm-dd hh:ii'
]
]) ?>
field($model, 'aukname')->dropDownList(ArrayHelper::map(\app\models\Auclots::find()
->where(['user_id' => Yii::$app->user->identity->id])->orderBy('id DESC')->all(), 'name', 'name'))*/ ?>
= $form->field($model, 'num')->textInput(['maxlength' => 255])->label(Yii::t('app','AucNumber ID')) ?>
= $form->field($model, 'category_id')->dropDownList(ArrayHelper::map(Category::find()->all(), 'id', 'name')) ?>
= $form->field($model, 'name')->textInput(['maxlength' => 255])->label(Yii::t('app','LotName ID')) ?>
= $form->field($model, 'description')->textarea(['maxlength' => 15000, 'rows' => 6, 'cols' => 50]) ?>
= Html::activeInput('number', $model, 'count', [
'class' => 'form-control',
'id' => 'count-input',
'min' => 1,
'max' => 99999999999999999999999,
'step' => 1,
'readonly' => 'readonly',
]); ?>
= $form->field($model, 'price_per_one', ['inputOptions' => ['readonly' => 'readonly', 'class' => 'form-control']])->label(Yii::t('app', 'Ціна за одиницю')); ?>
= Html::activeDropDownList($model, 'unitId', ArrayHelper::merge(['' => Yii::t('app', 'Оберіть')], ArrayHelper::map(Units::find()->all(), 'id', 'name')), [
'class' => 'form-control',
'readonly' => 'readonly',
]); ?>
= $form->field($model, 'start_price')->textInput()->label(Yii::t('app', 'Загальна віртість')) ?>
= Html::tag('label', Yii::t('app', 'Download'), ['class' => 'control-label']);
echo FileInput::widget([
'model' => new \app\models\Lots,
'attribute' => 'files[]',
'options' => [
'multiple' => true,
],
'pluginOptions' => [
'showPreview' => true,
'showRemove' => true,
'showUpload' => false,
'showCaption' => true,
],
]);?>
= $form->field($model, 'nds')->checkbox(['checked ' => true]) ?>
= $form->field($model, 'step')->textInput(['maxlength' => true]) ?>
= $form->field($files, 'file[]')->widget(FileInput::classname(), [
'model' => $files,
'pluginOptions' => [
//'allowedFileExtensions'=>['doc','docx','pdf'],
'initialCaption'=>'*.doc, *.docx, *.pdf *.png *.jpg *.tiff *.zip *.rar',
'showPreview' => true,
'showCaption' => true,
'showRemove' => true,
'showUpload' => false,
'maxFileCount' => 10,
],
'options' => [
'multiple' => true,
],
])->label(Yii::t('app','DopDocumentation ID')); ?>
= $form->field($model, 'payment_term')->textInput(['maxlength' => true]) ?>
= $form->field($model, 'member_require')->textarea(/*['maxlength' => 5000, 'rows' => 50, 'cols' => 100]*/) ?>
= $form->field($model, 'term_procedure')->textInput(['maxlength' => true]) ?>
= $form->field($model, 'address')->textInput(['maxlength' => true]) ?>
= $form->field($model, 'notes')->textarea(['maxlength' => 15000, 'rows' => 6, 'cols' => 50]) ?>
= $form->field($model, 'date')->hiddenInput(['value' => date('Y-m-d H:i:s')])->label(false); ?>
= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create ID') : Yii::t('app', 'Update ID'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>