unwanted line removed : ps

This commit is contained in:
sanjeev 2022-02-21 10:27:18 +05:30
parent 00705fff8b
commit 01c8595785
2 changed files with 2 additions and 3 deletions

View File

@ -1628,7 +1628,7 @@ public function filterSalesPDList_post() {
$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_doc = $this->pdfgenerator->generate($html_content, $filename='version', $stream=false, $paper = 'A4', $orientation = "portrait");
//End of PDF Gen using DOM PDF

View File

@ -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'];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);
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");
//End of PDF Gen using DOM PDF
$output_file = $this->external_path ."/sales_pd/" . $sales_pd_id . "/temp.pdf";