?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/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/sgms/draft/application/views/Administration/edit_cir.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_cir','view_cir','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Update CIR Details</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('administration/addinadministration/update_cir/view_cir/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="cir_id" value="<?=$viewinfo->cir_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">CIR Date</label> <div id="multi"> <input type="text" name="cir_date" id="cir_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->cir_date);?>" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </li> <li> <label for="data">Comments</label> <?php $data = array( 'name' => 'comments', 'id' => 'comments', 'value' => $viewinfo->comments ); echo form_textarea($data).form_error($data); ?> </li> <li> <label for="data">Document</label> <?php $data = array( 'name' => 'cir_document_name', 'id' => 'cir_document_name', 'value' => $viewinfo->cir_document_name ); $data1 = array( 'name' => 'cir_document_file', 'id' => 'cir_document_file' ); echo form_input($data).form_error($data); echo form_upload($data1).form_error($data1); ?> <?php if($viewinfo->cir_document_file != "") { ?> <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->cir_document_file;?>">Download</a> <?php } ?> </li> <li> <input type="hidden" name="tab_name" value="employee_cir"/> <input type="hidden" name="resfunction" value="search_employee_cir"/> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>