payslip festivalbonus issues fixed
This commit is contained in:
parent
3d1f36eeb2
commit
5f98732aad
@ -416,7 +416,7 @@ function onlyAlphabets(evt) {
|
||||
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<section class="content" id="content">
|
||||
<div style="text-align:right;">
|
||||
<a href="<?php echo base_url() ?>supplierListing" class="btn btn-primary" value="Back"/>Back</a>
|
||||
</div>
|
||||
@ -636,7 +636,7 @@ function onlyAlphabets(evt) {
|
||||
{
|
||||
?>
|
||||
<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"><EFBFBD></button>
|
||||
<?php echo $this->session->flashdata('error'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@ -646,14 +646,14 @@ function onlyAlphabets(evt) {
|
||||
{
|
||||
?>
|
||||
<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"><EFBFBD></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"><EFBFBD></button></div>'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -150,7 +150,7 @@ if(!empty($PayDetails))
|
||||
{
|
||||
$Festival_bonus = $festbonus;
|
||||
}
|
||||
$TotalSalary = $WorkedSalary+$HRA+$Food+$IncenAmt+$OTSal+$Otherallowances;
|
||||
$TotalSalary = $WorkedSalary+$HRA+$Food+$IncenAmt+$OTSal+$Otherallowances+$Festival_bonus;
|
||||
$Adv = $Pay->Advance;
|
||||
if($Adv == '')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user