?
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/edit_internal_job.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_job','view_internal_job','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Updating Internal Job</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('timesheet/addintimesheet/update_internal_job/view_internal_job/1',$attributes); ?> <ul> <li> <table class="sortnew"> <tr> <th colspan="2">Main Information</th> </tr> <tr> <td>Job Code</td> <td> <input type="text" value="<?=$viewinfo->internal_job_code;?>" class="required" name="internal_job_code"/> </td> </tr> <tr> <td>Subject</td> <td> <?php $data = array( 'name' => 'internal_job_subject', 'id' => 'internal_job_subject', 'class' => 'required', 'value' => $viewinfo->internal_job_subject ); echo form_input($data).form_error($data); ?> </td> </tr> <tr> <td>Upload Document</td> <td> <?php $data = array( 'name' => 'internal_job_document_name', 'id' => 'internal_job_document_name', 'value' => $viewinfo->internal_job_document_name ); $data1 = array( 'name' => 'internal_job_document_doc', 'id' => 'internal_job_document_doc' ); echo form_input($data).form_error($data); echo form_upload($data1).form_error($data1); if($viewinfo->internal_job_document_doc != "") { ?> <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->internal_job_document_doc;?>">Download</a> <?php } ?> </td> </tr> </table> <table class="sortnew"> <tr> <th colspan="2">Job Information</th> </tr> <tr> <td>Start Date</td> <td> <div id="multi"> <?php $data = array( 'name' => 'internal_job_start_date', 'id' => 'internal_job_start_date', 'class' => 'medium', 'value' => $viewinfo->internal_job_start_date ); echo form_input($data).form_error($data); ?> <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"> <?php $data = array( 'name' => 'internal_job_end_date', 'id' => 'internal_job_end_date', 'class' => 'medium', 'value' => $viewinfo->internal_job_end_date ); echo form_input($data).form_error($data); ?> <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_job_remarks', 'id' => 'internal_job_remarks', 'rows' => '10', 'cols' => '5', 'style' => 'width:80%', 'value' => $viewinfo->internal_job_remarks ); echo form_textarea($data).form_error($data); ?> </td> </tr> <tr> <td>Job Status</td> <td> <select name="internal_job_status" id="internal_job_status" class="required"> <option value="">Select</option> <?php $status_list=$this->mastermodel->getenumvalues('payroll_internal_job','internal_job_status'); foreach($status_list['val'] as $status) { echo "<option value='". $status . "'";if($viewinfo->internal_job_status==$status){echo "selected";} echo ">" . $status . "</option>"; } ?> </select> </td> </tr> </table> </li> <li> <input type="hidden" name="tab_name" value="payroll_internal_job"/> <input type="hidden" name="resfunction" value="search_internal_job"/> <input type="hidden" name="internal_job_id" value="<?=$viewinfo->internal_job_id;?>"/> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>