?
Current Path : /home1/savoy/www/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/www/savoyglobal.net/sgms/application/views/Administration/employee_info_training.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); if($viewinfo->emp_non_no[0]==',') { $viewinfo->emp_non_no=substr($viewinfo->emp_non_no, 1); } $emp_non_no = str_replace(',',', ', $viewinfo->emp_non_no); ?> <input type="hidden" name="employee_id" id="employee_id" value="<?=$viewinfo->emp_non_id;?>"/> <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 $this->mastermodel->convertdatenormalformat($viewinfo->emp_non_date_joining); ?> </div> </li> <li> <label for="data">Trade</label> <div class="record_entry"> <?php echo $viewinfo->trade_name; ?> </div> </li> <li> <label for="data">Training Module</label> <select name="training_id" id="training_id" class="required"> <option value="">Select</option> <?php echo $viewinfo->trade_id; $training_list=$this->mastermodel->get_data('training_module',$viewinfo->trade_id,'trade_id'); foreach($training_list as $training) { echo "<option value='". $training['training_module_id'] . "'>" . $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> <div id="multi"> <input type="text" name="training_date_start" id="training_date_start" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> <td> <div id="multi"> <input type="text" name="training_date_end" id="training_date_end" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </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> <div id="multi"> <input type="text" name="first_attempt_date" id="first_attempt_ate" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> <td> <select name="first_attempt_result" id="first_attempt_result"> <option value="">Select</option> <option value="Pass">Pass</option> <option value="Fail">Fail</option> </select> </td> </tr> <tr> <td> Second Attempt </td> <td> <div id="multi"> <input type="text" name="second_attempt_date" id="second_attempt_ate" /> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> <td> <select name="second_attempt_result" id="second_attempt_result"> <option value="">Select</option> <option value="Pass">Pass</option> <option value="Fail">Fail</option> </select> </td> </tr> </table> </li> <li> <label for="data">Remarks</label> <?php $data = array( 'name' => 'remarks', 'id' => 'remarks' ); echo form_textarea($data).form_error($data); ?> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li>