From 13e43e83775e9fccda789d2d8705b48ce9c86b55 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 16 Jan 2018 10:17:53 +0000 Subject: [PATCH] payslip BankReport title name --- application/controllers/payslip.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }