/var/www/vhosts/nabawater/backend/views/order
Edit: /var/www/vhosts/nabawater/backend/views/order/_form.php (21697B)
= $this->title; ?>
'order-form'])->setModel($model); ?>
Personal Details
= $form->field($modelUser, 'user_detail')->dropDownList($modelUser->getOrderUserData(), ['prompt' => 'Select Customer', 'class' => 'select2 form-control']); ?>
= $form->field($model, 'customer_first_name')->textInput(); ?>
= $form->field($model, 'customer_last_name')->textInput(); ?>
= $form->field($model, 'customer_email')->textInput(); ?>
= $form->field($model, 'customer_mobile_number')->textInput(); ?>
Contact Information
= $form->field($modelUserAddress, 'user_address_detail')->dropDownList($modelUserAddress->getOrderUserAddressData(), ['prompt' => 'Select Customer', 'class' => 'select2 form-control']); ?>
= $form->field($modelUserAddressLang, 'street_name')->textInput(); ?>
= $form->field($modelUserAddressLang, 'area')->textInput(); ?>
= $form->field($modelUserAddressLang, 'city')->textInput(); ?>
= $form->field($modelUserAddress, 'latitude')->hiddenInput(); ?>
= $form->field($modelUserAddress, 'longitude')->hiddenInput(); ?>
Order Details
= $form->field($model, 'vendor_id')->dropDownList($modelVendor->getVendorData(), ['prompt' => yii::t('backend','Select Vendor'), 'class' => 'select2 form-control']); ?>
= $form->field($model, 'branch_id')->dropDownList($modelBranch->getBranchData(), ['prompt' => yii::t('backend','Select Branch'), 'class' => 'select2 form-control']); ?>
= $form->field($model, 'order_type')->dropDownList($model->getOrderType(), ['prompt' => yii::t('backend','Select Order Type'), 'class' => 'select2 form-control']); ?>
= $form->field($model, 'delivery_option')->dropDownList($model->getDeliveryType(), ['prompt' => yii::t('backend','Select Delivery Type'), 'class' => 'select2 form-control']); ?>
= $form->field($model, 'order_date_time')->textInput(['class' => 'bootstrapMaterialDatePicker form-control']) ?>
= $form->field($model, 'pickup_delivery_date_time')->textInput(['class' => 'clockpicker form-control']) ?>
= yii::t('backend','Delivery Location') ?>
= yii::t('backend','Drag and Drop the marker for a new location to place order for customer or else default customer location will be considered to process the order.') ?>
| = yii::t('backend','Item Name') ?> |
= yii::t('backend','Quantity') ?> |
= yii::t('backend','Sub total') ?> |
= Html::input('hidden', 'item_detail', '', ['id' => 'item-detail']) ?>
= Html::submitButton(yii::t('backend','Create'), ['class' => 'btn btn-success', 'id' => 'Create-button']) ?>
= Html::a(yii::t('backend','Cancel'), ['index'], ['class' => 'btn btn-secondary']); ?>
registerJsFile("https://maps.googleapis.com/maps/api/js?key=".Configuration::get(Configuration::MAP_KEY)."&callback=initMap");
?>