?
Current Path : /home1/savoy/www/savoyglobal.net/rms/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/www/savoyglobal.net/rms/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); ?> <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="record_entry" style="margin-top: 6px;"> <?=$this->mastermodel->get_single_field_value('employee','employee_name','employee_id',$viewinfo->employee_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> <?php $data['master_id']=$viewinfo->leave_allocation_id; $data['controller']='hr'; $data['controller_function']='viewinhrsearch'; $data['page']='view_leave_allocation'; $data['model_function']='search_leave_allocation'; $this->load->view('master/uploaded_files',$data); echo form_close(); ?>