?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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/busybees/application/views/hr/manage_pay_slip.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <html class="no-js" lang="en"> <head> <?php $this->load->view('jsfiles'); $this->load->view('header'); $this->load->view('commonfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('hr','viewinhrsearch','search_payslip','view_payslip','1'); }); function loadpostedsalary() { var mydate = document.getElementById('date').value; if (mydate == '') { alert("Please Select Date First"); $("input#posted").attr('checked', false); return false; } else { $("#salpay").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#salpay").load("<?= site_url('hr/loadsalary/loadpostedsalary/0') ?>/"+mydate); } } function loadunpostedsalary() { var mydate = document.getElementById('date').value; if (mydate == '') { alert("Please Select Date First"); $("input#unposted").attr('checked', false); return false; } else { $("#salpay").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#salpay").load("<?= site_url('hr/loadsalary/loadunpostedsalary/1') ?>/"+mydate); } } function checkunpostedsal() { var length=document.getElementById('empcount').value; if($('#checksalempdet').is(':checked')) { var checkval=true; $('#button1').attr('disabled', ''); } else { var checkval=false; $('#button1').attr('disabled', 'disabled'); } for(var i=1; i <length; i++) { $("input#salempdet_"+i).attr('checked', checkval); } } function viewunpostedpayslip(salid) { var wef_date=$('#wef_date').val(); $("#staffsaldetdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#staffsaldetdiv").load("<?= site_url('hr/loadunpostedsalary/add_single_posted_salary_payment/') ?>" +"/" +salid+"/"+wef_date); $(".slslip").colorbox({width:"75%",height:"90%", inline:true, href:"#staffsaldetdiv"}); } function viewpostedpayslip(salid) { $("#staffsaldetdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#staffsaldetdiv").load("<?= site_url('hr/loadpostedsalary/viewpostedsalpay/') ?>" +"/" +salid); $(".slslip").colorbox({width:"75%",height:"90%", inline:true, href:"#staffsaldetdiv"}); } </script> </head> <body> <div id="height-wrapper"> <?php $this->load->view('menu'); ?> <div role="main" class="container_12" id="content-wrapper"> <div id="main_content"> <?php $this->load->view('top'); ?> <div id="inner_content"></div> </div> <div class="push clear"></div> </div> <div class="clear"></div> <div class="push"></div> </div> <?php $this->load->view('footer'); ?> </body> </html>