?
Current Path : /home1/savoy/public_html/oscarerp.com/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/oscarerp.com/application/views/hr/single_leave_allocation.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $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'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_leave_allocation','view_leave_allocation','<?=$_SESSION['pagenum'];?>')" alt="Back" /> </div> <div class="icons single_icon"> <img src="<?=base_url()?>assets/images/edit-icon.gif" title="Edit" width="25" height="25" alt="Edit" align = "center" class="clickimage" onclick="editformdata('hr','edit_page','<?=$viewinfo->leave_allocation_id;?>','leave_allocation','leave_allocation_id','edit_leave_allocation')" alt="" /> </div> <div class="icons_caption"> <h4>Leave Allocation details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('',$attributes); $emp=$this->mastermodel->get_data_srow('employee',$viewinfo->employee_id,'employee_id'); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Employee</label> <div class="single_page"> <?=$emp->employee_name;?> </div> </div> <div class="section _100"> <label>Employee No</label> <div class="single_page"> <?=$emp->employee_no;?> </div> </div> <div class="section _100"> <label>Designation</label> <div class="single_page"> <?=$this->mastermodel->get_single_field_value('designation','designation_name','designation_id',$emp->employee_designation_id);?> </div> </div> <div class="section _100"> <label>Designation</label> <div class="single_page"> <?=$this->mastermodel->get_single_field_value('department','department_name','department_id',$emp->employee_department_id);?> </div> </div> <div class="section _100"> <label>Year</label> <div class="single_page"> <?=$viewinfo->leave_allocation_year;?> </div> </div> <div class="content"> <table id="table-example_noHeader" class="table"> <thead> <tr> <td><label>Leave Type</label></td> <td><label>No.of Days</label></td> </tr> </thead> <tbody> <?php $i=1; foreach($leave_type as $leave) { ?> <tr> <td> <?=$leave['leave_type_name'];?> </td> <td> <?=$leave['leave_allocation_days'];?> </td> </tr> </tbody> <?php $i++; } ?> </table> </div> <?php echo form_close();?> </div> </div> </div>