File: /var/www/html/hrms-production/storage/framework/views/41bf6ba9acab550c7fdb8fbd8671c062db5ad9a9.php
<script>
$(document).ready(function() {
$.ajax({
type: "GET",
url: "<?php echo e(url('/get-pending-verification')); ?>",
dataType: "json",
success: function(response) {
if (response.GetEmpPendingCategoryDetail > 0) {
$("span#GetEmpPendingCategoryDetail").html(response.GetEmpPendingCategoryDetail);
} else {
$('#GetEmpPendingCategoryDetail_li').css('display', 'none')
}
if (response.PendingPoliceVerification > 0) {
$("span#PendingPoliceVerification").html(response.PendingPoliceVerification);
} else {
$('#PendingPoliceVerification_li').css('display', 'none')
}
if (response.PendingMedicalCertificate > 0) {
$("span#PendingMedicalCertificate").html(response.PendingMedicalCertificate);
} else {
$('#PendingMedicalCertificate_li').css('display', 'none')
}
// if (response.TotalPendingEligibilityExamEmp > 0) {
// $("span#TotalPendingEligibilityExamEmp").html(response.TotalPendingEligibilityExamEmp);
// } else {
// $('#TotalPendingEligibilityExamEmp_li').css('display', 'none')
// }
if (response.GetPendingPermanency > 0) {
$("span#GetPendingPermanency").html(response.GetPendingPermanency);
} else {
$('#GetPendingPermanency_li').css('display', 'none')
}
if (response.GetPendingProbationPeriod > 0) {
$("span#GetPendingProbationPeriod").html(response.GetPendingProbationPeriod);
} else {
$('#GetPendingProbationPeriod_li').css('display', 'none')
}
if (response.GetPendingEmpAddress > 0) {
$("span#GetPendingEmpAddress").html(response.GetPendingEmpAddress);
} else {
$('#GetPendingEmpAddress_li').css('display', 'none')
}
if (response.GetEmpPendingGeneralDetail > 0) {
$("span#GetEmpPendingGeneralDetail").html(response.GetEmpPendingGeneralDetail);
} else {
$('#GetEmpPendingGeneralDetail_li').css('display', 'none')
}
if (response.GetEmpPendingPensionScheme > 0) {
$("span#GetEmpPendingPensionScheme").html(response.GetEmpPendingPensionScheme);
} else {
$('#GetEmpPendingPensionScheme_li').css('display', 'none')
}
if (response.GetPendingTenurePeriod > 0) {
$("span#GetPendingTenurePeriod").html(response.GetPendingTenurePeriod);
} else {
$('#GetPendingTenurePeriod_li').css('display', 'none')
}
if (response.TotalNotification > 0) {
$("span#TotalEmpNotification").html(response.TotalNotification);
} else {
$("span#totalEmployeeNo").css('display', 'none');
}
// All Employees Count
$("span#AllEmployeeCount").html(response.GetAllEmpCount);
// Pending Approval
$("span#PendingApproval").html(response.GetPendinApproval);
}
});
});
</script><?php /**PATH /var/www/html/hrms/resources/views/components/dashboard-modal.blade.php ENDPATH**/ ?>