diff --git a/application/controllers/payslip.php b/application/controllers/payslip.php index 431470ae..4c9e726a 100755 --- a/application/controllers/payslip.php +++ b/application/controllers/payslip.php @@ -383,6 +383,7 @@ function phpAlert($msg) { $mpdf->SetHTMLHeader($HtmlHeading); //$html = $this->load->view("bankreportprint",$data,true); $mpdf->setFooter($HTMLFooter . "Page {PAGENO} of {nb}"); + $mpdf->setTitle('Sidharthindustries:PayrollReport'); // $mpdf->setFooter("Page {PAGENO} of {nb}"); @@ -904,7 +905,8 @@ function getEmployee() $mpdf->list_indent_first_level = 1; $mpdf->setAutoTopMargin = 'stretch'; $mpdf->setAutoBottomMargin = 'stretch'; - $mpdf->WriteHTML($html); + $mpdf->WriteHTML($html); + $mpdf->SetTitle('Sidharthindustries:Payslip'); $mpdf->Output("".$filename.'.pdf','I',$php); }