?
Current Path : /home1/savoy/public_html/savoyglobal.net/horeitia/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/horeitia/application/views/Timesheet/add_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">Creating new Internal Job</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('timesheet/addintimesheet/insert_internal_job/view_internal_job/1',$attributes); $camp_list=$this->mastermodel->getdatas('camp','camp_name'); ?> <ul> <li> <table class="sortnew"> <tr> <th colspan="2">Main Information</th> </tr> <tr> <td>Job Code</td> <td> <input type="text" class="required" name="internal_job_code"/> </td> </tr> <tr> <td>Camp Name</td> <td> <select class="required" name="internal_job_camp_id"> <option value="">Select</option> <?php foreach($camp_list as $camp) { echo "<option value='". $camp['camp_id'] . "'>" . $camp['camp_name'] . "</option>"; } ?> </td> </tr> <tr> <td>Subject</td> <td> <?php $data = array( 'name' => 'internal_job_subject', 'id' => 'internal_job_subject', 'class' =>'required' ); 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' ); $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); ?> </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' ); 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' ); 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%', ); 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 . "'>" . $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"/> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>