registerJs(<<
['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() ->where(['user_id' => Yii::$app->user->identity->id])->orderBy('id DESC')->all(), 'name', 'name')) ?> field($model, 'num')->textInput(['maxlength' => 255])->label(Yii::t('app','AucNumber ID')) ?> field($model, 'category_id')->dropDownList(ArrayHelper::map(Category::find()->all(), 'id', 'name')) ?> field($model, 'name')->textInput(['maxlength' => 255])->label(Yii::t('app','LotName ID')) ?> field($model, 'description')->textarea(['maxlength' => 15000, 'rows' => 6, 'cols' => 50]) ?>
'form-control', 'id' => 'count-input', 'min' => 1, 'max' => 99999999999999999999999, 'step' => 1, 'readonly' => 'readonly', ]); ?>
field($model, 'price_per_one', ['inputOptions' => ['readonly' => 'readonly', 'class' => 'form-control']])->label(Yii::t('app', 'Ціна за одиницю')); ?>
Yii::t('app', 'Оберіть')], ArrayHelper::map(Units::find()->all(), 'id', 'name')), [ 'class' => 'form-control', 'readonly' => 'readonly', ]); ?>
field($model, 'start_price')->textInput()->label(Yii::t('app', 'Загальна віртість')) ?>
'control-label']); echo FileInput::widget([ 'model' => new \app\models\Lots, 'attribute' => 'files[]', 'options' => [ 'multiple' => true, ], 'pluginOptions' => [ 'showPreview' => true, 'showRemove' => true, 'showUpload' => false, 'showCaption' => true, ], ]);?>
field($model, 'nds')->checkbox(['checked ' => true]) ?> field($model, 'step')->textInput(['maxlength' => true]) ?> 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')); ?> field($model, 'payment_term')->textInput(['maxlength' => true]) ?> field($model, 'term_procedure')->textInput(['maxlength' => true]) ?> field($model, 'address')->textInput(['maxlength' => true]) ?> field($model, 'notes')->textarea(['maxlength' => 15000, 'rows' => 6, 'cols' => 50]) ?> field($model, 'date')->hiddenInput(['value' => date('Y-m-d H:i:s')])->label(false); ?>
isNewRecord ? Yii::t('app', 'Create ID') : Yii::t('app', 'Update ID'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>