-
-
-
-
-
= "Amended Import Purchase Order - $PONO "; ?>
+
+
+
+
+
+
-
-
-
+
-
+
- = "Amended Import Purchase Order - $PONO "; ?>
Back -
-
-
-
- 'form-label-left ImportPO ', 'name' => 'ImportPO', 'id' => 'ImportPO', 'enctype' => 'multipart/form-data');
- echo form_open(base_url() . '/purchaseorder/addPO/', $attributes); ?>
-
-
-
-
-
-
-
-
-
-
- 'Selected Requisition Numbers');
- if (!empty($ReqList)) {
- foreach ($ReqList as $SID) :
- $options[$SID->ReqNo] = $SID->ReqNo;
- endforeach;
- }
- echo form_multiselect('RequistionNo', $options, set_value('RequistionNo', array()), 'id="RequistionNo"', 'required="true"', 'height="400px"');
- ?>
-
-
-
-
-
-
- 'POType', 'value' => set_value('POType', IMPORT), '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');
-
- echo form_dropdown('drpSupplier', $options, set_value('drpSupplier', $SupId), 'id="drpSupplier"', 'required="true"', 'class="form-control select2');
-
- ?>
-
-
-
-
- 'SupAddress', 'value' => set_value('SupAddress', $Address), 'id' => 'SupAddress', 'class' => 'form-control', 'readonly' => 'true', 'rows' => '3', 'cols' => '40');
- echo Form_textarea($data); ?>
-
-
-
-
-
-
+
+
+
+
+
+
+
$Cur);
+ $attributes = array('class' => 'form-label-left ImportPO ', 'name' => 'ImportPO', 'id' => 'ImportPO', 'enctype' => 'multipart/form-data');
+ echo form_open(base_url() . '/purchaseorder/addPO/', $attributes); ?>
- if (!empty($Currency)) {
- foreach ($Currency as $CUR) :
- $options[$CUR->Currency_Code] = $CUR->Currency_Code . ' ' . ' - ' . ' ' . $CUR->Country_and_Currency;
- endforeach;
- }
+
-
+
-
+
+ 'Selected Requisition Numbers');
+ if (!empty($ReqList)) {
+ foreach ($ReqList as $SID) :
+ $options[$SID->ReqNo] = $SID->ReqNo;
+ endforeach;
+ }
+ echo form_multiselect('RequistionNo', $options, set_value('RequistionNo', array()), 'id="RequistionNo"', 'required="true"', 'height="400px"');
+ ?>
+
+
+
+
+
- echo form_dropdown('currencytype', $options, set_value('currencytype'), 'id="currencytype"', 'required="true"', 'class="form-control select2'); ?>
+ 'POType', 'value' => set_value('POType', IMPORT), 'id' => 'POType', 'class' => 'form-control', 'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
-
-
- Select Delivery By*
- - - -
-
- - - - -
- "DateRange", "id" => "Date", "value" => "2", 'checked' => 'checked')); ?>
- "DateRange", "id" => "Schedule", "value" => "1")); ?>
-
-
-
-
-
-
-
-
- 'Dispatch','value' => set_value('Dispatch',$Import_DispatchDetails),'id'=>'Dispatch', 'class' => 'form-control' ,'required' => 'true');
- // echo form_input($data);
-
- $data = array('name' => 'Dispatch', 'value' => set_value('Dispatch', $Import_DispatchDetails), 'id' => 'Dispatch', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40', 'maxlength' => '110');
- echo Form_textarea($data);
- ?>
-
-
-
-
-
-
- 'DeliveryAddr', 'value' => set_value('DeliveryAddr', $DeliveryAddress), 'id' => 'DeliveryAddr', 'class' => 'form-control', 'required' => 'true', 'rows' => '3', 'cols' => '40');
- echo Form_textarea($data);
- ?>
-
-
-
-
-
-
- Check Today's Foreign Exchange value (Click here)
-
-
-
-
-
- 'Exchangerateon', 'value' => set_value('Exchangerateon', $ExchangeRateCalculatedon), 'id' => 'Exchangerateon', 'class' => 'form-control num', 'required' => 'true', 'onkeypress' => 'return false;');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
- 'ExchangeRate', 'value' => set_value('ExchangeRate', $ExchangeRate), 'id' => 'ExchangeRate', 'class' => 'form-control num', 'onkeypress' => 'return isNumberKey(event);', 'onchange' => 'USRate()');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
- // echo form_input($data);
-
- $data = array('name' => 'PlaceOforigin', 'value' => set_value('PlaceOforigin', $Import_PlaceofOrgin), 'id' => 'PlaceOforigin', 'class' => 'form-control', 'required' => 'true');
- echo form_input($data);
-
-
-
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'PODate', 'value' => set_value('PODate', $PODate), 'id' => 'PODate', 'class' => 'form-control', 'required' => 'true', 'onkeypress' => 'return false;');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'addmodeofshipment', 'value' => set_value('addmodeofshipment', $Shipmentmode), 'id' => 'addmodeofshipment', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'amendsupplierreference', 'value' => set_value('amendsupplierreference', $SupplierRef), 'id' => 'amendsupplierreference', 'class' => 'form-control', 'maxlength' => '40');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'amendsupplierofferno', 'value' => set_value('amendsupplierofferno', $SupOfferno), 'id' => 'amendsupplierofferno', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
- 'amendotherreference', 'value' => set_value('amendotherreference', $Otherref), 'id' => 'amendotherreference', 'class' => 'form-control');
- echo form_input($data);
- ?>
-
-
-
-
- 'Select Import Option');
- if (!empty($PoTypeOptions)) {
- foreach ($PoTypeOptions as $payment) :
-
- if ($Importoption == $payment->ConfigValue) {
-
- $options2[$payment->ConfigValue] = $payment->ConfigValue;
+ 'Select Supplier');
+ //print_r( $options);
+ if (!empty($Suplist)) {
+ foreach ($Suplist as $SID) :
+ $options[$SID->SupplierID] = $SID->SupplierID . ' - ' . $SID->SupplierName;
+ endforeach;
}
- endforeach;
- foreach ($PoTypeOptions as $payment) :
-
- if ($Importoption != $payment->ConfigValue) {
-
- $options2[$payment->ConfigValue] = $payment->ConfigValue;
- }
- endforeach;
- }
-
- echo form_dropdown('Importoption', $options2, set_value('Importoption'), 'id="Importoption"', 'class="form-control"'); ?>
-
-
-
-
-
-
-
- PaymentID) {
- //echo "$Terms";
- //echo "$pay2->PaymentTerms";
-
- ?>
-
- PaymentID] = $pay2->PaymentTerms;
- }
-
- foreach ($Payment as $pay1) :
-
- if ($Terms != $pay1->PaymentID) {
-
- $optionsPay[$pay1->PaymentID] = $pay1->PaymentTerms;
- }
- endforeach;
- }
- echo form_dropdown('PaymentTerms', $optionsPay, set_value('PaymentTerms'), 'id="PaymentTerms"', 'required="true"', 'class="form-control select2'); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'Insurance', 'Insurance' => set_value('Insurance', $opt1), 'id' => 'Insurance', 'class' => 'form-control', 'required' => 'true', 'readonly' => true);
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
| ${temp} | +${Reqnumber} | +${materialCode} | +${materialName} | +${quantity} | +${uom} | +${itemRate} | +${BasicAmt} | +${taxexp} | +${totalexp} | +${receivedqty} | +${rejectedqty} | +${pendingqty} | ++ + + + + + + | +