?
Current Path : /home1/savoy/public_html/savoyglobal.net/hr/application/views/Timesheet/ |
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/hr/application/views/Timesheet/manage_client_timesheet.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('timesheet','viewintimesheetsearch','search_client_timesheet','view_client_timesheet','1'); }); function enter_timesheet(client_timesheet_id) { $("#timesheet_details").empty().html('<CENTER><img src="<?=base_url()?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#timesheet_details").load("<?=site_url() ?>/timesheet/enter_client_timesheet/"+client_timesheet_id); $(".inliexample2").colorbox({width:"100%",height:"100%", scrolling:false, inline:true, href:"#timesheet_details"}); } function display_client_timesheet(client_timesheet_id) { $("#timesheet_details").empty().html('<CENTER><img src="<?=base_url()?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#timesheet_details").load("<?=site_url() ?>/timesheet/display_client_timesheet/"+client_timesheet_id); $(".inliexample2").colorbox({width:"98%",height:"98%", scrolling:false, inline:true, href:"#timesheet_details"}); } function checkdates() { if($("#client_timesheet_end_date").val() !='') { var arrStartDate = $("#client_timesheet_start_date").val().split("-"); var date1 = new Date(arrStartDate[2], arrStartDate[1], arrStartDate[0]);; var arrEndDate = $("#client_timesheet_end_date").val().split("-"); var date2 = new Date(arrEndDate[2], arrEndDate[1], arrEndDate[0]); if(date1 > date2) { alert("End date should be greater than start date"); $("#client_timesheet_end_date").val(""); } } } </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>