-
-
-
- Service Purchase Order
- Back -
-
-
-
-
-
-
-
-
- 'Selected Requisition Numbers');
- if (!empty($ReqList)) {
- foreach ($ReqList as $SID) :
-
- // print_r($SID->ReqNo);
- $options[$SID->ReqNo] = $SID->ReqNo . "-" . $SID->ReqBy;
- $ReqType = $SID->ReqType;
- endforeach;
- }
- echo form_multiselect('RequistionNo', $options, set_value('RequistionNo', array()), 'id="RequistionNo"', 'required="true"');
-
- ?>
-
-
-
-
-
-
-
- 'POType', 'value' => set_value('POType', SERVICE), 'id' => 'POType', 'class' => 'form-control', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
- 'Select Supplier');
- //print_r( $options);
-
- if (!empty($Suplist)) {
- foreach ($Suplist as $SID) :
- $options[$SID->SupplierID] = $SID->SupplierID . ' - ' . $SID->SupplierName;
- endforeach;
- }
-
- echo form_dropdown('drpSupplier', $options, set_value('drpSupplier'), 'id="drpSupplier"', 'required="true"', 'class="form-control select2');
-
- ?>
-
-
-
-
-
-
- 'SupAddress', 'value' => set_value('SupAddress'), 'id' => 'SupAddress', 'class' => 'form-control', 'readonly' => 'true', 'rows' => '3', 'cols' => '40');
- echo Form_textarea($data);
- ?>
-
-
-
-
-
-
-
- 'Select Work Status');
- //print_r( $options);
-
- if (!empty($WorkStatus)) {
- foreach ($WorkStatus as $WID) :
-
-
- $optionsWork[$WID->StatusCode] = $WID->StatusName;
-
- endforeach;
- }
-
- echo form_dropdown('workstatus', $optionsWork, set_value('workstatus'), 'id="workstatus"', 'required="true"', 'class="form-control select2');
-
-
- ?>
-
-
- Select Delivery By*
-
- -
- "DateRange", "id" => "Date", "value" => "0", 'checked' => set_radio('DateRange', '0', TRUE))); ?>
- "DateRange", "id" => "Schedule", "value" => "1", 'checked' => set_radio('DateRange', '1', FALSE))); ?>
-
-
-
-
-
-
-
- 'Deliverydt', 'value' => set_value('Deliverydt', $CurrentDate), 'id' => 'Deliverydt', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
- echo form_input($data);
- ?>
-
-
-
-
+
- 'DeliveryAddr', 'value' => set_value('DeliveryAddr', $CompanyAddress), 'id' => 'DeliveryAddr', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40');
- echo Form_textarea($data);
- ?>
-
-
+
-
+
+
-
-
+
+
+
-
+
-
+
- = "Service Purchase Order"; ?>
+ Back
-
-
-
-
-
-
-
- 'PODate', 'value' => set_value('PODate', $CurrentDate), 'id' => 'PODate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'addmodeofshipment', 'value' => set_value('addmodeofshipment'), 'id' => 'addmodeofshipment', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'addsupplierreference', 'value' => set_value('addsupplierreference'), 'id' => 'addsupplierreference', 'class' => 'form-control', 'maxlength' => '40');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'addsupplierofferno', 'value' => set_value('addsupplierofferno'), 'id' => 'addsupplierofferno', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
- 'addotherreference', 'value' => set_value('addotherreference'), 'id' => 'addotherreference', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'Select Work Status');
- $optionsPO = array("0" => 'Select');
-
- if (!empty($PoTypeOptions)) {
- foreach ($PoTypeOptions as $POpt) :
- $optionsPO[$POpt->ConfigValue] = $POpt->ConfigValue;
- endforeach;
- }
- echo form_dropdown('PoTypeOptions', $optionsPO, set_value('PoTypeOptions'), 'id="PoTypeOptions"', 'required="true"', 'class="form-control select2');
- ?>
-
-
-
- 'Select Payment Terms ');
- foreach ($Payment as $pay) :
- $options6[$pay->PaymentID] = $pay->PaymentTerms;
- endforeach;
- }
-
- echo form_dropdown('PaymentTerms', $options6, set_value('PaymentTerms'), 'id="PaymentTerms"', 'required="true"', 'class="form-control select2');
-
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'InsuranceNumber', 'value' => set_value('InsuranceNumber'), 'id' => 'InsuranceNumber', 'class' => 'form-control', 'required' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'Select', '1' => 'REVENUE', '2' => 'CAPITAL');
- echo form_dropdown('BudgetType', $optionsnew, set_value('BudgetType'), 'id="BudgetType"', 'required="true"', 'class="form-control select2');
-
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | SNo | -Requisition No | -Item Code | -Item Name | -Quantity | -UOM | -Rate | -Basic Amount | -Tax Amount | -Total Order Amount | -Action | -
|---|
-
+
+
- Reset
- Save as Draft
- Submit
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
-
'txtTotBasicAmount', 'value' => set_value('txtTotBasicAmount'), 'id' => 'txtTotBasicAmount', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'txtTotCgst', 'value' => set_value('txtTotCgst'), 'id' => 'txtTotCgst', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'txtTotSgst', 'value' => set_value('txtTotSgst'), 'id' => 'txtTotSgst', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'txtTotIgst', 'value' => set_value('txtTotIgst'), 'id' => 'txtTotIgst', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
- 'TotalOtherAllowances', 'value' => set_value('TotalOtherAllowances'), 'id' => 'TotalOtherAllowances', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
+ $attributes = array('class' => 'form-label-left ServicePO ', 'name' => 'ServicePO', 'id' => 'ServicePO', 'enctype' => 'multipart/form-data');
+ echo form_open(base_url() . '/purchaseorder/addPO/', $attributes); ?>
-
-
-
- 'txtTotalOrderValueSummary', 'value' => set_value('txtTotalOrderValueSummary'), 'id' => 'txtTotalOrderValueSummary', 'class' => 'form-control num', 'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'descofpo', 'value' => set_value('descofpo'), 'id' => 'descofpo', 'class' => 'form-control', 'rows' => '3', 'cols' => '40');
- echo form_textarea($data);
- ?>
-
-
-
-
- 'ScopeOfWork', 'value' => set_value('ScopeOfWork'), 'id' => 'ScopeOfWork', 'class' => 'form-control', 'rows' => '10', 'cols' => '40');
- echo form_textarea($data); ?>
-
-
-
+
-
-
+ -
-
- - - - - - -
+ - - - - - - -
+
+
+
+
+
+ 'Selected Requisition Numbers');
+ if (!empty($ReqList)) {
+ foreach ($ReqList as $SID) :
+
+ // print_r($SID->ReqNo);
+ $options[$SID->ReqNo] = $SID->ReqNo . "-" . $SID->ReqBy;
+ $ReqType = $SID->ReqType;
+ endforeach;
+ }
+ echo form_multiselect('RequistionNo', $options, set_value('RequistionNo', array()), 'id="RequistionNo"', 'required="true"');
+
+ ?>
+
+
+
+
+
+
+
+ 'POType', 'value' => set_value('POType', SERVICE), 'id' => 'POType', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'Select Supplier');
+ //print_r( $options);
+
+ if (!empty($Suplist)) {
+ foreach ($Suplist as $SID) :
+ $options[$SID->SupplierID] = $SID->SupplierID . ' - ' . $SID->SupplierName;
+ endforeach;
+ }
+
+ echo form_dropdown('drpSupplier', $options, set_value('drpSupplier'), 'id="drpSupplier" required="true" class="form-control select2');
+
+ ?>
+
+
+
+
+
+
+ 'SupAddress', 'value' => set_value('SupAddress'), 'id' => 'SupAddress', 'class' => 'form-control', 'readonly' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+ 'Select Work Status');
+ //print_r( $options);
+
+ if (!empty($WorkStatus)) {
+ foreach ($WorkStatus as $WID) :
+
+
+ $optionsWork[$WID->StatusCode] = $WID->StatusName;
+
+ endforeach;
+ }
+
+ echo form_dropdown('workstatus', $optionsWork, set_value('workstatus'), 'id="workstatus" required="true" class="form-control select2');
+
+
+ ?>
+
+
+ Select Delivery By*
+
+ +
+ "DateRange", "id" => "Date", "value" => "0", 'checked' => set_radio('DateRange', '0', TRUE))); ?>
+ "DateRange", "id" => "Schedule", "value" => "1", 'checked' => set_radio('DateRange', '1', FALSE))); ?>
+
+
+
+
+
+
+
+ 'Deliverydt', 'value' => set_value('Deliverydt', $CurrentDate), 'id' => 'Deliverydt', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'DeliveryAddr', 'value' => set_value('DeliveryAddr', $CompanyAddress), 'id' => 'DeliveryAddr', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+
+
+ 'PODate', 'value' => set_value('PODate', $CurrentDate), 'id' => 'PODate', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'addmodeofshipment', 'value' => set_value('addmodeofshipment'), 'id' => 'addmodeofshipment', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'addsupplierreference', 'value' => set_value('addsupplierreference'), 'id' => 'addsupplierreference', 'class' => 'form-control', 'maxlength' => '40');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'addsupplierofferno', 'value' => set_value('addsupplierofferno'), 'id' => 'addsupplierofferno', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+
+
+ 'addotherreference', 'value' => set_value('addotherreference'), 'id' => 'addotherreference', 'class' => 'form-control');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'Select Work Status');
+ $optionsPO = array("0" => 'Select');
+
+ if (!empty($PoTypeOptions)) {
+ foreach ($PoTypeOptions as $POpt) :
+ $optionsPO[$POpt->ConfigValue] = $POpt->ConfigValue;
+ endforeach;
+ }
+ echo form_dropdown('PoTypeOptions', $optionsPO, set_value('PoTypeOptions'), 'id="PoTypeOptions" required="true" class="form-control select2');
+ ?>
+
+
+
+ 'Select Payment Terms ');
+ foreach ($Payment as $pay) :
+ $options6[$pay->PaymentID] = $pay->PaymentTerms;
+ endforeach;
+ }
+
+ echo form_dropdown('PaymentTerms', $options6, set_value('PaymentTerms'), 'id="PaymentTerms" required="true" class="form-control select2');
+
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'InsuranceNumber', 'value' => set_value('InsuranceNumber'), 'id' => 'InsuranceNumber', 'class' => 'form-control', 'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'Select', '1' => 'REVENUE', '2' => 'CAPITAL');
+ echo form_dropdown('BudgetType', $optionsnew, set_value('BudgetType'), 'id="BudgetType" required="true" class="form-control select2');
+
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | SNo | +Requisition No | +Item Code | +Item Name | +Quantity | +UOM | +Rate | +Basic Amount | +Tax Amount | +Total Order Amount | +Action | +
|---|
+
+
+
+
+ 'txtTotBasicAmount', 'value' => set_value('txtTotBasicAmount'), 'id' => 'txtTotBasicAmount', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'txtTotCgst', 'value' => set_value('txtTotCgst'), 'id' => 'txtTotCgst', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'txtTotSgst', 'value' => set_value('txtTotSgst'), 'id' => 'txtTotSgst', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'txtTotIgst', 'value' => set_value('txtTotIgst'), 'id' => 'txtTotIgst', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+ 'TotalOtherAllowances', 'value' => set_value('TotalOtherAllowances'), 'id' => 'TotalOtherAllowances', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'txtTotalOrderValueSummary', 'value' => set_value('txtTotalOrderValueSummary'), 'id' => 'txtTotalOrderValueSummary', 'class' => 'form-control num', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+ 'descofpo', 'value' => set_value('descofpo'), 'id' => 'descofpo', 'class' => 'form-control', 'rows' => '3', 'cols' => '40');
+ echo form_textarea($data);
+ ?>
+
+
+
+
+ 'ScopeOfWork', 'value' => set_value('ScopeOfWork'), 'id' => 'ScopeOfWork', 'class' => 'form-control', 'rows' => '10', 'cols' => '40');
+ echo form_textarea($data); ?>
+
+
+
+
+ -