?
Current Path : /home1/savoy/www/savoyglobal.net/sgms/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/www/savoyglobal.net/sgms/application/views/HR/manage_leave_application.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'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('hr','viewinhrsearch','search_leave_application','view_leave_application','1'); }); function leave_approval(id) { $("#staffsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#staffsdiv").load("<?= site_url('hr/leave_approval/') ?>/"+id); $(".statusicon").colorbox({width:"55%",height:"55%", inline:true, href:"#staffsdiv"}); } function updateleavestatus() { var leave_status=document.getElementById('leave_status').value ; var leave_application_id=document.getElementById('leave_application_id').value ; $.ajax({ type: 'POST', url: '<?php echo site_url('hr/updateleavestatus/'); ?>', data: "leave_application_id="+leave_application_id+"&leave_status="+leave_status, success: function(data) { alert(data); $.fn.colorbox.close(); viewdata('hr','viewinhrsearch','search_leave_application','view_leave_application','1'); } }); } </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 style='display:none'> <div id='staffsdiv' style='padding:10px; background:#fff;'> </div> </div> </div> </div> </div> <?php $this->load->view('footer'); ?> </div> </body> </html>