diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php
index 59ec12c9..f0eb0bfc 100644
--- a/application/controllers/purchaseorder.php
+++ b/application/controllers/purchaseorder.php
@@ -300,7 +300,7 @@ class purchaseorder extends BaseController
{
$PAYTERM=$TER->PaymentTerms;
}
-
+ //print_r($PAYTERM);
//print_r($exRate);
//$data['MaxPODate'] = $this->purchaseorder_model->getLastCreatedPODate();
$data['MaxPODate'] = $this->purchaseorder_model->getLastReleasedPODate();
@@ -317,6 +317,7 @@ class purchaseorder extends BaseController
{
$data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetails($PONO);
+ $data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO);
$this->global['pageTitle'] = 'Siddharth : Edit Revenue Purchase order form';
$this->loadViews("editRevenuepurchaseorder", $this->global, $data, NULL);
}
@@ -575,6 +576,19 @@ $DeliveryOption = $this->input->post('DateRange');
$Deliverydt = $this->getDateformat($dt);
$DeliverySchedule = '';
}
+
+
+
+ $PaymentDate=$this->input->post('Payment');
+ if($PaymentDate==1)
+ {
+ $PaymentDays='After';
+ }
+ else
+ {
+ $PaymentDays='Before';
+ }
+
$POType = $this->input->post('POType');
$PoRange = $this->input->post('txtPoRange');
@@ -590,8 +604,11 @@ $DeliveryOption = $this->input->post('DateRange');
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
$createddt = $dt->format('Y-m-d H:i:s');
+
+ $PaymentTerms=$this->input->post('PaymentTerms');
+ $Payableat=$this->input->post('PayableAT');
// PO Master
- $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt );
+ $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'PaymentTerms'=>$PaymentTerms,'PayableAT'=>$Payableat,'PaymentDays'=>$PaymentDays);
$POMaster = $this->purchaseorder_model->addPOMaster($POList);
@@ -701,6 +718,20 @@ $DeliveryOption = $this->input->post('DateRange');
$Deliverydt = $this->getDateformat($dt);
$DeliverySchedule = '';
}
+
+
+
+
+ $PaymentDate=$this->input->post('Payment');
+ if($PaymentDate==1)
+ {
+ $PaymentDays='After';
+ }
+ else
+ {
+ $PaymentDays='Before';
+ }
+
$POType = $this->input->post('POType');
$PoRange = $this->input->post('txtPoRange');
@@ -715,9 +746,12 @@ $DeliveryOption = $this->input->post('DateRange');
$comma_separated = explode(':', $DeletedRow);
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
$updateddt = $dt->format('Y-m-d H:i:s');
+
+ $PaymentTerms=$this->input->post('PaymentTerms');
+ $Payableat=$this->input->post('PayableAT');
// PO Master
// PO Master
- $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt );
+ $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'PaymentTerms'=>$PaymentTerms,'PayableAT'=>$Payableat,'PaymentDays'=>$PaymentDays);
$POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList);
diff --git a/application/views/editRevenuepurchaseorder.php b/application/views/editRevenuepurchaseorder.php
index 02c62d7d..6fd38435 100644
--- a/application/views/editRevenuepurchaseorder.php
+++ b/application/views/editRevenuepurchaseorder.php
@@ -1,3882 +1,4021 @@
-
-format('Y-m-d');
-$MaxPoDate = '';
-$AvlAmount = 0;
-$DeliverSchedule='';
-$DeliverOption='';
-
-if(!empty($MaxPODate))
-{
- foreach ($MaxPODate as $date)
- {
- $MaxPoDate = $date->PODate;
- }
-}
-if(!empty($CompanyDetails))
-{
- foreach ($CompanyDetails as $Req)
- {
- $CompanyAddress = $Req->Address;
- }
-}
-if(!empty($AvlBudAmt))
-{
-
- $AvlAmount = $AvlBudAmt;
-
-}
-
- $SupId = '';
- $SupName = '';
- $Address = '';
- $PODate = '';
- $Deliverydt ='';
- $DeliveryAddress ='';
- $POStatus = '';
- $PONO = '';
- $totBasicAmt = 0;
- $totDiscountAmt = 0.0;
- $totPackagingAmt = 0.0;
- $totExciseAmt = 0.0;
- $totVATAmt = 0.0;
- $totCSTAmt = 0.0;
- $totGSTAmt = 0.0;
-
- $totOtherTaxAmt = 0.0;
- $totFreightAmt = 0.0;
- $totInsuranceAmt = 0.0;
- $totOrderSummaryAmt = 0.0;
-
- $ServiceDescription = '';
-
-if(!empty($POMaster))
-{
- foreach ($POMaster as $Req)
- {
- $SupId = $Req->SupplierID;
- $SupName = $Req->SupplierName;
- $Address = $Req->Address;
-
- $Pdt = new DateTime($Req->PODate);
- $PODate = $Pdt->format('Y-m-d');
- $DeliverOption = $Req->DeliveryOption;
- $DeliverSchedule = $Req->DeliverySchedule;
- $Ddt = new DateTime($Req->DeliveryDate);
- $Deliverydt = $Ddt->format('Y-m-d');
-
- $DeliveryAddress =$Req->DeliveryAddress;
- $POStatus = $Req->StatusCode;
- $PONO = $Req->PONO;
- $ServiceDescription = $Req->ServiceDescription;
- }
-}
-?>
-
-
-
-
-
-
-
- 'form-label-left CreatePO ','name' => 'CreatePO','id' => 'CreatePO');
-
- echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?>
-
-
-
-
-
Siddharth Industries - Edit Revenue Purchase Order -
-
-
-
-
-
-
- 'Selected Requisition Numbers');
- if(!empty($ReqList))
- {
- foreach ($ReqList as $SID):
-
- $options[$SID->ReqNo] = $SID->ReqNo ;
- //$ReqType = $SID->ReqType;
- endforeach;
- }
- echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' ,'required="true"' , 'height="400px"' );
- ?>
-
-
-
-
- 'PODate','value' => set_value('PODate',$PODate),'id'=>'PODate', 'class' => 'form-control num' ,'required' => 'true','onkeypress'=>'return false;');
- 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',$SupId),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2');
-
- ?>
-
-
-
-
-
- 'POType','value' => set_value('POType',REVENUE),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true');
- echo form_input($data);
- ?>
-
-
-
-
- Select Tax Range
-
- |
- "Range","id"=>"Local","value"=>"0", 'checked'=>set_radio('Range', '0', TRUE),'onchange'=>'SetVatorCST();')); ?> |
- "Range","id"=>"Inter_state","value"=>"1", 'checked'=>set_radio('Range', '1', FALSE),'onchange'=>'SetVatorCST();')); ?>
- |
-
-
-
-
-
-
-
-
-
- Select Delivery By
-
- |
- 'DateRange', 'value' => '0', 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Date')); ?>
-
- |
- 'DateRange', 'value' => '1', 'checked' => ('1' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Schedule')); ?>
-
-
- |
-
-
-
-
-
-
-
- 'SupAddress','value' => set_value('SupAddress',$Address),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true' ,'rows' => '3', 'cols' => '40');
- 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);
- ?>
-
-
-
-
-
- 'Deliverydt','value' => set_value('Deliverydt',$Deliverydt),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true','onkeypress'=>'return false;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
- echo Form_textarea($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | SNo |
- Requisition No |
- Item Name |
- Quantity |
- UOM |
- Rate |
- Basic Amount |
- Tax Amount |
- Total Order Amount |
- Action |
-
-
-
-
-
-
- |
- ReqNo ?> |
- MaterialName ?> |
- Quantity ?> |
- UOM ?> |
- Rate ?> |
-
- BasicValue ?> |
-
- Taxamount ?> |
- TotalValue ?> |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | |
-
-
- BasicValue;
- $totDiscountAmt = $totDiscountAmt + $record->AfterDiscount;
- $totPackagingAmt = $totPackagingAmt + $record->AfterPackagingValue;
- $totExciseAmt = $totExciseAmt + $record->AfterExciseDuty;
- $totVATAmt = $totVATAmt + $record->AfterVAT;
- $totCSTAmt = $totCSTAmt + $record->AfterCST;
- $totGSTAmt = $totGSTAmt +$record->AfterGST;
-
- $totOtherTaxAmt = $totOtherTaxAmt + $record->AfterOtherTaxes;
- $totFreightAmt = $totFreightAmt + $record->AfterFreightValue;
- $totInsuranceAmt = $totInsuranceAmt + $record->Insurance;
- $totOrderSummaryAmt = $totOrderSummaryAmt +$record->TotalValue;
-
- }
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount',$totBasicAmt),'id'=>'txtTotBasicAmount', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'txtTotalDiscount','value' => set_value('txtTotalDiscount',$totDiscountAmt),'id'=>'txtTotalDiscount', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'txtTotalVat','value' => set_value('txtTotalVat',$totVATAmt),'id'=>'txtTotalVat', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'txtTotCST','value' => set_value('txtTotCST',$totCSTAmt),'id'=>'txtTotCST', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'txtTotalPackaing','value' => set_value('txtTotalPackaing',$totPackagingAmt),'id'=>'txtTotalPackaing', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
-
-
- 'txtTotExciseDuty','value' => set_value('txtTotExciseDuty',$totExciseAmt),'id'=>'txtTotExciseDuty', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'txtTotalGST','value' => set_value('txtTotalGST',$totCSTAmt),'id'=>'txtTotalGST', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'txtTotalInsurance','value' => set_value('txtTotalInsurance',$totInsuranceAmt),'id'=>'txtTotalInsurance', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
- 'txtTotalFreight','value' => set_value('txtTotalFreight',$totFreightAmt),'id'=>'txtTotalFreight', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
-
-
- 'txtTotalOtherTaxes','value' => set_value('txtTotalOtherTaxes',$totOtherTaxAmt),'id'=>'txtTotalOtherTaxes', 'class' => 'form-control num','readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
- 'txtTotalOrderValueSummary','value' => set_value('txtTotalOrderValueSummary',$totOrderSummaryAmt),'id'=>'txtTotalOrderValueSummary', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
- 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction',$ServiceDescription),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '3', 'cols' => '40' );
- echo form_textarea($data);
- ?>
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 'form-label-left CreatePO ','name' => 'CreatePO','id' => 'CreatePO');
+
+ echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?>
+
+
+
+
+
Siddharth Industries - Edit Revenue Purchase Order -
+
+
+
+
+
+
+ 'Selected Requisition Numbers');
+ if(!empty($ReqList))
+ {
+ foreach ($ReqList as $SID):
+
+ $options[$SID->ReqNo] = $SID->ReqNo ;
+ //$ReqType = $SID->ReqType;
+ endforeach;
+ }
+ echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' ,'required="true"' , 'height="400px"' );
+ ?>
+
+
+
+
+ 'PODate','value' => set_value('PODate',$PODate),'id'=>'PODate', 'class' => 'form-control num' ,'required' => 'true','onkeypress'=>'return false;');
+ 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',$SupId),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2');
+
+ ?>
+
+
+
+
+
+ 'POType','value' => set_value('POType',REVENUE),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Select Tax Range
+
+ |
+ "Range","id"=>"Local","value"=>"0", 'checked'=>set_radio('Range', '0', TRUE),'onchange'=>'SetVatorCST();')); ?> |
+ "Range","id"=>"Inter_state","value"=>"1", 'checked'=>set_radio('Range', '1', FALSE),'onchange'=>'SetVatorCST();')); ?>
+ |
+
+
+
+
+
+
+
+
+
+ Select Delivery By
+
+ |
+ 'DateRange', 'value' => '0', 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Date')); ?>
+
+ |
+ 'DateRange', 'value' => '1', 'checked' => ('1' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Schedule')); ?>
+
+
+ |
+
+
+
+
+
+
+
+ 'SupAddress','value' => set_value('SupAddress',$Address),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true' ,'rows' => '3', 'cols' => '40');
+ 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);
+ ?>
+
+
+
+
+
+ 'Deliverydt','value' => set_value('Deliverydt',$Deliverydt),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true','onkeypress'=>'return false;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
+ echo Form_textarea($data);
+ ?>
+
+
+
+
+
+
+
+
+ Payable Terms
+
+
+
+
+ Payable AT
+
+ 'PayableAT','value' => set_value('PayableAT',$PayableAT),'id'=>'PayableAT', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+
+
+ Payment Date
+
+ |
+ "Payment", "id"=>"Before", "value"=>"0", 'checked'=>set_radio('Payment', '0', TRUE))); ?> |
+
+ "Payment", "id"=>"After", "value"=>"1", 'checked'=>set_radio('Payment', '1', FALSE))); ?>
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | SNo |
+ Requisition No |
+ Item Name |
+ Quantity |
+ UOM |
+ Rate |
+ Basic Amount |
+ Tax Amount |
+ Total Order Amount |
+ Action |
+
+
+
+
+
+
+ |
+ ReqNo ?> |
+ MaterialName ?> |
+ Quantity ?> |
+ UOM ?> |
+ Rate ?> |
+
+ BasicValue ?> |
+
+ Taxamount ?> |
+ TotalValue ?> |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | |
+
+
+ BasicValue;
+ $totDiscountAmt = $totDiscountAmt + $record->AfterDiscount;
+ $totPackagingAmt = $totPackagingAmt + $record->AfterPackagingValue;
+ $totExciseAmt = $totExciseAmt + $record->AfterExciseDuty;
+ $totVATAmt = $totVATAmt + $record->AfterVAT;
+ $totCSTAmt = $totCSTAmt + $record->AfterCST;
+ $totGSTAmt = $totGSTAmt +$record->AfterGST;
+
+ $totOtherTaxAmt = $totOtherTaxAmt + $record->AfterOtherTaxes;
+ $totFreightAmt = $totFreightAmt + $record->AfterFreightValue;
+ $totInsuranceAmt = $totInsuranceAmt + $record->Insurance;
+ $totOrderSummaryAmt = $totOrderSummaryAmt +$record->TotalValue;
+
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount',$totBasicAmt),'id'=>'txtTotBasicAmount', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'txtTotalDiscount','value' => set_value('txtTotalDiscount',$totDiscountAmt),'id'=>'txtTotalDiscount', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'txtTotalVat','value' => set_value('txtTotalVat',$totVATAmt),'id'=>'txtTotalVat', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'txtTotCST','value' => set_value('txtTotCST',$totCSTAmt),'id'=>'txtTotCST', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'txtTotalPackaing','value' => set_value('txtTotalPackaing',$totPackagingAmt),'id'=>'txtTotalPackaing', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+
+ 'txtTotExciseDuty','value' => set_value('txtTotExciseDuty',$totExciseAmt),'id'=>'txtTotExciseDuty', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'txtTotalGST','value' => set_value('txtTotalGST',$totCSTAmt),'id'=>'txtTotalGST', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'txtTotalInsurance','value' => set_value('txtTotalInsurance',$totInsuranceAmt),'id'=>'txtTotalInsurance', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+ 'txtTotalFreight','value' => set_value('txtTotalFreight',$totFreightAmt),'id'=>'txtTotalFreight', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+
+
+ 'txtTotalOtherTaxes','value' => set_value('txtTotalOtherTaxes',$totOtherTaxAmt),'id'=>'txtTotalOtherTaxes', 'class' => 'form-control num','readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'txtTotalOrderValueSummary','value' => set_value('txtTotalOrderValueSummary',$totOrderSummaryAmt),'id'=>'txtTotalOrderValueSummary', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
+ echo form_input($data);
+ ?>
+
+
+
+
+ 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction',$ServiceDescription),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '3', 'cols' => '40' );
+ echo form_textarea($data);
+ ?>
+
+
+
+
+
+ Request On
+ 'Requeston','value' => set_value('Requeston',$Reqon),'id'=>'Requeston', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
+ echo form_input($data);
+ ?>
+
+
+ Request By
+ 'RequestBy','value' => set_value('RequestBy',$Requestedby),'id'=>'RequestBy', 'class' => 'form-control' ,'required' => 'true');
+ echo form_input($data);
+ ?>
+
+
+ Status
+ $POStatus);
+ echo form_dropdown('Status', $options,set_value('Status'),'id="Status"' ,'required="true"' ,'class="form-control select2')
+ ?>
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/editimportpo.php b/application/views/editimportpo.php
index c9ea08fc..f3592ca1 100644
--- a/application/views/editimportpo.php
+++ b/application/views/editimportpo.php
@@ -441,7 +441,7 @@ foreach ($POSTATUS as $PST )
Payable Terms