?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/draft/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/sec/draft/application/views/hr/single_leave_allocation.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $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="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Leave Allocation details</div> <div class="tools"> <a href="#" onclick="viewdata('hr','viewinhrsearch','search_leave_allocation','view_leave_allocation','<?=$_SESSION['pagenum'];?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <div class="form-horizontal form-view form-bordered"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('',$attributes); $emp=$this->mastermodel->get_data_srow('employee',$viewinfo->employee_id,'employee_id'); ?> <h3 class="form-section">Leave Allocation</h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Employee Name</label> <div class="controls"> <span class="text bold"><?= $emp->employee_name; ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Year </label> <div class="controls"> <span class="text bold"> <?=$viewinfo->leave_allocation_year;?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Emp No:</label> <div class="controls"> <span class="text bold"> <?= $emp->employee_no ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label"> Designation :</label> <div class="controls"> <span class="text bold"> <?= $this->mastermodel->get_single_field_value('designation', 'designation_name', 'designation_id', $emp->employee_designation_id); ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Department : </label> <div class="controls"> <span class="text bold"> <?= $this->mastermodel->get_single_field_value('department', 'department_name', 'department_id', $emp->employee_department_id); ?></span> </div> </div> </div> </div> <div id="employee"> </div> <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;"> <tr> <th>Leave Type</th> <th>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> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>