['enctype'=>'multipart/form-data']]); ?> field($model, 'user_id')->hiddenInput(['value' => Yii::$app->user->identity->id]) ?> field($model, 'aukname')->dropDownList(ArrayHelper::map(\app\models\Auclots::find()->all(), 'name', 'name')) ?> field($model, 'category_id')->dropDownList(ArrayHelper::map(\app\models\Category::find()->all(), 'id', 'name')) ?> field($model, 'name')->textInput(['maxlength' => true])->label(Yii::t('app','LotName ID')) ?> field($model, 'description')->textarea(['maxlength' => true]) ?> field($model, 'bidding_date')->textInput()->widget(DateTimePicker::className(),[ 'name' => 'auction_date', 'type' => DateTimePicker::TYPE_COMPONENT_PREPEND, 'value' => date("dd-M-yyyy hh:ii"), 'pluginOptions' => [ 'autoclose'=>true, 'format' => 'yyyy-mm-dd hh:ii' ] ]) ?> 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, 'start_price')->textInput() ?> field($model, 'step')->textInput(['maxlength' => true]) ?> field($files, 'file')->widget(FileInput::classname(), [ 'model' => $files, //'attribute' => 'file', 'pluginOptions' => [ 'allowedFileExtensions'=>['doc','docx','pdf', 'jpg', 'png', 'zip', 'rar'], 'initialCaption'=>'*.doc, *.docx, *.pdf, *.jpg, *.png, *zip, *rar', 'showPreview' => false, 'showCaption' => true, 'showRemove' => true, 'showUpload' => false ], 'options' => ['multiple' => true,], ])->label(Yii::t('app','DopDocumentation ID')); ?> field($model, 'payment_term')->textInput(['maxlength' => true]) ?> field($model, 'term_procedure')->textInput(['maxlength' => true]) ?> field($model, 'delivery_term')->textInput(['maxlength' => true]) ?> field($model, 'requires')->textInput(['maxlength' => true]) ?> field($model, 'member_docs')->textInput(['maxlength' => true]) ?> field($model, 'notes')->textarea(['maxlength' => true]) ?> field($model, 'date')->hiddenInput(['value' => date('Y-m-d H:i:s')]) ?>
isNewRecord ? Yii::t('app', 'Create ID') : Yii::t('app', 'Update ID'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>