diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index 4b26b53a..c04fe188 100755 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -1056,7 +1056,7 @@ public function importpoprint($PONO) $Currencycode=''; $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); $data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetailsForPDF($PONO); - // print_r( $data['POItem']); + //print_r( $data['POItem']); foreach ($data['POItem'] as $Reqdby) { $Requester=$Reqdby->Requestedby; @@ -1137,7 +1137,7 @@ public function importpoprint($PONO) // Add header to pdf - $this->load->view('includes/pdffooter'); + //s $this->load->view('includes/pdffooter'); // Get output html $php = $this->output->get_output(); @@ -1150,7 +1150,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.pdf",$data,$php); } diff --git a/application/views/editimportpo.php b/application/views/editimportpo.php index 304ba9f5..705b1c83 100644 --- a/application/views/editimportpo.php +++ b/application/views/editimportpo.php @@ -2564,13 +2564,25 @@ if($PONOStatus == PO_RELEASED)