<?php
include('../common/db_connection.php');
$Mainclass=new DB_Controller();
$Mainclass->Employee_COOKIE_Check();
$empid=base64_decode($_REQUEST['id']);
$year=$_REQUEST['y'];
$month=$_REQUEST['m'];
$fetch_emp=$Mainclass->Fetch_needed_datas('employee_master',"*","Emp_Temp_Id",$empid);
$designation=$Mainclass->Fetch_needed_datas('designation_master',"Designation_Name","SLN",$fetch_emp['Designation']);
$department=$Mainclass->Fetch_needed_datas('department_master',"Department_Name","SLN",$fetch_emp['Department']);
$fetch_attendance=$Mainclass->application_fetch('employee_salary_attendance',"Emp_Id='".$empid."' and Salary_Month='".$month."' and Salary_Year='".$year."'");
$Employeee_Attendance=$Mainclass->Fetch_needed_datas("attendance_master","sum(Working_hour) as Attendance","Emp_Temp_Id","'".$empid."' and MONTH(Attendance_Date) ='".$month."' and YEAR(Attendance_Date) ='".$year."'");
$personalinfo=$Mainclass->Fetch_needed_datas('employee_personal_info',"*","Emp_Temp_Id",$empid);
$paymentdetails=$Mainclass->Fetch_needed_datas('temp_employee_payment_details',"*","Emp_Temp_Id",$empid);
//$fetch_component=$Mainclass->application_fetch('employee_salary_calculation',"Emp_Id='".$empid."' and Salary_Month='".idate('m')."' and Salary_Year='".$year."'");
$fetch_salary_generation=$Mainclass->application_fetch('employee_salary_generation_master',"Emp_Id='".$empid."' and Salary_Month='".$month."' and Salary_Year='".$year."'");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>

<TITLE>SALARY SLIP</TITLE>
<META name="generator" content="BCL easyConverter SDK 5.0.210">
<STYLE type="text/css">

body {margin-top: 0px;margin-left: 0px;}






.dclr {clear:both;float:none;height:1px;margin:0px;padding:0px;overflow:hidden;}



</STYLE>
</HEAD>

<BODY>
<center>
<DIV id="" style="position:relative; overflow: hidden; 0px; border: 1px solid #333;width: 1071px;">

<div class="logo" style="
    margin-top: 28px;
    margin-left: 24px;
	text-align:left;
">
<img src="logo.png" style="
    width: 140px;
">
</div>

<div>
<P class="" style="text-align: left;
    padding-left: 353px;
    margin-top: -42px;
    margin-bottom: 0px;
    font: 20px 'Arial';
    line-height: 26px;">Buurtzorg Edugreen Neighborhood Care India Pvt. Ltd</P>
<P class="" style="text-align: left;
    padding-left: 342px;
    margin-top: 1px;
    margin-bottom: 0px;
    font: 12px 'Arial';
    line-height: 15px;"><SPAN class="" style="font: bold 12px 'Arial';line-height: 15px;">Registered Office Address: </SPAN>603, P S Srijan Corporate Park II, Block - GP, Sector V, Salt Lake,</P>
<P class="" style="text-align: left;
    padding-left: 463px;
    margin-top: 1px;
    margin-bottom: 0px;
    font: 12px 'Arial';
    line-height: 15px;">Kolkata , Kolkata - 700078, West Bengal , India</P></div>
<?php 
$monthNum  = $month;
$dateObj   = DateTime::createFromFormat('!m', $monthNum);
$monthName = $dateObj->format('F'); // March
?>
<P class="" style="text-align: left;
    margin-top: 43px;
    margin-bottom: 0px;
    border: 1px solid #333;
    padding: 5px 390px;
    width: 348px;
    margin-left: -1px;
    font: 17px 'Arial';
    line-height: 19px;">Salary Slip for <?php echo $monthName." ".$year; ?></P>
<TABLE cellpadding=0 cellspacing=0 style="width:100%; margin-top: 38px; font: 12px 'Arial';">
<TR>
	<TD colspan=2 class="" style="border-top: #999999 1px solid;
    padding: 0px;
    margin: 0px;
    width: 304px;
    vertical-align: bottom;
    height: 18px;"><P class="" style="text-align: left;
    padding-left: 13px;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: bold 12px 'Arial';
    line-height: 15px;"><SPAN class="" style="font: 12px 'Arial';
    line-height: 15px;">Employee Name: </SPAN><?php echo $fetch_emp['Emp_First_Name']." ".$fetch_emp['Emp_Middle_Name']." ".$fetch_emp['Emp_Last_Name']; ?></P></TD>
	<TD class="" style="border-right: #999999 1px solid;
    border-top: #999999 1px solid;
    padding: 0px;
    margin: 0px;
    width: 52px;
    vertical-align: bottom;
    height: 18px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 1px;">&nbsp;</P></TD>
	<TD class="" style="border-right: #999999 1px solid;
    border-top: #999999 1px solid;
    padding: 0px;
    margin: 0px;
    width: 179px;
    vertical-align: bottom;
    height: 18px;"><P class="" style="text-align: left;
    padding-left: 12px;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 12px 'Arial';
    line-height: 15px;">Employee Type: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;">Full Time</SPAN></P></TD>
	<TD class="" style="border-top: #999999 1px solid;
    padding: 0px;
    margin: 0px;
    width: 176px;
    vertical-align: bottom;
    height: 18px;"><P class="" style="text-align: left;
    padding-left: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 12px 'Arial';
    line-height: 15px;">Emp No.: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;"><?php echo $fetch_emp['Employee_Id']; ?></SPAN></P></TD>
</TR>
<TR>
	<TD class="" style="border-bottom: #999999 1px solid;
    padding: 0px;
    margin: 0px;
    width: 181px;
    vertical-align: bottom;
    height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
	<TD class="" style="border-bottom: #999999 1px solid;
    padding: 0px;
    margin: 0px;
    width: 123px;
    vertical-align: bottom;
    height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
	<TD class="" style="border-right: #999999 1px solid;
    border-bottom: #999999 1px solid;
    padding: 0px;
    margin: 0px;
    width: 52px;
    vertical-align: bottom;
    height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 6px;"><P class=""  style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD class="" style="padding: 0px;
    margin: 0px;
    width: 181px;
    vertical-align: bottom;
    height: 18px;"><P class="" style="text-align: left;
    padding-left: 13px;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 12px 'Arial';
    line-height: 15px;">Designation: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;"><?php echo ($designation['Designation_Name']) ?></SPAN></P></TD>
	<TD class="" style="padding: 0px;
    margin: 0px;
    width: 123px;
    vertical-align: bottom;
    height: 18px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 18px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 18px;"><P style="text-align: left;     padding-left: 12px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Duration: <?php if($fetch_emp['Active']=="Yes"){echo "Continue";} ?></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 18px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 6px;"><P class="" style="text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
    font: 1px 'Arial';
    line-height: 6px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 13px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Department: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;"><?php echo  $department['Department_Name'];?></SPAN></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 19px;"><P style="text-align: right;     padding-right: 27px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Total Month Days: <?php echo date('t'); ?></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 13px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Date of Joining: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;"><?php if($fetch_emp['Date_Of_Joining']!="0000-00-00"){echo $fetch_emp['Date_Of_Joining'];}else {echo "N.A.";};?></SPAN></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<?php
	if($fetch_emp['Emp_Type']==0)
	{
	?>
	<TD style="padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 39px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Working Days: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;"><?php echo $fetch_attendance['Total_Present']; ?></SPAN></P></TD>
	<?php
	}
	else
	{
		?>
		<TD style="padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 39px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Working Hours: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;"><?php echo $Employeee_Attendance['Attendance']; ?></SPAN></P></TD>
		<?php
	}
	?>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 13px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">PF Number: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;">N.A.</SPAN></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 10px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">UAN Number: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;">N.A.</SPAN></P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 12px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">ESIC Number: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;">N.A.</SPAN></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 19px;"><P style="text-align: right;     padding-right: 101px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 11px 'Arial';     line-height: 14px;">PAN Number:</P><?php echo $personalinfo['Pan_No'];?></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 5px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 5px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 5px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 2px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Location:</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 12px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Total Arrears: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;">0</SPAN></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 10px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">LOP: <SPAN style="font: bold 12px 'Arial';     line-height: 15px;">0</SPAN></P></TD>
</TR>
<TR>
	<TD colspan=2 style="padding: 0px;     margin: 0px;     width: 304px;     vertical-align: bottom;     height: 20px;"><P style="text-align: left;     padding-left: 2px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"><?php echo $personalinfo['Address_Line1']." ".$personalinfo['Address_Line2'] ?></P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD colspan=2 style="padding: 0px;     margin: 0px;     width: 304px;     vertical-align: bottom;     height: 20px;"><P style="text-align: left;     padding-left: 2px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"><?php echo $personalinfo['City']; ?>,<NOBR><?php echo $personalinfo['State']; ?>-<?php echo $personalinfo['Pincode']; ?></NOBR></P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 18px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 18px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 14px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 5px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 13px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"><SPAN class="ft2">Bank Name: </SPAN><?php if($paymentdetails['Bank_Name']!=""){echo $paymentdetails['Bank_Name'];}else{echo "NA";} ?></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 10px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Account No:</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: right;     padding-right: 26px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">IFSC Code: <SPAN class="ft11"<?php if($paymentdetails['IFSC']!=""){echo $paymentdetails['IFSC'];}else{echo "NA";} ?></SPAN></P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P class="p13 ft12"></P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 15px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: right;     padding-right: 7px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: bold 13px 'Arial';     line-height: 15px;"><?php if($paymentdetails['Account_No']!=""){echo $paymentdetails['Account_No'];}else{echo "NA";} ?></P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD rowspan=2 style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 21px;"><P style="text-align: right;     padding-right: 54px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 13px 'Arial';     line-height: 16px;"><?php if($paymentdetails['Bank_Name']!=""){echo $paymentdetails['Bank_Name'];}else{echo "NA";} ?></P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 5px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 24px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 53px;     vertical-align: bottom;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 6px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 21px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD colspan=2 style="padding: 0px;     margin: 0px;     width: 304px;     vertical-align: bottom;     height: 20px;"><P style="text-align: left;     padding-left: 154px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: bold 12px 'Arial';     line-height: 15px;">Earnings</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD colspan=2 style="padding: 0px;     margin: 0px;     width: 356px;     vertical-align: bottom;"><P style="font: bold 12px 'Arial';">Deductions</P></TD>
</TR>
<TR>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 181px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD colspan=2 style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 175px;     vertical-align: bottom;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 7px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: bold 12px 'Arial';     line-height: 15px;">Components</P></TD>
	<TD colspan=2 style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 175px;     vertical-align: bottom;"><P style="text-align: right;     padding-right: 9px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Amount (Rs.)</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 6px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: bold 12px 'Arial';     line-height: 15px;">Common Deductions</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 19px;"><P style="text-align: right;     padding-right: 35px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Amount (Rs.)</P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 5px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
</TR>
<?php 
$fetch_component=$Mainclass->Get_Required_Field('employee_salary_calculation','*',"Emp_Id='".$empid."' and Salary_Month='".idate('m')."' and Salary_Year='".$year."'");
foreach($fetch_component as $component)
{
?>
<TR>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 15px;"><P style="text-align: left;     padding-left: 13px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"><?php echo $component['Component_Name']; ?></P><hr/></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P><hr/></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 18px;"><P style="text-align: right;     padding-right: 35px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"><?php echo $component['Calculated_Amount']; ?></P><hr/></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 12px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"></P><hr/></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 18px;"><P style="text-align: right;     padding-right: 35px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"></P><hr/></TD>
</TR>
<?php 
}
?>
<TR>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 15px;"><P style="text-align: left;     padding-left: 13px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Gross Earning (A)</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 18px;"><P style="text-align: right;     padding-right: 9px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"><?php echo $fetch_salary_generation['Total_Payout_Amount']; ?></P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 12px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Total Deductions (B)</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 18px;"><P style="text-align: right;     padding-right: 35px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">0</P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 5px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 179px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     padding-left: 13px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;">Net Pay (A - B)</P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 19px;"><P style="text-align: right;     padding-right: 9px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 12px 'Arial';     line-height: 15px;"><?php echo $fetch_salary_generation['Total_Payout_Amount']; ?></P></TD>
	<TD style="padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 19px;"><P style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 1px;">&nbsp;</P></TD>
	<?php $Round=round($fetch_salary_generation['Total_Payout_Amount']);?>
	<TD rowspan=2 style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 176px;     vertical-align: bottom;     height: 25px;"><P style="text-align: right;     padding-right: 26px;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 13px 'Arial';     line-height: 16px;"><?php echo AmountConvervrtToWord($Round);?></NOBR></P></TD>
</TR>
<TR>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 5px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 123px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-right: #999999 1px solid;     border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 52px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
	<TD style="border-bottom: #999999 1px solid;     padding: 0px;     margin: 0px;     width: 180px;     vertical-align: bottom;     height: 6px;"><P  style="text-align: left;     margin-top: 0px;     margin-bottom: 0px;     white-space: nowrap;     font: 1px 'Arial';     line-height: 6px;">&nbsp;</P></TD>
</TR>
</TABLE>
<P style="text-align: center;"><SPAN style="font: bold 12px 'Arial';     line-height: 15px;">Note: </SPAN>This is a Computer Generated Slip and does not require signature.</P>

</DIV>

</center>
</BODY>
</HTML>
