?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/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/sgms/draft/application/views/HR/manage_payslip.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php $this->load->view('header'); $this->load->view('HR/hrfunctions'); ?> <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) { $("#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); $(".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> <?php $this->load->view('logopanel'); ?> <div id="main"> <?php $this->load->view('menu'); ?> <div id="middle"> <?php $this->load->view('leftbar'); ?> <div id="center-column"> <?php $this->load->view('topbar'); ?> <div class="table"> <p> </p> <div id="entrydiv"> </div> </div> </div> </div> <?php $this->load->view('footer'); ?> </div> </body> </html>