/var/www/vhosts/nabawater/backend/views/today-special
NameSizeModeActions
create.php9520644editdlrm
index.php55490644editdlrm
update.php9540644editdlrm
_form.php57030644editdlrm
Edit: /var/www/vhosts/nabawater/backend/views/today-special/_form.php (5703B)
setModel($model); if (!$model->getIsNewRecord()) { $id = $_GET['id']; } else { $id = ''; } ?>

title; ?>


field($model, 'vendor_id')->dropDownList($modelVendor->getVendorData(), ['class' => 'select2 form-control', 'prompt' => 'Select an Option']); ?>
field($model, 'item_id')->dropDownList($modelItem->getItemData(), ['class' => 'select2 form-control', 'prompt' => 'Select an Option']); ?>
field($modelLang, 'today_special_name')->textInput(); ?>
field($model, 'url')->textInput(); ?>
field($model, 'from_date')->textInput(['class' => 'bootstrapMaterialDatePicker form-control']); ?>
field($model, 'to_date')->textInput(['class' => 'bootstrapMaterialDatePicker form-control']); ?>
getIsNewRecord() && !empty($modelLang->today_special_image_path)) { $uploadHelper = UploadHelper::getInstance(); $url = $modelLang->today_special_image_path; echo Html::img($url, $options = ['alt' => 'Today Special Item Image', 'style' => 'width:100px;height:100px', 'class' => 'img-thumbnail']); } ?>
field($modelUploadForm, 'today_special_image_path')->fileInput(['class' => 'form-control']); ?>
field($model, 'city_id')->dropDownList($modelCity->getCityData(), ['class' => 'select2 form-control', 'prompt' => 'Select an Option']); ?>
field($model, 'today_special_status')->radioList([$model::ACTIVE => 'Active', $model::INACTIVE => 'Inactive']); ?>
getIsNewRecord() ? 'Create' : 'Update', ['class' => 'btn btn-success']) ?> 'btn btn-secondary']); ?>