?
Current Path : /home1/savoy/public_html/savoyglobal.net/horeitia/application/views/Administration/ |
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/Administration/edit_missing.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('administration','viewinadministrationsearch','search_missing','view_missing','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Update Details</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('administration/addinadministration/update_missing/view_missing/1',$attributes); $employee = $this->administrationmodel->get_emp_info($viewinfo->employee_id); if($employee->emp_non_no[0]==',') { $employee->emp_non_no=substr($employee->emp_non_no, 1); } $emp_non_no = str_replace(',',', ', $employee->emp_non_no); ?> <ul> <li> <label for="data">Employee Name</label> <div class="record_entry"> <?php echo $employee->emp_non_full_name; ?> <input type="hidden" name="employee_id" value="<?=$viewinfo->employee_id;?>"/> <input type="hidden" name="missing_id" value="<?=$viewinfo->missing_id;?>"/> </div> </li> <li> <label for="data">Employee No</label> <div class="record_entry"> <?php echo $emp_non_no; ?> </div> </li> <li> <label for="data">Joining Date</label> <div class="record_entry"> <?php echo $employee->emp_non_date_joining; ?> </div> </li> <li> <label for="data">Trade</label> <div class="record_entry"> <?php echo $employee->trade_name; ?> </div> </li> <li> <label for="data">Camp</label> <div class="record_entry"> <?php echo $this->mastermodel->get_employee_current_camp($viewinfo->employee_id); ?> </div> </li> <li> <label for="data">Site</label> <div class="record_entry"> <?php echo $this->mastermodel->get_employee_current_site($viewinfo->employee_id); ?> </div> </li> <li> <label for="data">Visa Type</label> <div class="record_entry"> <?php echo $this->mastermodel->getSingleFieldValue('visa_type','visa_type_name','visa_type_id',$employee->emp_non_visa_type_id); ?> </div> </li> <li> <label for="data">Sponsor</label> <div class="record_entry"> <?php echo $this->mastermodel->getSingleFieldValue('sponsor','sponsor_name','sponsor_id',$employee->emp_non_sponsor_id); ?> </div> </li> <li> <label for="data">WEF Date</label> <div id="multi"> <input type="text" name="wef_date" id="wef_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->wef_date);?>" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </li> <li> <label for="data">Type</label> <?php $wstatus=$this->mastermodel->getenumvalues('missing','missing_type'); ?> <select name="missing_type" id="missing_type" class="required"> <?php foreach($wstatus['val'] as $list) { ?> <option <?php if($list==$viewinfo->missing_type){echo "selected";}?> value="<?=$list?>"><?=$list?></option> <?php } ?> </select> </li> <li> <label for="data">Remarks</label> <?php $data = array( 'name' => 'remarks', 'id' => 'remarks', 'value' => $viewinfo->remarks ); echo form_textarea($data).form_error($data); ?> </li> <li> <label for="data">Exit Date</label> <div id="multi"> <input type="text" name="exit_date" id="exit_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->exit_date);?>" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </li> <li> <input type="hidden" name="tab_name" value="employee_missing"/> <input type="hidden" name="resfunction" value="search_employee_missing"/> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>