98 lines
3.7 KiB
PHP
Executable File
98 lines
3.7 KiB
PHP
Executable File
|
|
|
|
<div class="content-wrapper">
|
|
<!-- Content Header (Page header) -->
|
|
<section class="content-header">
|
|
<h1>
|
|
<center>Employee Salary Details</center>
|
|
</h1>
|
|
</section>
|
|
<section class="content">
|
|
<div class="row">
|
|
<div class="col-xs-12 text-right">
|
|
<div class="form-group">
|
|
<a class="btn btn-primary" href="<?php echo base_url(); ?>emppaydate/addemppaydate">Add New Employee Pay List</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="box">
|
|
<div class="box-header">
|
|
|
|
</div><!-- /.box-header -->
|
|
<div class="box-body">
|
|
<table id="datatable" class="table table-bordered table-hover" style="font-size:12px;text-align: right;">
|
|
<thead>
|
|
<tr style="background-color:#ddf">
|
|
<th width="7%">Emp ID</th>
|
|
<th width="8%">Emp Name</th>
|
|
<th width="8%"> Total Sal in ₹</th>
|
|
<th width="8%">Basic Pay in ₹</th>
|
|
<th width="8%">HRA Rate in %</th>
|
|
<th width="8%">HRA Amt in ₹</th>
|
|
|
|
<th width="9%">Allowances in ₹</th>
|
|
<th width="8%">PF Ratein %</th>
|
|
<th width="8%">ESI Rate in %</th>
|
|
<th width="8%">Food Allow in ₹</th>
|
|
<th width="7%">Action</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
|
|
<?php
|
|
if(!empty($userRecords))
|
|
{
|
|
//print_r($userRecords);
|
|
foreach($userRecords as $record)
|
|
{
|
|
?>
|
|
<tr>
|
|
<td style="text-align: left;"><?php echo $record->EmpID ?></td>
|
|
<td style="text-align: left;"><?php echo $record->FirstName ." ". $record->LastName?></td>
|
|
<td><?php echo $record->TotalSalary; ?></td>
|
|
<td><?php echo $record->Basic_Pay ?></td>
|
|
<td><?php echo $record->HRA_Rate ?></td>
|
|
<td><?php echo $record->HRA_Amount; ?></td>
|
|
|
|
<td><?php echo $record->Allowances ?></td>
|
|
<td><?php echo $record->PF_Rate ?></td>
|
|
<td><?php echo $record->ESI_Rate ?></td>
|
|
<td><?php echo $record->Food_Allowances ?></td>
|
|
<td>
|
|
<a href="<?php echo base_url().'emppaydate/editOldemppay/'.$record->Pay_Data_ID; ?>"><i class="btn btn-primary">EDIT</i></a>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
</table>
|
|
|
|
</div><!-- /.box-body -->
|
|
<!-- <div class="box-footer clearfix">
|
|
|
|
</div> -->
|
|
</div><!-- /.box -->
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
|
|
|
$('#datatable').DataTable({
|
|
"paging": true,
|
|
"lengthChange": true,
|
|
"searching": true,
|
|
"ordering": true,
|
|
"aaSorting": [[ 0, "asc" ]],
|
|
"info": true,
|
|
"autoWidth": true
|
|
|
|
});
|
|
});
|
|
</script>
|