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);