?
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/add_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'); ?> <script language="javascript" type="text/javascript"> function show_item_box() { $("#item_box_div").load("<?= site_url() ?>/hr/load_items/item_box/"+$('#employee_id').val()); } </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_caption"> <h4>Creating Tool Allocation</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('hr/addinhr/insert_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> <select name="employee_id" id="employee_id" class="required"> <option>Select Employee</option> <?php foreach($employee1 as $list) { ?> <option value="<?=$list['employee_id']?>"><?=$list['employee_name']?></option> <?php } ?> </select> </div> </div> </div> <div class="section _100"> <label>Tool Allocation Date</label> <div> <input id="date" type="dateonly" class="required" name="tool_allocation_date"> </div> </div> <input type="hidden" name="resfunction" value="search_tool_allocation"/> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button style="margin-left: 130px;" type="button" id="submit" class="clickimage" onclick="show_item_box()">Load Tools</button> </div> </div> </div> </div> </div> <div class="content no-padding" id="item_box_div"> </div> <?php echo form_close();?>