align in payslipgenerate.php

This commit is contained in:
saravanakumar_kandasami 2017-04-22 18:07:07 +05:30
parent 4f6f599666
commit 6789afacf1
6 changed files with 232 additions and 369 deletions

View File

@ -0,0 +1,16 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2017-04-22 10:48:09 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
ERROR - 2017-04-22 10:48:09 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
ERROR - 2017-04-22 13:50:44 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
ERROR - 2017-04-22 13:50:44 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
ERROR - 2017-04-22 13:51:19 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
ERROR - 2017-04-22 13:51:19 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86
ERROR - 2017-04-22 13:54:31 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 83
ERROR - 2017-04-22 13:54:32 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 83
ERROR - 2017-04-22 14:07:27 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 83
ERROR - 2017-04-22 14:07:27 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 83
ERROR - 2017-04-22 14:08:39 --> Severity: Warning --> file_put_contents(C:\Users\Venba Saravana\AppData\Local\Temp\ca_B9F7.tmp): failed to open stream: Permission denied C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\image_cache.cls.php 144
ERROR - 2017-04-22 14:08:39 --> Severity: Notice --> getimagesize(): Read error! C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\functions.inc.php 699
ERROR - 2017-04-22 14:28:14 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
ERROR - 2017-04-22 14:28:14 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79

View File

@ -2,8 +2,7 @@
class Payroll_model extends CI_Model
{
/**
* This function is used to insert the File details in database
* @FileDetails array : This will have the set of value which we need to insert into database
@ -47,6 +46,7 @@ class Payroll_model extends CI_Model
return $query->result();
}
}
/**
* This function is used to insert the File data in database
* @FileDetails array : This will have the set of value which we need to insert into database

View File

@ -1 +1 @@
<span style='color: #900'>4,096 KB</span> <span style='color: #090'>351.7082 ms</span><br />
<span style='color: #900'>8,192 KB</span> <span style='color: #090'>541.3120 ms</span><br />

View File

@ -1,110 +1,56 @@
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content">
<!-- Dashboard for Account department-->
<?php
if($role == ROLE_ACCOUNTS)
{
?>
<!-- Content Wrapper. Contains page content -->
if($role == ROLE_ACCOUNTS)
{
?>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Account Department Dashboard
</h1>
<center><h1> Account Department Dashboard</h1> </center>
</section>
<!-- Main content -->
<section class="content">
<!-- Info boxes -->
<center>
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-aqua"><i class="ion ion-ios-gear-outline"></i></span>
<div class="info-box-content">
<span class="info-box-text">CPU Traffic</span>
<span class="info-box-number">90<small>%</small></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-red"><i class="fa fa-google-plus"></i></span>
<div class="info-box-content">
<span class="info-box-text">Likes</span>
<span class="info-box-number">41,410</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<!-- fix for small devices only -->
<div class="clearfix visible-sm-block"></div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-green"><i class="ion ion-ios-cart-outline"></i></span>
<div class="info-box-content">
<span class="info-box-text">Sales</span>
<span class="info-box-number">760</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="clearfix visible-sm-block"></div>
<div class="col-md-4 col-md-offset-4 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="ion ion-ios-people-outline"></i></span>
<div class="info-box-content">
<span class="info-box-text">New Members</span>
<span class="info-box-number">2,000</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
<span class="info-box-text">Employees</span>
<span class="info-box-number">33</span>
</div>
</div>
</div>
<!-- /.col -->
</div>
</center>
<div>
<h3>Guidiness:</h3><p> # PaySlip menu in header has two sub menu ( 1.Upload Salary , 2.PaySlip Generator)<br/>
# Upload salary menu is to upload the salary excel file in database<br/>
# Payslip generator menu is to generate the salary details for indivigual or all employee</p> </div>
<!-- /.row -->
</section>
<!-- /.content -->
<center>
<h1><b>Guidiness:</b></h1><h3> # PaySlip menu in header has two sub menu ( 1.Upload Salary , 2.PaySlip Generator)<br/>
# Upload salary menu is to upload the salary excel file in database<br/>
# Payslip generator menu is to generate the salary details for indivigual or all employee</h3>
</center>
</div>
</section>
</div>
<!-- /.content-wrapper -->
<?php
}
?>
<?php
if($role == ROLE_ADMIN)
{
?>
<div class="content-wrapper">
<?php
}
?>
<!-- Dashboard for admin-->
<?php
if($role == ROLE_ADMIN)
{
?>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Admin Dashboard
</h1>
<h1> Admin Dashboard </h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
@ -113,7 +59,6 @@
<div class="small-box bg-aqua">
<div class="inner">
<h3>150</h3>
<p>New Orders</p>
</div>
<div class="icon">
@ -172,9 +117,9 @@
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php
}
?>
<?php
}
?>
</section>
</div>

View File

@ -1,7 +1,4 @@
<script>
$(function() {
@ -62,64 +59,56 @@ $(function() {
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - PaySlip Generator</center>
</h1>
<h1><center>Siddharth Industries - PaySlip Generator</center> </h1>
</section>
<section class="content">
<div class="row" style="border:2px dotted; padding:5%">
<form id="PayslipGenerator" action="<?php echo base_url() ?>PrintPdf" method="post" role="form" >
<div class="row" >
<div class="col-md-4">
<span for="selectmonth">Select Month</span>
<select id="PayOn" name="PayOn" class="form-control select2" style="width: 100%;">
<option value="-1">Select Payon Month</option>
<?php
if(!empty($Payon))
{
foreach ($Payon as $rl)
{
$Pay =$rl->PayOn;
if ($_POST['PayOn'] == $Pay)
<div class="col-md-4">
<span for="selectmonth">Select Month</span>
<select id="PayOn" name="PayOn" class="form-control select2" style="width: 100%;">
<option value="-1">Select Payon Month</option>
<?php
if(!empty($Payon))
{
foreach ($Payon as $rl)
{
$Pay =$rl->PayOn;
if ($_POST['PayOn'] == $Pay)
{
echo "<option value=\"".$Pay."\" selected=\"selected\">".$Pay."</option>";
echo "<option value=\"".$Pay."\" selected=\"selected\">".$Pay."</option>";
}
else
{
echo "<option value=\"".$Pay."\">".$Pay."</option>";
}
}
else
{
echo "<option value=\"".$Pay."\">".$Pay."</option>";
}
}
}
?>
}
?>
</select>
</div>
<div id="content"></div>
<div class="col-md-4 col-md-offset-2">
<div id="content"></div>
<div class="col-md-4 col-md-offset-2">
<div class="row">
<span>Employee</span>
<select id="Employee" name="Employee" class="form-control select2" type="text" class="form-control">
<option value="-1">Select Employee</option>
</select>
<option value="-1">Select Employee</option>
</select>
</div>
<div class="row">
<input type="checkbox" name="All" id="All" > Select All<br>
</div>
</div>
<div class="row" >
</div>
</div>
</div>
<div class="col-md-4 col-md-offset-6" align = "right">
<input type="submit" class="btn btn-info" value="Generate" />
</div>
</div>
</div>
<div class="row">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
@ -148,9 +137,9 @@ $(function() {
</div>
</div>
</div>
</div>
</section>
</div>

View File

@ -164,239 +164,152 @@ if($RecCount > 0)
?>
<div style="border:1px solid">
<table>
<tr>
<td>
<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>
<td>
<center><h3>Siddharth Industries</h3> </center>
Survey No: 168/1C3,
Pennalur Pet Road,
Goonipalyam village,
Uthukottai Taluk,
Tiruvallur Dist,
Chennai,Tamilnadu,
Pin code : 602026.
<br/>PaySlip for the month - <?php echo $PayOn ?></td></tr></table>
<table>
<tr>
<td>
<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>
<td>
<center><h3>Siddharth Industries</h3> </center> Survey No: 168/1C3,Pennalur Pet Road,Goonipalyam village, Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.<br/>PaySlip for the month - <?php echo $PayOn ?>
</td>
</tr>
</table>
<hr/>
<table>
<tr>
<td width="180px;">
Name :
</td>
<td width="160px;">
<?php echo $FirstName ?>
</td>
<td width="200px;">
Employee ID :
</td>
<td width="300px;">
<?php echo $EmpID ?>
</td>
</tr>
<tr>
<td width="180px;">
Desigination :
</td>
<td width="160px;">
<?php echo $Designation ?>
</td>
<td width="100px;">
Department :
</td>
<td width="100px;">
<?php echo $DeptName ?>
</td>
</tr>
<tr>
<td width="180px;">
Date Of Joining :
</td>
<td width="160px;">
<?php echo $DateofJoining ?>
</td>
<td width="200px;">
Days Worked :
</td>
<td width="300px;">
<?php echo $NoOfWorkingdays ?>
</td>
</tr>
<tr>
<td width="180px;">
Date Of Birth :
</td>
<td width="160px;">
<?php echo $DateofBirth ?>
</td>
<td width="200px;">
No Of Working Days:
</td>
<td width="300px;">
<?php echo $TotalNoofDays ?>
</td>
</tr>
<tr>
<td width="180px;">
PF Account Number :
</td>
<td width="160px;">
<?php echo $PFnumber ?>
</td>
<td width="100px;">
Balance Advance :
</td>
<td width="300px;">
<?php echo $BalanceAdvance ?>
</td>
</tr>
<tr>
<td width="180px;">
Bank Name :
</td>
<td width="160px;">
<?php echo $BankBranchName ?>
</td>
<td width="100px;">
OT in Hours:
</td>
<td width="300px;"><?php echo $OTWages ?>
</td>
</tr>
<tr>
<td width="180px;">
Bank IFSC :
</td>
<td width="160px;"> <?php echo $IFSCCode ?>
</td>
<td width="100px;">
ESI Account Number :
</td>
<td width="300px;">
<?php echo $ESInumber ?>
</td>
</tr>
<tr>
<td width="180px;">
Bank Account Number :
</td>
<td width="160px;">
<?php echo $BankAccountNo ?>
</td>
<td width="100px;">
Loss Of Pay :
</td>
<td width="300px;"> <?php echo $LossofPay ?>
</td>
</tr>
<tr>
<td width="180px;">
PAN Number :
</td>
<td width="160px;">
QWERS3423E
</td>
<td width="100px;">
UAN Number :
</td>
<td width="300px;">
101033275864
</td>
</tr>
<tr>
<td width="180px;"> Name : </td>
<td width="160px;"> <?php echo $FirstName ?> </td>
<td width="200px;">Employee ID :</td>
<td width="300px;"><?php echo $EmpID ?> </td>
</tr>
<tr>
<td width="180px;"> Desigination :</td>
<td width="160px;"> <?php echo $Designation ?></td>
<td width="100px;"> Department : </td>
<td width="100px;"> <?php echo $DeptName ?> </td>
</tr>
<tr>
<td width="180px;"> Date Of Joining : </td>
<td width="160px;"> <?php echo $DateofJoining ?> </td>
<td width="200px;"> Days Worked : </td>
<td width="300px;"> <?php echo $NoOfWorkingdays ?> </td>
</tr>
<tr>
<td width="180px;"> Date Of Birth : </td>
<td width="160px;"> <?php echo $DateofBirth ?> </td>
<td width="200px;"> No Of Working Days: </td>
<td width="300px;"> <?php echo $TotalNoofDays ?> </td>
</tr>
<tr>
<td width="180px;"> PF Account Number : </td>
<td width="160px;"><?php echo $PFnumber ?> </td>
<td width="100px;">Balance Advance :</td>
<td width="300px;"><?php echo $BalanceAdvance ?> </td>
</tr>
<tr>
<td width="180px;"> Bank Name : </td>
<td width="160px;"> <?php echo $BankBranchName ?></td>
<td width="100px;"> OT in Hours: </td>
<td width="300px;"><?php echo $OTWages ?> </td>
</tr>
<tr>
<td width="180px;"> Bank IFSC : </td>
<td width="160px;"> <?php echo $IFSCCode ?> </td>
<td width="100px;"> ESI Account Number : </td>
<td width="300px;"><?php echo $ESInumber ?> </td>
</tr>
<tr>
<td width="180px;">Bank Account Number :</td>
<td width="160px;"> <?php echo $BankAccountNo ?></td>
<td width="100px;">Loss Of Pay : </td>
<td width="300px;"> <?php echo $LossofPay ?> </td>
</tr>
<tr>
<td width="180px;"> PAN Number :</td>
<td width="160px;"> QWERS3423E </td>
<td width="100px;">UAN Number : </td>
<td width="300px;"> 101033275864 </td>
</tr>
</table>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<table border="2" width="100%">
<tr>
<th>Earnings</th>
<th>Amount</th>
</tr>
<tr>
<td>Basic Plus DA</td>
<td align="right"><?php echo $BasicAndDA ?></td>
</tr>
<tr>
<td>House Rent Allowance</td>
<td align="right"><?php echo $HRA ?></td>
</tr>
<tr>
<td>Food Allowance</td>
<td align="right"><?php echo $FoodAllowance ?></td>
</tr>
<tr>
<td>OT Salary</td>
<td align="right"><?php echo $OTSalary ?> </td>
</tr>
<tr>
<td>Incentive</td>
<td align="right"><?php echo $Incentive ?></td>
</tr>
</table></td>
<td>
<table width="100%">
<tr>
<th>Deductions</th>
<th>Amount</th>
</tr>
<tr>
<td>Provident Fund</td>
<td align="right"><?php echo $PF ?></td>
</tr>
<tr>
<td>Employee State Insurance</td>
<td align="right"><?php echo $ESI ?></td>
</tr>
<tr>
<td>Advance</td>
<td align="right"><?php echo $Advance ?></td>
</tr>
</table></td>
</tr>
</table>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<table border="2" width="100%">
<tr>
<th>Earnings</th>
<th>Amount</th>
</tr>
<tr>
<td>Basic Plus DA</td>
<td align="right"><?php echo $BasicAndDA ?></td>
</tr>
<tr>
<td>House Rent Allowance</td>
<td align="right"><?php echo $HRA ?></td>
</tr>
<tr>
<td>Food Allowance</td>
<td align="right"><?php echo $FoodAllowance ?></td>
</tr>
<tr>
<td>OT Salary</td>
<td align="right"><?php echo $OTSalary ?> </td>
</tr>
<tr>
<td>Incentive</td>
<td align="right"><?php echo $Incentive ?></td>
</tr>
</table>
</td>
<td>
<table width="100%">
<tr>
<th>Deductions</th>
<th>Amount</th>
</tr>
<tr>
<td>Provident Fund</td>
<td align="right"><?php echo $PF ?></td>
</tr>
<tr>
<td>Employee State Insurance</td>
<td align="right"><?php echo $ESI ?></td>
</tr>
<tr>
<td>Advance</td>
<td align="right"><?php echo $Advance ?></td>
</tr>
</table>
</td>
</tr>
</table>
<table border="1" width="100%">
<tr><td>
<table width="100%">
<tr>
<th>Total Earning (Rounded) (TE)</th>
<th align="right"><?php echo $TotalSalary ?></th>
</tr>
</table></td>
<td>
<table width="100%">
<tr>
<th>Total Deduction (Rounded)(TD)</th>
<th align="right"><?php echo $ESIAndPF ?></th>
</tr>
</table>
</tr>
</table>
<table border="1" width="100%">
<tr>
<td>
<table width="100%">
<tr>
<th>Total Earning (Rounded) (TE)</th>
<th align="right"><?php echo $TotalSalary ?></th>
</tr>
</table>
</td>
<td>
<table width="100%">
<tr>
<th>Total Deduction (Rounded)(TD)</th>
<th align="right"><?php echo $ESIAndPF ?></th>
</tr>
</table>
</tr>
</table>
<table width="100%">
<tr><th align="right">Net Pay (Rounded) :</th>
<th align="right"><?php echo $LessAdvance ?></th></tr>
</table>
<table width="100%">
<tr>
<th align="right">Net Pay (Rounded) :</th>
<th align="right"><?php echo $LessAdvance ?></th>
</tr>
</table>
<hr/>
<div><center> This is a computer generated document. This does not require signature. </center></div>
</div>