?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/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/sgms/application/views/Timesheet/add_client_timesheet.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { suggestValues(); }); function suggestValues() { $("#external_job_code").autocomplete("<?= site_url()?>/timesheet/all_external_job", { width: 300, selectFirst: false }); } function show_external_job_info() { var po_id = $('#external_job_code_id').val(); if(po_id == "") { alert("Please select Customer Purchase Order No first"); } else { $("#external_job_info").empty().html('<CENTER><img src="<?=base_url()?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#external_job_info").load("<?=site_url()?>/timesheet/get_external_job_info/job_info_client_timesheet/"+po_id); } } </script> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('timesheet','viewintimesheetsearch','search_client_timesheet','view_client_timesheet','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Insert Client Timesheet</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('timesheet/addintimesheet/insert_client_timesheet/view_client_timesheet/1',$attributes); ?> <ul> <li> <label for="data">Select Customer Purchase Order No</label> <input type="text" name="external_job_code" id="external_job_code" class="required"> <input type="hidden" name="external_job_code_id" id="external_job_code_id" class="required"> <input type="button" value="Load Work Info" onclick="show_external_job_info()" style="margin-left: 5px; width: 130px;"/> </li> <div id="external_job_info"> </div> <li> <input type="hidden" name="tab_name" value="payroll_client_timesheet"/> <input type="hidden" name="resfunction" value="search_client_timesheet"/> </li> </ul> <?php echo form_close();?> </fieldset>