?
Current Path : /home1/savoy/public_html/savoyglobal.net/futuredraft/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/futuredraft/application/views/hr/item_box.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); //$tool_name=$this->mastermodel->getdatas('tool_kit_details','tool_id'); $des=$this->mastermodel->get_single_field_value('employee','employee_designation_id','employee_id',$employee_id); //$professional=$this->mastermodel->get_data('tool_kit',$des,'designation_id'); $des1=$this->mastermodel->get_single_field_value('tool_kit','tool_id','designation_id',$des); $tool_name=$this->mastermodel->get_data('tool_kit_details',$des1,'tool_id'); ?> <script> $(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"> </div> <div class="icons_caption"> </div> </div> <div class="clean"></div> <div class="grid_12"> <div class="box"> <div class="header main"></div> <table class="table"> <tr> <th>Select</th> <th>Tool Name</th> <th>Tool Quantity</th> <th>Remarks</th> </tr> <tr> <?php $i=1; foreach($tool_name as $tool) { ?> <tr> <td><input style="width:15px;" type="checkbox" name="select_tool_<?=$i;?>" /></td> <td> <input type="hidden" name="tool_id<?=$i;?>" value="<?=$tool['id'];?>"/> <?=$tool['tool_name'];?> </td> <td> <input style="width:75px;" type="text" name="tool_allocation_kit_qty<?=$i;?>" class="" /> </td> <td> <input type="text" name="tool_allocation_kit_remarks<?=$i;?>" class="" /> </td> </tr> <?php $i++; } ?> </tr> </table> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">save</button> </div> </div> </div> </div>