payroll pdf fatal error

This commit is contained in:
gandhimathi 2017-10-31 14:23:48 +00:00
parent 9004629e13
commit 8e458f0ce6

View File

@ -76,6 +76,7 @@ $(function() {
if(check){ if(check){
var c=0; var c=0;
var time=0;
$('#Employee').find('option').each(function() { $('#Employee').find('option').each(function() {
c++; c++;
var employee=$(this).val(); var employee=$(this).val();
@ -110,9 +111,13 @@ $(function() {
}); });
alert(c + 'Employees Salary Added Successfully!'); time = (c * 300);
$('form#PayslipGenerator').submit(); // alert(time);
$('#content').loader('hide'); setTimeout(function(){alert(c + '-Employees Salary Added Successfully!');
$('form#PayslipGenerator').submit();
alert("Please wait while Payslip Downloading...!");
$('#content').loader('hide');
},time);
@ -251,7 +256,7 @@ $(function() {
{ {
?> ?>
<div class="alert alert-danger alert-dismissable"> <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'); ?> <?php echo $this->session->flashdata('error'); ?>
</div> </div>
<?php } ?> <?php } ?>
@ -261,14 +266,14 @@ $(function() {
{ {
?> ?>
<div class="alert alert-success alert-dismissable"> <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'); ?> <?php echo $this->session->flashdata('success'); ?>
</div> </div>
<?php } ?> <?php } ?>
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<?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> </div>
</div> </div>