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){
var c=0;
var time=0;
$('#Employee').find('option').each(function() {
c++;
var employee=$(this).val();
@ -110,9 +111,13 @@ $(function() {
});
alert(c + 'Employees Salary Added Successfully!');
$('form#PayslipGenerator').submit();
$('#content').loader('hide');
time = (c * 300);
// alert(time);
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">
<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 } ?>
@ -261,14 +266,14 @@ $(function() {
{
?>
<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-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>