?
Current Path : /home1/savoy/public_html/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/public_html/savoyglobal.net/rms/application/views/hr/single_tool_allocation.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $employee1=$this->mastermodel->getdatas('employee','employee_id','asc','employee_id'); $tool_name=$this->mastermodel->get_data_joined('tool_allocation_details','tool_kit_details','tool_allocation_kit_id','id',$viewinfo->tool_allocation_id,'tool_allocation_id'); ?> <script language="javascript" type="text/javascript"> function show_item_box() { $("#item_box_div").load("<?= site_url() ?>/hr/load_items/item_box/"+$('#employee_name').val()); } $(document).ready(function() { $('#table-example').dataTable(); $(window).resize(); }); </script> <script defer src="<?=base_url()?>assets/js/script.js"></script> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_tool_allocation','view_tool_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->tool_allocation_id;?>','tool_allocation','tool_allocation_id','edit_tool_allocation')" alt="" /> </div> <div class="icons_caption"> <h4>Tool Allocation</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('hr/addinhr/update_tool_allocation/view_tool_allocation/1',$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 Name</label> <div style="margin:10px 1px;"> <div> <?=$this->mastermodel->get_single_field_value('employee','employee_name','employee_id',$viewinfo->employee_id);?> </div> </div> </div> <div class="section _100"> <label>Tool Allocation Date</label> <div> <?=$viewinfo->tool_allocation_date ?> </div> </div> </div> </div> </div> <div class="icons_main"> <div class="icons"> </div> <div class="icons_caption"> <h4></h4> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main">Tool Allocation Details</div> <table class="table"> <tr> <th>Tool Name</th> <th>Tool Quantity</th> <th>Remarks</th> </tr> <tr> <?php $i=1; foreach($tool_name as $tool) { ?> <tr> <td> <?=$tool['tool_name'];?> </td> <td id="center"> <?=$tool['tool_allocation_kit_qty'];?> </td> <td> <?=$tool['tool_allocation_kit_remarks'];?> </td> </tr> <?php $i++; } ?> </table> </div> </div> </div> <?php echo form_close();?> <?php $data['master_id']=$viewinfo->tool_allocation_id; $data['controller']='hr'; $data['controller_function']='viewinhrsearch'; $data['page']='view_tool_allocation'; $data['model_function']='search_tool_allocation'; $this->load->view('master/uploaded_files',$data); echo form_close(); ?>