?
Current Path : /home1/savoy/www/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/www/savoyglobal.net/horeitia/application/views/Employee/single_settlement_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_settlement_office','view_settlement_office','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Employee Settlement 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); $settlement = $this->mastermodel->get_data_srow('office_settlement',$viewinfo->office_leave_id,'office_settlement_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_settlement_id" value="<?=$settlement->office_settlement_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">Settlement Date</label> <?php echo $this->mastermodel->convertdatenormalformat($settlement->office_settlement_date); ?> </li> <li> <label for="data">Settlement Status</label> <select name="office_settlement_status" id="office_settlement_status" class="required" disabled> <option value="">Select</option> <option value="Not Settled" <?php if($settlement->office_settlement_status == "Not Settled" ) {echo "selected";} ?> >Not Settled</option> <option value="Settled" <?php if($settlement->office_settlement_status == "Not Settled" ) {echo "selected";} ?> >Settled</option> </select> </li> </ul> <?php echo form_close();?> </fieldset>