?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/HR/ |
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/HR/single_leave_allocation.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('hr','viewinhrsearch','search_leave_allocation','view_leave_allocation','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Leave Allocation Details</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); $leave_type=$this->mastermodel->get_data_joined('leave_allocation_detail','leave_type','leave_type_id','leave_type_id',$viewinfo->leave_allocation_id,'leave_allocation_id'); ?> <ul> <li> <label for="data">Employee Name</label> <div class="record_entry"> <?=$this->mastermodel->getSingleFieldValue('employee','employee_name','employee_id',$viewinfo->employee_id);?> </div> </li> <li> <label for="data">Year</label> <div class="record_entry"> <?php echo $viewinfo->leave_allocation_year; ?> </div> </li> <li> <table class="sort"> <tr> <th align="center">Leave Type</th> <th align="center">No.of Days</th> </tr> <?php $i=1; foreach($leave_type as $leave) { ?> <tr> <td> <?=$leave['leave_type_name'];?> </td> <td><?=$leave['leave_allocation_days'];?></td> </tr> <?php $i++; } ?> </table> </li> </ul> <?php echo form_close();?> </fieldset>