From 5cdefcfbd3f6ec949734eaa618603f503b576ce1 Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Wed, 20 Sep 2017 16:47:48 +0530 Subject: [PATCH]
fix given --- application/controllers/purchaseorder.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index 93744c34..3ae2b2c3 100755 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -1206,7 +1206,7 @@ class purchaseorder extends BaseController //$PONO = $_GET['PO']; - $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF(); $data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO); $data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetailsForPDF($PONO); $data['releasedetails'] = $this->purchaseorder_model->GetReleasedDetails($PONO); @@ -1263,7 +1263,7 @@ $AdvanceAmount=0.00; // $this->load->view('includes/pdfheader'); // Load the pdf page with multiviews - $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF(); $data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO); $data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetailsForpdf($PONO); @@ -1337,7 +1337,7 @@ public function importpoprint($PONO) $Requester=''; $Depcode=''; $Currencycode=''; - $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF(); $data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetailsForPDF($PONO); $data['releasedetails'] = $this->purchaseorder_model->GetReleasedDetails($PONO); //print_r( $data['releasedetails']); @@ -2616,7 +2616,7 @@ function addNewImportPurchaseOrder() // Load the pdf page with multiviews - $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformationforPDF(); $data['GetPoFormat'] = $this->purchaseorder_model->GetPoFormat($PONO); $data['POItem'] = $this->purchaseorder_model->GetCapitalPurchaseOrderDetailsForPDF($PONO);