?
Current Path : /home1/savoy/public_html/savoyglobal.net/ccnerp/application/views/hr/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/ccnerp/application/views/hr/hrfunctions.php |
<script type="text/javascript"> function load_employee_details(id) { $("#employee").load("<?= site_url()?>"+'/hr/load_employee_details/' +id); } function checkallcheckbox() { $('#checksalempdet').removeAttr('checked'); $('input[name^=salempdet]').each(function() { if ($(this).is(':checked')) { $('#checksalempdet').attr('checked', 'checked'); } }); if ($('#checksalempdet').is(':checked')) $('#button1').removeAttr('disabled'); else $('#button1').attr('disabled', 'disabled'); } function loadPaymentMethod(val, divid) { if (val > 1) { $('#payment_method_div').css('display', 'table-cell') $("#" + divid).empty().html('<CENTER><img src="<?= base_url() ?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#" + divid).load("<?= site_url('hr/load_payment_method') ?>/" + val); } else { $("#" + divid).html(""); } } </script>