diff --git a/application/controllers/MRIRcontroller.php b/application/controllers/MRIRcontroller.php index 3b2c22f6..2ddfaaa5 100755 --- a/application/controllers/MRIRcontroller.php +++ b/application/controllers/MRIRcontroller.php @@ -58,7 +58,7 @@ class MRIRcontroller extends BaseController $data['MRIRDetails'] = $this->mrir_model->edit_mrir($MrirNo); //mpdf - $mpdf=new mPDF('utf-8','A4-P',8, 10,10, 10, 82, 38, 4, 6); + $mpdf=new mPDF('utf-8','A4-P',10, 10,10, 10, 10, 38, 4, 6); $mpdf->SetDisplayMode('fullpage'); $mpdf->SetHTMLHeader($HtmlHeading); $html = $this->load->view('Mrirprintpdf',$data,true); diff --git a/application/controllers/payslip.php b/application/controllers/payslip.php index 7013e868..0a6c86f3 100755 --- a/application/controllers/payslip.php +++ b/application/controllers/payslip.php @@ -377,12 +377,15 @@ function phpAlert($msg) { // $dompdf->stream($filename); //echo "PDF PART 2"; - $mpdf=new mPDF('utf-8','A4-P',9, 12,12, 10, 82, 38, 4, 6); + $mpdf=new mPDF('utf-8','A4-P',10, 12,12, 10, 10, 38, 4, 6); + $HTMLFooter = $this->load->view('includes/bankreport_footer',$data, true); $mpdf->SetDisplayMode('fullpage'); $mpdf->SetHTMLHeader($HtmlHeading); //$html = $this->load->view("bankreportprint",$data,true); $mpdf->setFooter($HTMLFooter . "Page {PAGENO} of {nb}"); - $mpdf->setFooter("Page {PAGENO} of {nb}"); + + + // $mpdf->setFooter("Page {PAGENO} of {nb}"); $mpdf->list_indent_first_level = 1; $mpdf->setAutoTopMargin = 'stretch'; $mpdf->setAutoBottomMargin = 'stretch'; diff --git a/application/views/Mrirprintpdf.php b/application/views/Mrirprintpdf.php index 9801628d..87c81e88 100755 --- a/application/views/Mrirprintpdf.php +++ b/application/views/Mrirprintpdf.php @@ -71,28 +71,30 @@ ?> - -
+ --> -
| Material Receipt And Inspection Report - | +Material Receipt And Inspection Report - | |||||||