pdf change
This commit is contained in:
parent
8a877de003
commit
fbb54ce61c
@ -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);
|
||||
|
||||
@ -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';
|
||||
|
||||
@ -71,28 +71,30 @@
|
||||
|
||||
|
||||
?>
|
||||
<style>
|
||||
<!-- <style>
|
||||
@page { margin: 150px 20px 10px 40px; }
|
||||
.header { position: fixed; left: 0px; top: -150px; right: 0px; height: 550px;text-align: center; }
|
||||
.footer { position: fixed; bottom: 0px; }
|
||||
.pagenum:before { content: counter(page); }
|
||||
</style>
|
||||
<div class="footer">Page: <span class="pagenum"></span></div>
|
||||
<div class="footer">Page: <span class="pagenum"></span></div> -->
|
||||
|
||||
<div class="header">
|
||||
<div>
|
||||
<p> </p>
|
||||
|
||||
<table style="border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center;" colspan="4"><span style="font-size:24px;"> <strong style="color:#515151"> Material Receipt And Inspection Report -<?php echo $MRIRNO?></strong></span></td>
|
||||
<td style="text-align: center;" colspan="4"> <strong style="color:red font-size: 60px;"> Material Receipt And Inspection Report -<?php echo $MRIRNO?></strong></span></td>
|
||||
<td style="text-align: center;"><img width="80" height="80" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA11JREFUeNrsnT9IHEEYxWfFw8rgpUhlo5URi2gTbIUUSrq1ui4oRLRIY9JIKrGKTQrBgJLuuutEi4CtSSOpPIuATdIEcid2YpN9C3sc8c6bf7uZmX0P7k7ultm7337zzXxvZjGaiaIfQoiqoHTUHk6eniSPUbLQUmUoebojB23dDZGBmQiQAAmQAAmQIkACJEACpAiweA3bbvDV5mb6+iKOxfTc3MDjf15dicbBQfr3591d7wBGM1H0J3l9bNLI84UFsby6mkIzFWACJMCafJ9PJyfSx29vbHQuoqJaxl34zc5O+mVtwIPi5EIcXV52IjnoLvx+by/9wXkIF8aHbq0dgYi4vOB1Q7QV2c4BXM4Z3r+RGBTAR9VqmqhVBoZnIyOdx9taTXqQGJ+YUDqXFwBV4WGU69aXRkNsr69LtyEzHfIKIKJCVl9PT3u+/63P+6bnC64SuWm3jdsYn5xkKcdamCJAAiwjQJcHAC8ATs/OBg1Qy0y4ub6WPhb1cuPwUFycn9/77OPWlvXzeQGw2QPGQ9o/PhZrS0v3IPpooFrpwgChYniidq6fnTnvrBSaA3Uc3A/1uvPuSmEA0f0uFLsyBKcZDjaisvSj8DsFW6pbcHPQpV12WQoBCHhri4taEOGwhJAXjeeBgFebn1eyp0LKi1Ym0rCsXieRqLk06HVetFqJwHmWnRz3yotHzabT9n0hpRxGZ0SjjpGKCEQkxgUtWDlbCyMfIi/qTHMgrDf7srCem5mQDS5YQNKRD2vCuQLMhCVM3bwIiK4PLIUYqrp5EXPFeGWFALO8CEdGddId7NYOHWFQUa1cUO4Fty78/fZW6tFrjx7gqfqAT0PbmWAqVCwq+bDUOxMeyokh6L8B1J1kE2BgIkACJMDyAbSx56/cACV3CoyOjfX9rNSrcrI7E/qVYYCnYhKY3LXkJECVOdx+Us51m6Nwm7HVQyUCf4UGEJuFZPMgIhC+XlYfw21WWQ/GxXJ50q09iBS1MSjYW73ww3SXMVXOobsk4MU80GQZc5DQbl5tOzWRRpS8nJqy1tUAzWZ7ecvKDdfdggWfTV0GbdnA4JB1UdhbHjo0LesAS6YWa2GaCQRIgARIESABEiABUgRIgARYRoAVYtBWBfcL/xb8hwS6av8VYADVjF2M5sTWJAAAAABJRU5ErkJggg=="></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div class="page" style="font-size:12px;">
|
||||
<br>
|
||||
<br>
|
||||
<div>
|
||||
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -14,17 +14,17 @@ if(!empty($companyinfo))
|
||||
|
||||
|
||||
?>
|
||||
<style>
|
||||
<!-- <style>
|
||||
@page { margin: 298px 25px 30px 25px; }
|
||||
.header { position: fixed; left: 0px; top: -280px; right: 0px; height: 500px;text-align: center; }
|
||||
.footer { position: fixed; bottom: 0px;}
|
||||
.pagenum:before { content: counter(page); }
|
||||
</style>
|
||||
</style> -->
|
||||
<body style="font-family: sans-serif;">
|
||||
<div class="footer" style="font-size:12px;">
|
||||
<!-- <div class="footer" style="font-size:12px;">
|
||||
|
||||
Page: <span class="pagenum"></span>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="header">
|
||||
<div style="text-align: left;">
|
||||
@ -45,6 +45,7 @@ if(!empty($companyinfo))
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br><br>
|
||||
<div class="page" style="font-size:12px;">
|
||||
<p><strong>Employeer ESIC account No</strong>: <strong>51001187050000999 </strong></p>
|
||||
<table style="border-collapse: collapse;" border="1" width="100%" cellspacing="0" cellpadding="0">
|
||||
|
||||
4
application/views/includes/bankreport_footer.php
Normal file
4
application/views/includes/bankreport_footer.php
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user