?
Current Path : /home1/savoy/public_html/savoyglobal.net/horeitia/application/views/Employee/ |
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/Employee/single_exit_office.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('employee','viewinemployeesearch','search_exit_office','view_exit_office','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Employee Exit Details</span> </div> <link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css"> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); $leave_list=$this->mastermodel->getdatas('leave_type','leave_type_name'); $office_employee_name = $this->mastermodel->getSingleFieldValue('office_employee','office_employee_name','office_employee_id',$viewinfo->office_leave_employee_id); $exit = $this->mastermodel->get_data_srow('office_exit',$viewinfo->office_leave_id,'office_exit_leave_id'); ?> <ul> <li> <label for="data">Employee Name</label> <?php echo $office_employee_name; ?> <input type="hidden" name="office_leave_id" value="<?=$viewinfo->office_leave_id;?>"/> <input type="hidden" name="office_exit_id" value="<?=$exit->office_exit_id;?>"/> </li> <li> <label for="data">Leave Type</label> <select name="office_leave_type_id" id="office_leave_type_id" class="required" disabled> <option value="">Select</option> <?php foreach($leave_list as $leave) { echo "<option value='". $leave['leave_type_id'] . "'";if($viewinfo->office_leave_type_id == $leave['leave_type_id'] ){echo "selected";} echo ">" . $leave['leave_type_name'] . "</option>"; } ?> </select> </li> <li> <label for="data">Reason of leave</label> <select name="office_leave_reason" id="office_leave_reason" class="required" disabled> <option value="">Select</option> <option value="Relative sick" <?php if($viewinfo->office_leave_reason == "Relative sick" ) {echo "selected";} ?> >Relative sick</option> <option value="Personal problems" <?php if($viewinfo->office_leave_reason == "Personal problems" ) {echo "selected";} ?> >Personal problems</option> <option value="Completion of contract" <?php if($viewinfo->office_leave_reason == "Completion of contract" ) {echo "selected";} ?> >Completion of contract</option> <option value="Disciplinary Ground" <?php if($viewinfo->office_leave_reason == "Disciplinary Ground" ) {echo "selected";} ?> >Disciplinary Ground</option> <option value="Any other reason" <?php if($viewinfo->office_leave_reason == "Any other reason" ) {echo "selected";} ?> >Any other reason</option> </select> </li> <li> <table class="sort"> <caption>Leave Dates</caption> <tr> <th align="center">Start Date</th> <th align="center">End Date</th> </tr> <tr> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->office_leave_starting_date);?> </td> <td> <?=$this->mastermodel->convertdatenormalformat($viewinfo->office_leave_ending_date);?> </td> </tr> </table> </li> <li> <label for="data">Remarks</label> <?php echo $viewinfo->office_leave_remarks; ?> </li> <li> <label for="data">Leave Status</label> <select name="office_leave_status" id="office_leave_status" class="required" disabled> <option value="">Select</option> <option value="Not Approved" <?php if($viewinfo->office_leave_status == "Not Approved" ) {echo "selected";} ?> >Not Approved</option> <option value="Approved" <?php if($viewinfo->office_leave_status == "Approved" ) {echo "selected";} ?> >Approved</option> </select> </li> <li> <label for="data">Resignation Date</label> <?php echo $this->mastermodel->convertdatenormalformat($exit->office_exit_resignation_date); ?> </li> <li> <label for="data">Relieving Date</label> <?php echo $this->mastermodel->convertdatenormalformat($exit->office_exit_relieving_date); ?> </li> <li> <label for="data">Clearence Form</label> <?php echo $exit->office_exit_clearence_form_name; ?> <?php if($exit->office_exit_clearence_form_doc != "") { ?> <a href="<?=base_url()?>assets/uploads/<?=$exit->office_exit_clearence_form_doc;?>">Download</a> <?php } ?> </li> <li> <label for="data">Resignation Letter</label> <?php echo $exit->office_exit_resignation_letter_name; ?> <?php if($exit->office_exit_resignation_letter_doc != "") { ?> <a href="<?=base_url()?>assets/uploads/<?=$exit->office_exit_resignation_letter_doc;?>">Download</a> <?php } ?> </li> <li> <label for="data">Relieving Letter</label> <?php echo $exit->office_exit_relieving_letter_name; ?> <?php if($exit->office_exit_relieving_letter_name != "") { ?> <a href="<?=base_url()?>assets/uploads/<?=$exit->office_exit_relieving_letter_name;?>">Download</a> <?php } ?> </li> <li> <label for="data">Exit Status</label> <select name="office_exit_status" id="office_exit_status" class="required" disabled> <option value="">Select</option> <option value="Not Approved" <?php if($exit->office_exit_status == "Not Approved" ) {echo "selected";} ?> >Not Approved</option> <option value="Approved" <?php if($exit->office_exit_status == "Approved" ) {echo "selected";} ?> >Approved</option> </select> </li> </ul> <?php echo form_close();?> </fieldset>