?
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/edit_internal_timesheet.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css"/> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('timesheet','viewintimesheetsearch','search_internal_timesheet','view_internal_timesheet','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Update Timesheet</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('timesheet/addintimesheet/update_internal_timesheet/view_internal_timesheet/1',$attributes); $jobinfo=$this->mastermodel->get_data_srow('payroll_internal_job',$viewinfo->internal_job_id,'internal_job_id') ?> <ul> <li> <label for="data"> Job Code</label> <div class="record_entry"> <?=$jobinfo->internal_job_code?> </div> </li> <input type="hidden" name="internal_timesheet_id" id="internal_timesheet_id" value="<?=$viewinfo->internal_timesheet_id;?>"/> <li> <label for="data">Subject</label> <div class="record_entry"> <?php echo $jobinfo->internal_job_subject; ?> </div> </li> <li> <label for="data">Start Date</label> <div class="record_entry"> <?php echo $this->mastermodel->convertdatenormalformat($jobinfo->internal_job_start_date); ?> </div> </li> <li> <label for="data">End Date</label> <div class="record_entry"> <?php echo $this->mastermodel->convertdatenormalformat($jobinfo->internal_job_end_date); ?> </div> </li> <li> <table class="sortnew"> <tr> <th colspan="2">Timesheet Information</th> </tr> <tr> <td>Timesheet Submission Date</td> <td> <div id="multi"> <input class="medium" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->internal_timesheet_submission_date);?>" type="text" name="internal_timesheet_submission_date" id="internal_timesheet_submission_date" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> </tr> <tr> <td>Remarks</td> <td> <?php $data = array( 'name' => 'internal_timesheet_remarks', 'id' => 'internal_timesheet_remarks', 'rows' => '10', 'cols' => '5', 'style' => 'width:80%', 'value' => $viewinfo->internal_timesheet_remarks ); echo form_textarea($data).form_error($data); ?> </td> </tr> </table> <table class="sortnew"> <tr> <th colspan="2">Timesheet for Period</th> </tr> <tr> <td>Start Date</td> <td> <div id="multi"> <input type="text" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->internal_timesheet_start_date);?>" class="required medium" name="internal_timesheet_start_date" id="internal_timesheet_start_date" onchange="checkdates();" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> </tr> <tr> <td>End Date</td> <td> <div id="multi"> <input type="text" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->internal_timesheet_end_date);?>" class="required medium" name="internal_timesheet_end_date" id="internal_timesheet_end_date" onchange="checkdates();" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> </tr> </table> </li> <li> <input type="hidden" name="tab_name" value="payroll_internal_timesheet"/> <input type="hidden" name="resfunction" value="search_internal_timesheet"/> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>