html content : ps

This commit is contained in:
gandhimathi 2022-06-29 10:49:34 +00:00
parent 2a94049647
commit 4452678bdc

View File

@ -706,7 +706,7 @@ class Flyhi_Controller extends REST_Controller {
//$view_name = $flyhipd_data[0]['short_name'].'_'.$flyhipd_data[0]['abbr'];
$view_name = $flyhipd_data[0]['short_name'];
$html_content = $this->load->view('sale_pd_templates/'.$view_name,$view_data,true);
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/" .$pd_id. "/temp.pdf";