?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/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/application/views/Administration/single_training.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_training','view_training','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Employee Training Details</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$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; ?> </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">Training Module</label> <select disabled name="training_id" id="training_id" class="required"> <option value="">Select</option> <?php $training_list=$this->mastermodel->get_data('training_module',$employee->trade_id,'trade_id'); foreach($training_list as $training) { echo "<option value='". $training['training_module_id'] . "'";if($viewinfo->training_id == $training['training_module_id'] ){echo "selected";} echo ">" . $training['training_type'] . "</option>"; } ?> </select> </li> <li> <table class="sort"> <caption>Training Date</caption> <tr> <th align="center">Start Date</th> <th align="center">End Date</th> </tr> <tr> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->training_date_start);?> </td> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->training_date_end);?> </td> </tr> </table> </li> <li> <table class="sort"> <caption>Training Test</caption> <tr> <th align="center">Attempt</th> <th align="center">Test Date</th> <th align="center">Test Result</th> </tr> <tr> <td> First Attempt </td> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->first_attempt_date);?> </td> <td> <?=$viewinfo->first_attempt_result;?> </td> </tr> <tr> <td> Second Attempt </td> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->second_attempt_date);?> </td> <td> <?=$viewinfo->second_attempt_result;?> </td> </tr> </table> </li> <li> <label for="data">Remarks</label> <div class="record_entry"> <?php echo $viewinfo->remarks; ?> </div> </li> </ul> <?php echo form_close();?> </fieldset>