?
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/single_visa_processing.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { suggestValues(); }); function suggestValues() { $("#employee_name").autocomplete("<?= site_url()?>/administration/all_employees", { width: 250, selectFirst: false }); } </script> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('administration','viewinadministrationsearch','search_visa_processing','view_visa_processing','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Employee Visa Processing</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); $employee = $this->administrationmodel->get_emp_info($viewinfo->employee_id); $trade_list=$this->mastermodel->getdatas('trade','trade_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); $visa_code = $this->mastermodel->getSingleFieldValue('visa_type','visa_code','visa_type_id',$viewinfo->visa_type_id); ?> <ul> <li> <label for="data">Employee</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 $this->mastermodel->convertdatenormalformat($employee->emp_non_date_joining); ?> </div> </li> <li> <label for="data">Sponsor</label> <div class="record_entry"> <?php echo $this->mastermodel->getSingleFieldValue('sponsor','sponsor_name','sponsor_id',$viewinfo->sponsor_id); ?> </div> </li> <li> <table class="sort"> <?php if($visa_code == 0) { ?> <caption> Work Permit Details</caption> <tr> <th align="center">Visa Type</th> <th align="center" style="width:200px;">Issue Date</th> <th align="center" style="width:200px;">Expiry Date</th> <th align="center">Remind Before (in days)</th> <th align="center" style="width:200px;">Work Permit</th> </tr> <?php } else { ?> <caption>Visa Details</caption> <tr> <th align="center">Visa Type</th> <th align="center" style="width:200px;">Issue Date</th> <th align="center" style="width:200px;">Expiry Date</th> <th align="center">Remind Before (in days)</th> <th align="center">Visa No</th> </tr> <?php } ?> <tr> <td> <select name="visa_type_id" id="visa_type_id" class="required" disabled> <option value="">Select</option> <?php $visa_type=$this->mastermodel->getdatas('visa_type','visa_type_id'); foreach($visa_type as $visa) { echo "<option value='". $visa['visa_type_id'] . "'";if($viewinfo->visa_type_id == $visa['visa_type_id'] ){echo "selected";} echo ">" . $visa['visa_type_name'] . "</option>"; } ?> </select> </td> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->visa_issue_date);?> </td> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->visa_expiry_date);?> </td> <td> <?=$viewinfo->visa_remind_before;?> </td> <td> <?=$viewinfo->visa_no;?> </td> </tr> </table> </li> <li> <label for="data">Medical</label> <div class="record_entry"> <?php echo $viewinfo->medical; ?> </div> </li> <li> <label for="data">Blood Group</label> <div class="record_entry"> <?php echo $viewinfo->blood_group; ?> </div> </li> <li> <label for="data">ID Card No</label> <div class="record_entry"> <?php echo $viewinfo->id_card_no; ?> </div> </li> <li> <label for="data">Health Card No</label> <div class="record_entry"> <?php echo $viewinfo->health_card_no; ?> </div> </li> <li> <label for="data">Fingerprint</label> <div class="record_entry"> <?php echo $viewinfo->fingerprint; ?> </div> </li> </ul> <?php echo form_close();?> </fieldset>