diff --git a/application/controllers/amendmentpurchaseorder.php b/application/controllers/amendmentpurchaseorder.php index 90697827..ca666344 100755 --- a/application/controllers/amendmentpurchaseorder.php +++ b/application/controllers/amendmentpurchaseorder.php @@ -860,6 +860,7 @@ function UpdateAmendServicePurchaseOrder() $CapitalRange = '0'; $ExchangeRateOn = $this->input->post('ExchangeRateOn'); + $ExchangeRateOn = $this->getDateformat($ExchangeRateOn); $ExchangeRate=$this->input->post('ExchangeRt'); } @@ -1052,7 +1053,7 @@ function UpdateAmendServicePurchaseOrder() //echo "Service"; //print_r($ServiceTax); $ImportTaxList = array('LineItemNo'=>$LineItemNo, 'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'TotalValue'=>$Totalvalueitem); - print_r($ImportTaxList); + //print_r($ImportTaxList); //die(); diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index 1c2339dc..ed0becc6 100755 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -1020,7 +1020,7 @@ $AdvanceAmount=0.00; $this->dompdf->load_html($php); $this->dompdf->render(); $data['Attachment'] = FALSE; - $this->dompdf->stream("RevenuePOReport.pdf",$data,$php); + $this->dompdf->stream("RevenuePOReport".$PONO.".pdf",$data,$php); } @@ -1086,7 +1086,7 @@ $AdvanceAmount=0.00; $this->dompdf->load_html($php); $this->dompdf->render(); $data['Attachment'] = FALSE; - $this->dompdf->stream("ServicePOReport.pdf",$data,$php); + $this->dompdf->stream("ServicePOReport".$PONO.".pdf",$data,$php); } @@ -1214,7 +1214,7 @@ public function importpoprint($PONO) $this->dompdf->load_html($php); $this->dompdf->render(); $data['Attachment'] = FALSE; - $this->dompdf->stream("ImportPOReport.pdf",$data,$php); + $this->dompdf->stream("ImportPOReport".$PONO.".pdf",$data,$php); } @@ -2360,7 +2360,7 @@ function addNewImportPurchaseOrder() $this->dompdf->load_html($php); $this->dompdf->render(); $data['Attachment'] = FALSE; - $this->dompdf->stream("CapitalPOReport.pdf",$data,$php); + $this->dompdf->stream("CapitalPOReport".$PONO.".pdf",$data,$php); } diff --git a/application/views/capitalpopdf.php b/application/views/capitalpopdf.php index 44061c7c..b4900906 100755 --- a/application/views/capitalpopdf.php +++ b/application/views/capitalpopdf.php @@ -105,13 +105,13 @@