unwanted line removed : ps
This commit is contained in:
parent
00705fff8b
commit
01c8595785
@ -1628,7 +1628,7 @@ public function filterSalesPDList_post() {
|
|||||||
$html_content = $this->load->view('smc_creditpd_reports/MWISE',$view_data,true);
|
$html_content = $this->load->view('smc_creditpd_reports/MWISE',$view_data,true);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $html_content;exit();
|
// echo $html_content;exit();
|
||||||
$pdf_name = $view_data['pd_master_details'][0]['main_applicant'];
|
$pdf_name = $view_data['pd_master_details'][0]['main_applicant'];
|
||||||
$pdf_doc = $this->pdfgenerator->generate($html_content, $filename='version', $stream=false, $paper = 'A4', $orientation = "portrait");
|
$pdf_doc = $this->pdfgenerator->generate($html_content, $filename='version', $stream=false, $paper = 'A4', $orientation = "portrait");
|
||||||
//End of PDF Gen using DOM PDF
|
//End of PDF Gen using DOM PDF
|
||||||
|
|||||||
@ -214,8 +214,7 @@ class Sales_PD_Controller extends REST_Controller {
|
|||||||
//$view_name = $sales_pd_data[0]['short_name'].'_'.$sales_pd_data[0]['abbr'];
|
//$view_name = $sales_pd_data[0]['short_name'].'_'.$sales_pd_data[0]['abbr'];
|
||||||
$view_name = $sales_pd_data[0]['short_name'];if( $sales_pd_data[0]['abbr'] == 'MEQ'){ $view_name = $sales_pd_data[0]['abbr']; }
|
$view_name = $sales_pd_data[0]['short_name'];if( $sales_pd_data[0]['abbr'] == 'MEQ'){ $view_name = $sales_pd_data[0]['abbr']; }
|
||||||
$html_content = $this->load->view('sale_pd_templates/'.$view_name,$view_data,true);
|
$html_content = $this->load->view('sale_pd_templates/'.$view_name,$view_data,true);
|
||||||
print_r($view_data);die();
|
// echo $html_content;die();
|
||||||
echo $html_content;die();
|
|
||||||
$pdf_doc = $this->pdfgenerator->generate($html_content, $filename='version', $stream=false, $paper = 'A4', $orientation = "portrait");
|
$pdf_doc = $this->pdfgenerator->generate($html_content, $filename='version', $stream=false, $paper = 'A4', $orientation = "portrait");
|
||||||
//End of PDF Gen using DOM PDF
|
//End of PDF Gen using DOM PDF
|
||||||
$output_file = $this->external_path ."/sales_pd/" . $sales_pd_id . "/temp.pdf";
|
$output_file = $this->external_path ."/sales_pd/" . $sales_pd_id . "/temp.pdf";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user