PAYROLL CHANGES
This commit is contained in:
parent
f1888702b1
commit
c82b2e21f0
@ -486,12 +486,12 @@ function getEmployee()
|
||||
|
||||
$EmpId = $sheet->getCell('A'.$x)->getValue();
|
||||
$EmpId=strtoupper($EmpId);
|
||||
$LOPDays = $sheet->getCell('B'.$x)->getValue();
|
||||
$OTHoursWorked =$sheet->getCell('C'.$x)->getValue();
|
||||
$loanRecovered=$sheet->getCell('D'.$x)->getValue();
|
||||
$LOPDays = $sheet->getCell('C'.$x)->getValue();
|
||||
$OTHoursWorked =$sheet->getCell('D'.$x)->getValue();
|
||||
$loanRecovered=$sheet->getCell('E'.$x)->getValue();
|
||||
//$loanBalance=$sheet->getCell('E'.$x)->getValue();
|
||||
$Incentive =$sheet->getCell('E'.$x)->getValue();
|
||||
$Other_Deductions =$sheet->getCell('F'.$x)->getValue();
|
||||
$Incentive =$sheet->getCell('F'.$x)->getValue();
|
||||
$Other_Deductions =$sheet->getCell('G'.$x)->getValue();
|
||||
|
||||
if( $EmpId != '')
|
||||
{
|
||||
|
||||
@ -50,8 +50,9 @@ class emppaydate_model extends CI_Model
|
||||
|
||||
function emppayListing($searchText = '', $page, $segment)
|
||||
{
|
||||
$this->db->select('*');
|
||||
$this->db->select('T_Emp_Pay_Data.*,T_Employee_Details.FirstName,T_Employee_Details.LastName');
|
||||
$this->db->from('T_Emp_Pay_Data');
|
||||
$this->db->join('T_Employee_Details','T_Emp_Pay_Data.EmpID=T_Employee_Details.EmpID');
|
||||
|
||||
|
||||
if(!empty($searchText)) {
|
||||
@ -98,11 +99,12 @@ class emppaydate_model extends CI_Model
|
||||
}
|
||||
function getUserInfo($paydataid)
|
||||
{
|
||||
$this->db->select();
|
||||
$this->db->select('T_Emp_Pay_Data.*,T_Employee_Details.FirstName,T_Employee_Details.LastName');
|
||||
$this->db->from('T_Emp_Pay_Data');
|
||||
$this->db->join('T_Employee_Details','T_Emp_Pay_Data.EmpID=T_Employee_Details.EmpID');
|
||||
//$this->db->where('isDeleted', 0);
|
||||
//$this->db->where('roleId !=', 1);
|
||||
$this->db->where('Pay_Data_ID', $paydataid);
|
||||
$this->db->where('T_Emp_Pay_Data.Pay_Data_ID', $paydataid);
|
||||
$query = $this->db->get();
|
||||
//print_r($query->result());
|
||||
//die();
|
||||
|
||||
@ -41,8 +41,10 @@ class monthlypay_model extends CI_Model
|
||||
*/
|
||||
function monthlyListing($searchText = '', $page, $segment)
|
||||
{
|
||||
$this->db->select('*');
|
||||
$this->db->select('T_Monthly_Pay_Inputs.*,T_Employee_Details.FirstName,T_Employee_Details.LastName');
|
||||
$this->db->from('T_Monthly_Pay_Inputs');
|
||||
$this->db->join('T_Employee_Details','T_Monthly_Pay_Inputs.EmpID=T_Employee_Details.EmpID');
|
||||
//$this->db->where('month.EmpID=mast.EmpID');
|
||||
$this->db->order_by("Month_Year", "desc");
|
||||
|
||||
|
||||
@ -57,7 +59,7 @@ class monthlypay_model extends CI_Model
|
||||
OR Other_Deductions LIKE '%".$searchText."%'
|
||||
|
||||
)";
|
||||
$this->db->where($likeCriteria);
|
||||
$this->db->where('T_Monthly_Pay_Inputs.EmpID',$likeCriteria);
|
||||
}
|
||||
|
||||
$this->db->limit($page, $segment);
|
||||
@ -82,12 +84,13 @@ function addNewmonthlisting($m_list)
|
||||
}
|
||||
function getUserInfo($EmpID,$month_year)
|
||||
{
|
||||
$this->db->select('Month_Year, EmpID, LOP_Days, OT_Hrs_Worked, Loan_Recovered,Incentives, Other_Deductions, Created_By, Created_Time, Last_Mod_By, Last_Mod_Time');
|
||||
$this->db->select('T_Monthly_Pay_Inputs.*,T_Employee_Details.FirstName,T_Employee_Details.LastName');
|
||||
$this->db->from('T_Monthly_Pay_Inputs');
|
||||
$this->db->join('T_Employee_Details','T_Monthly_Pay_Inputs.EmpID=T_Employee_Details.EmpID');
|
||||
//$this->db->where('isDeleted', 0);
|
||||
//$this->db->where('roleId !=', 1);
|
||||
$this->db->where('EmpID', $EmpID);
|
||||
$this->db->where('Month_Year', $month_year);
|
||||
$this->db->where('T_Monthly_Pay_Inputs.EmpID', $EmpID);
|
||||
$this->db->where('T_Monthly_Pay_Inputs.Month_Year', $month_year);
|
||||
$query = $this->db->get();
|
||||
|
||||
return $query->result();
|
||||
|
||||
@ -48,6 +48,7 @@ if (loan == paid)
|
||||
|
||||
$Pay_Data_ID='';
|
||||
$EmpID='';
|
||||
$Empname="";
|
||||
$Basic_Pay='';
|
||||
$HRA_Rate='';
|
||||
$OT_Rate='';
|
||||
@ -82,6 +83,7 @@ if(!empty($emppay))
|
||||
|
||||
$Pay_Data_ID=$ep->Pay_Data_ID;
|
||||
$EmpID=$ep->EmpID;
|
||||
$Empname=$ep->FirstName ." ". $ep->LastName ;
|
||||
$TotalSalary=$ep->TotalSalary;
|
||||
$Basic_Pay=$ep->Basic_Pay;
|
||||
$HRA_Rate=$ep->HRA_Rate;
|
||||
@ -167,9 +169,25 @@ if(!empty($emppay))
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for ="Food_Allowances">Employee Name</span>
|
||||
<input type="text" class="form-control" id="EmpName" name="EmpName" value="<?php echo $Empname; ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="Basic_Pay">Total Salary</span><font color="Red">*</font>
|
||||
@ -177,11 +195,6 @@ if(!empty($emppay))
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
@ -201,14 +214,7 @@ if(!empty($emppay))
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="HRA_Rate">HRA_Amount</span><font color="Red">*</font>
|
||||
<input type="text" class="form-control required" id="HRA_Amount" name="HRA_Amount" value="<?php echo number_format($HRA_Amount,0,'',''); ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@ -221,6 +227,16 @@ if(!empty($emppay))
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="HRA_Rate">HRA_Amount</span><font color="Red">*</font>
|
||||
<input type="text" class="form-control required" id="HRA_Amount" name="HRA_Amount" value="<?php echo number_format($HRA_Amount,0,'',''); ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
@ -238,6 +254,8 @@ if(!empty($emppay))
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
@ -265,6 +283,8 @@ if(!empty($emppay))
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<legend>Loan Details</legend>
|
||||
@ -422,7 +442,7 @@ if(!empty($emppay))
|
||||
{
|
||||
?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<?php echo $this->session->flashdata('error'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@ -432,14 +452,14 @@ if(!empty($emppay))
|
||||
{
|
||||
?>
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<?php echo $this->session->flashdata('success'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php echo validation_errors('<div class="alert alert-danger alert-dismissable">', ' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button></div>'); ?>
|
||||
<?php echo validation_errors('<div class="alert alert-danger alert-dismissable">', ' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button></div>'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -498,6 +518,7 @@ function duecalculation()
|
||||
var noofdues=document.getElementById('no_of_due').value;
|
||||
$('#remaining_due').val(noofdues);
|
||||
$("#paid_due").val(0);
|
||||
$("#Paid_Amount").val(0);
|
||||
|
||||
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
|
||||
$Month_Year='';
|
||||
$EmpID='';
|
||||
$Empname='';
|
||||
$LOP_Days='';
|
||||
$OT_Hrs_Worked='';
|
||||
$Loan_Recovered='';
|
||||
@ -23,6 +24,7 @@ if(!empty($monthly))
|
||||
|
||||
$Month_Year=$mpi->Month_Year;
|
||||
$EmpID= $mpi->EmpID;
|
||||
$Empname=$mpi->FirstName ." ". $mpi->LastName;
|
||||
$LOP_Days=$mpi->LOP_Days;
|
||||
$OT_Hrs_Worked=$mpi->OT_Hrs_Worked;
|
||||
$Loan_Recovered=$mpi->Loan_Recovered;
|
||||
@ -73,7 +75,7 @@ else{
|
||||
}
|
||||
}
|
||||
|
||||
function validateLR(){
|
||||
function validateL(){
|
||||
var x = $("#Loan_Recovered").val();
|
||||
|
||||
var ck_lopdays = /^[0-9]{1,6}([.][0-9]{1,2})?$/;
|
||||
@ -179,7 +181,7 @@ function validateAll(){
|
||||
<form role="form" id="edit" action="<?php echo base_url() ?>monthlypay/editmonthly" method="post">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="month_year">Month Year:</span>
|
||||
@ -192,19 +194,27 @@ function validateAll(){
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="EmpID">Employee ID:</span>
|
||||
<input type="text" class="form-control" readonly id="EmployeeID" name="EmpID" value="<?php echo $EmpID; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="EmpID">Employee Name:</span>
|
||||
<input type="text" class="form-control" readonly id="EmployeeName" name="EmployeeName" value="<?php echo $Empname; ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="LOP_Days">LOP Days:</span>
|
||||
@ -216,31 +226,33 @@ function validateAll(){
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="OT_Hrs_Worked">OverTime Hours Worked:</span>
|
||||
<input type="text" class="form-control required" id="OT_Hrs_Worked" name="OT_Hrs_Worked" onfocusout="validateOTHRS();" pattern="([0-9]{1,2}([.][0-9]{1,2})?" value="<?php echo $OT_Hrs_Worked; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="Loan_Recovered">Loan Recovered:</span>
|
||||
<input type="text" class="form-control required" id="Loan_Recovered" name="Loan_Recovered" onfocusout="validateLR();" value="<?php echo $Loan_Recovered; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="Loan_Recovered">Loan Recovered:</span>
|
||||
<input type="text" class="form-control required" id="Loan_Recovered" name="Loan_Recovered" onfocusout="validateLR();" pattern="[0-9]{1,6}([.][0-9]{1,2})?" value="<?php echo $Loan_Recovered; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="Incentives">Incentives:</span>
|
||||
@ -248,26 +260,7 @@ function validateAll(){
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="Loan_Balance">Loan Balance:</span>
|
||||
<input type="text" class="form-control required" id="Loan_Balance" name="Loan_Balance" onfocusout="validateLB();"pattern="[0-9 ]{1,6}" value="<?php echo $Loan_Balance; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<span for="Other_Deductions">Other Deductions:</span>
|
||||
@ -275,10 +268,7 @@ function validateAll(){
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
|
||||
@ -36,6 +36,7 @@
|
||||
<tr bgcolor="steelblue">
|
||||
<th>Pay Data ID</th>
|
||||
<th>Employee ID</th>
|
||||
<th>Employee Name</th>
|
||||
<th>Total Salary</th>
|
||||
<th>Basic Pay</th>
|
||||
<th>HRA Rate</th>
|
||||
@ -61,6 +62,7 @@
|
||||
|
||||
<td><?php echo $record->Pay_Data_ID ?></td>
|
||||
<td><?php echo $record->EmpID ?></td>
|
||||
<td><?php echo $record->FirstName ." ". $record->LastName?></td>
|
||||
<td><?php echo number_format($record->TotalSalary,0,'',''); ?></td>
|
||||
<td><?php echo $record->Basic_Pay ?></td>
|
||||
<td><?php echo $record->HRA_Rate ?></td>
|
||||
|
||||
@ -49,6 +49,7 @@ speed:500
|
||||
<tr bgcolor="steelblue">
|
||||
<th>Month Year</th>
|
||||
<th>Employee Id</th>
|
||||
<th>Employee Name</th>
|
||||
<th>LOP Days</th>
|
||||
<th>OT Hours Worked</th>
|
||||
<th>Loan Recovered</th>
|
||||
@ -69,6 +70,7 @@ speed:500
|
||||
<tr>
|
||||
<td><?php echo $record->Month_Year ?></td>
|
||||
<td><?php echo $record->EmpID ?></td>
|
||||
<td><?php echo $record->FirstName ." ". $record->LastName ?></td>
|
||||
<td><?php echo $record->LOP_Days ?></td>
|
||||
<td><?php echo $record->OT_Hrs_Worked ?></td>
|
||||
<td><?php echo $record->Loan_Recovered ?></td>
|
||||
|
||||
@ -1,5 +1,78 @@
|
||||
<?php
|
||||
<?php
|
||||
// This Function For Converting number to words
|
||||
$invoiceTotalAmountInWords='';
|
||||
|
||||
function convertNumber($amt){
|
||||
$ShowPaise='0';
|
||||
$totalAmt=explode(".",$amt);
|
||||
|
||||
$number = $totalAmt[0];
|
||||
$no = $number;
|
||||
|
||||
if(!empty($totalAmt[1]) && $totalAmt[1]!=0){
|
||||
$point = $totalAmt[1];
|
||||
$ShowPaise='1';
|
||||
}
|
||||
else{
|
||||
$point=0;
|
||||
$ShowPaise='0';
|
||||
}
|
||||
|
||||
|
||||
$hundred = null;
|
||||
$digits_1 = strlen($no);
|
||||
|
||||
$i = 0;
|
||||
$str = array();
|
||||
$words = array('0' => '', '1' => 'One', '2' => 'Two',
|
||||
'3' => 'Three', '4' => 'Four', '5' => 'Five', '6' => 'Six',
|
||||
'7' => 'Seven', '8' => 'Eight', '9' => 'Nine',
|
||||
'10' => 'Ten', '11' => 'Eleven', '12' => 'Twelve',
|
||||
'13' => 'Thirteen', '14' => 'Fourteen',
|
||||
'15' => 'Fifteen', '16' => 'Sixteen', '17' => 'Seventeen',
|
||||
'18' => 'Eighteen', '19' =>'Nineteen', '20' => 'Twenty',
|
||||
'30' => 'Thirty', '40' => 'Forty', '50' => 'Fifty',
|
||||
'60' => 'Sixty', '70' => 'Seventy',
|
||||
'80' => 'Eighty', '90' => 'Ninety');
|
||||
$digits = array('', 'Hundred', 'Thousand', 'Lakh', 'Crore');
|
||||
while ($i < $digits_1) {
|
||||
$divider = ($i == 2) ? 10 : 100;
|
||||
$number = floor($no % $divider);
|
||||
$no = floor($no / $divider);
|
||||
$i += ($divider == 10) ? 1 : 2;
|
||||
if ($number) {
|
||||
$plural = (($counter = count($str)) && $number > 9) ? 's' : null;
|
||||
$hundred = ($counter == 1 && $str[0]) ? ' and ' : null;
|
||||
$str [] = ($number < 21) ? $words[$number] .
|
||||
" " . $digits[$counter] . $plural . " " . $hundred
|
||||
:
|
||||
$words[floor($number / 10) * 10]
|
||||
. " " . $words[$number % 10] . " "
|
||||
. $digits[$counter] . $plural . " " . $hundred;
|
||||
} else $str[] = null;
|
||||
}
|
||||
$str = array_reverse($str);
|
||||
$result = implode('', $str);
|
||||
|
||||
$points = ($point) ?
|
||||
" " . $words[$point / 10] . " " .
|
||||
$words[$point = $point % 10] : '';
|
||||
|
||||
if($ShowPaise=='0'){
|
||||
|
||||
$amountInWords = "Rupees " . $result." Only";
|
||||
}
|
||||
else{
|
||||
|
||||
$amountInWords = "Rupees " . $result ." Paise ". $points." Only";
|
||||
}
|
||||
|
||||
|
||||
return $amountInWords;
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
|
||||
$PayOn = '';
|
||||
$EmpID = '';
|
||||
$FirstName = '';
|
||||
@ -17,6 +90,7 @@
|
||||
$ESInumber = '';
|
||||
$TotalNoofDays = '';
|
||||
$NoOfWorkingdays ='';
|
||||
$LOP='';
|
||||
$ActualSalary = '';
|
||||
$PerDaySalary = '';
|
||||
$WorkedSalary = '';
|
||||
@ -66,8 +140,8 @@ if(!empty($PayDetails))
|
||||
|
||||
$from = new DateTime($DoB);
|
||||
$dt = new DateTime($DoJ);
|
||||
$DateofBirth = $from ->format('d-m-y');
|
||||
$DateofJoining = $dt ->format('d-m-y');
|
||||
$DateofBirth = $from ->format('d-m-Y');
|
||||
$DateofJoining = $dt ->format('d-m-Y');
|
||||
|
||||
$Designation = $Pay->Designation;
|
||||
$PANNo =$Pay->Pan;
|
||||
@ -80,6 +154,7 @@ if(!empty($PayDetails))
|
||||
$TotalNoofDays = $Pay->TotalNoofDays;
|
||||
$NoOfWorkingdays =$Pay->NoofDaysWorked;
|
||||
$ActualSalary = $Pay->ActualSalary;
|
||||
$LOP=$Pay->LOP;
|
||||
$PerDaySalary = $Pay->PerDaySalary;
|
||||
$WorkedSalary = $Pay->WorkedSalary;
|
||||
$BasicAndDA = $Pay->BasicPlusDA;
|
||||
@ -172,126 +247,130 @@ if($RecCount > 0)
|
||||
?>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<br/><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==">
|
||||
</center></td>
|
||||
<td colspan="8">
|
||||
<h3><center>Siddharth Industries</center></h3><center> Survey No: 168/1C3,Pennalur Pet Road,Goonipalyam village, <br/>Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</center><br/><center>PaySlip for the month - <?php echo $PayOn ?></center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%">
|
||||
<tr>
|
||||
<td colspan="8">
|
||||
<td colspan="1" style="background:#2c0000;"> <center> <img width="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=="></center>
|
||||
</td>
|
||||
<td colspan="10">
|
||||
<center><b>SIDDHARTH INDUSTRIES</b><br/> Survey No: 168/1C3,Pennalur Pet Road,Goonipalyam village, <br/>Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026. <br/> PaySlip for the month of <?php echo $PayOn ?></center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="11">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr >
|
||||
<td width="160px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Name :</td>
|
||||
<td width="200px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $FirstName ?></td>
|
||||
<td width="160px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Employee ID :</td>
|
||||
<td width="152px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $EmpID ?></td>
|
||||
<td width="160px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Name </td>
|
||||
<td width="200px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$FirstName ?></td>
|
||||
<td width="160px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Employee ID </td>
|
||||
<td width="152px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$EmpID ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Desigination :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;" > <?php echo $Designation ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Department :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $DeptName ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Designation </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;" > <?php echo ': '.$Designation ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Department </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$DeptName ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Date Of Joining :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo $DateofJoining ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Days Worked :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $NoOfWorkingdays ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Date Of Joining </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo ': '.$DateofJoining ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Available Calender Days </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo ': '.$TotalNoofDays ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Date Of Birth :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $DateofBirth ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">No Of Working Days:</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo $TotalNoofDays ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Date Of Birth </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$DateofBirth ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Loss Of Pay Days </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo ': '. number_format($LOP); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">PF Account Number :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;" ><?php echo $PFnumber ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Loan Balance :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;" ><?php echo $BalanceAdvance ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">PF Account Number </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;" ><?php echo ': '.$PFnumber ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Paid Days </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$NoOfWorkingdays ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Bank Name :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $BankBranchName ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">OT in Hours:</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $OTPerHours ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Bank Name </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$BankBranchName ?></td>
|
||||
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Loan Balance </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;" ><?php echo ': Rs '.$BalanceAdvance ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Bank IFSC :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $IFSCCode ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">ESI Account Number :</td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo $ESInumber ?></td>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Bank Account Number </td>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo ': '.$BankAccountNo ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">OT In Hours </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$OTPerHours ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Bank Account Number :</td>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo $BankAccountNo ?></td>
|
||||
<td width="50px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">UAN Number : </td>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $PANNo;?> </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Bank IFSC </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$IFSCCode ?></td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">ESI Account Number </td>
|
||||
<td style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"> <?php echo ': '.$ESInumber ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">PAN Number :</td>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo $UANNO;?></td>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">PAN Number </td>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$PANNo;?> </td>
|
||||
<td width="50px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;">Aadhar Number </td>
|
||||
<td width="100px;" style="border-left: 0px ;border-bottom: 0px; border-right: 0px ;border-top: 0px ;"><?php echo ': '.$UANNO;?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="100%" >
|
||||
<tr><th>Earnings</th><th>Amount</th><th>Deductions</th><th>Amount</th></tr>
|
||||
<table style="border-collapse: collapse;border-top:#fff;" cellpadding="0" cellspacing="0" border="1" width="100%" >
|
||||
<tr><th>Earnings</th><th>Amount in Rs</th><th>Deductions</th><th>Amount in Rs</th></tr>
|
||||
<tr>
|
||||
<td width="25%;">Basic Plus DA</td>
|
||||
<td width="25%;" style="text-align: right;" ><?php echo $WorkedSalary ?></td>
|
||||
<td width="25%;">Provident Fund</td>
|
||||
<td width="25%;" style="text-align: right;" ><?php echo $PF ?></td>
|
||||
<td width="25%;"> Basic Plus DA</td>
|
||||
<td width="20%;" style="text-align: right;" ><?php echo $WorkedSalary ?> </td>
|
||||
<td width="25%;"> Provident Fund</td>
|
||||
<td width="30%;" style="text-align: right;" ><?php echo $PF ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>House Rent Allowance</td>
|
||||
<td style="text-align: right;"><?php echo $HRA ?></td>
|
||||
<td>Employee State Insurance</td>
|
||||
<td style="text-align: right;"><?php echo $ESI ?></td>
|
||||
<td> House Rent Allowance</td>
|
||||
<td style="text-align: right;"><?php echo $HRA ?> </td>
|
||||
<td> Employee State Insurance</td>
|
||||
<td style="text-align: right;"> <?php echo $ESI ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Food Allowance</td>
|
||||
<td style="text-align: right;"><?php echo $FoodAllowance ?></td>
|
||||
<td>Loan Recovery</td>
|
||||
<td style="text-align: right;"><?php echo $LoanAdvance ?></td>
|
||||
<td> Food Allowance</td>
|
||||
<td style="text-align: right;"> <?php echo $FoodAllowance ?> </td>
|
||||
<td> Loan Recovery</td>
|
||||
<td style="text-align: right;"> <?php echo $LoanAdvance ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Other Allowance</td>
|
||||
<td style="text-align: right;"><?php echo $Otherallowances ?></td>
|
||||
<td>Other Deduction</td>
|
||||
<td style="text-align: right;"><?php echo $OtherDeductions ?></td>
|
||||
<td> Other Allowance</td>
|
||||
<td style="text-align: right;"> <?php echo $Otherallowances ?> </td>
|
||||
<td> Other Deduction</td>
|
||||
<td style="text-align: right;"> <?php echo $OtherDeductions ?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Incentive</td>
|
||||
<td style="text-align: right;"><?php echo $Incentive ?></td>
|
||||
<td> Incentive</td>
|
||||
<td style="text-align: right;"> <?php echo $Incentive ?> </td>
|
||||
<td></td>
|
||||
<td style="text-align: right;"></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td>OT Salary</td>
|
||||
<td style="text-align: right;"><?php echo $OTSalary ?></td>
|
||||
<td> OT Salary</td>
|
||||
<td style="text-align: right;"> <?php echo $OTSalary ?> </td>
|
||||
<td></td>
|
||||
<td style="text-align: right;"></td>
|
||||
</tr>
|
||||
<tr><th nowrap>Total Earning (Rounded) (TE)</th>
|
||||
<td style="text-align: right;"><?php echo round($TotalSalary)?></td>
|
||||
<th nowrap>Total Deduction (Rounded)(TD)</th>
|
||||
<td style="text-align: right;"><?php echo round($ESIAndPF) ?></td>
|
||||
<tr><th nowrap> Total Earning (Rounded) (TE)</th>
|
||||
<td style="text-align: right;"> <?php echo number_format(round($TotalSalary),2,'.','')?> </td>
|
||||
<th nowrap> Total Deduction (Rounded)(TD)</th>
|
||||
<td style="text-align: right;"> <?php echo number_format(round($ESIAndPF),2,'.','') ?> </td>
|
||||
</tr>
|
||||
<tr><th style="text-align: right;" colspan="3">Net Pay (Rounded) : </th>
|
||||
<td style="text-align: right;" colspan="1"><?php echo round($LessAdvance) ?></td>
|
||||
<tr><th style="text-align: right;" colspan="3">Net Pay (TE - TD)(Rounded) </th>
|
||||
<td style="text-align: right;" colspan="1"><?php echo number_format(round($LessAdvance),2,'.','') ?> </td>
|
||||
</tr>
|
||||
<tr><th style="text-align: center;" colspan="4">This is a computer generated document. This document does not require signature.</th></tr>
|
||||
<tr><th style="text-align: right;" colspan="1">Total Amount In Words </th>
|
||||
<td style="text-align: right;" colspan="3"><?php $invoiceTotalAmountInWords=convertNumber(round($LessAdvance));
|
||||
echo ($invoiceTotalAmountInWords); ?></td>
|
||||
</tr>
|
||||
<tr><td style="text-align: center;font-size:12px;" colspan="4">This is a computer generated document. This document does not require signature.</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
Loading…
Reference in New Issue
Block a user