?
Current Path : /home1/savoy/www/savoyglobal.net/sgms/application/views/Administration/ |
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/sgms/application/views/Administration/single_item_reissue.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css"> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('administration','viewinadministrationsearch','search_item_reissue','view_item_reissue','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Employee Items</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); $employee = $this->administrationmodel->get_emp_info($viewinfo->employee_id); if($employee->emp_non_no[0]==',') { $employee->emp_non_no=substr($employee->emp_non_no, 1); } $emp_non_no = str_replace(',',', ', $employee->emp_non_no); ?> <ul> <li> <label for="data">Employee Name</label> <div class="record_entry"> <?php echo $employee->emp_non_full_name; ?> </div> </li> <li> <label for="data">Employee No</label> <div class="record_entry"> <?php echo $emp_non_no; ?> </div> </li> <li> <label for="data">Joining Date</label> <div class="record_entry"> <?php echo $this->mastermodel->convertdatenormalformat($employee->emp_non_date_joining); ?> </div> </li> <li> <label for="data">Trade</label> <div class="record_entry"> <?php echo $employee->trade_name; ?> </div> </li> <li> <label for="data">Allotment Date</label> <div class="record_entry"> <?php echo $this->mastermodel->convertdatenormalformat($viewinfo->item_tool_allotment_date); ?> </div> </li> <li> <table class="sort"> <caption>Trade Tools</caption> <tr> <th align="center">Trade Tools</th> <th align="center">Shelf Life (in Days)</th> <th align="center">Expiry Date</th> <th align="center">Remind before (in Days)</th> </tr> <?php $i=1; $tool_list = $this->administrationmodel->get_tool_list($viewinfo->allotment_id); foreach($tool_list as $tool) { ?> <tr> <td> <?=$tool['tool_name'];?> </td> <td> <?=$tool['tool_shelf_life'];?> </td> <td> <div id="multi"> <?=$tool['tool_allotment_expiry'];?> </div> </td> <td> <?=$tool['tool_allotment_remind_before'];?> </td> </tr> <?php $i++; } ?> </table> </li> <li> <label for="data">Tool Remarks</label> <div class="record_entry"> <?php echo $viewinfo->tool_remarks; ?> </div> </li> <li> <table class="sort"> <caption>General Items</caption> <tr> <th align="center">General Items</th> <th align="center">Size</th> <th align="center">Shelf Life (in Days)</th> <th align="center">Expiry Date</th> <th align="center">Remind before (in Days)</th> </tr> <?php $i=1; $item_list = $this->administrationmodel->get_item_list($viewinfo->allotment_id); foreach($item_list as $item) { ?> <tr> <td> <?=$item['item_name'];?> </td> <td> <?=$item['item_size'];?> </td> <td> <?=$item['item_shelf_life'];?> </td> <td> <?=$item['item_allotment_expiry'];?> </td> <td> <?=$item['item_allotment_remind_before'];?> </td> </tr> <?php $i++; } ?> </table> </li> <li> <label for="data">Item Remarks</label> <div class="record_entry"> <?php echo $viewinfo->item_remarks; ?> </div> </li> </ul> <?php echo form_close();?> </fieldset>