?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Timesheet/ |
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/sgms/application/views/Timesheet/load_timesheet_values.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $attendance_days=explode(',', $info['attendance']); $attendance_date=explode(',', $info['attendance_date']); ?> <td><?=$info['employee_name'];?></td> <td><?=$info['employee_trade'];?></td> <td><?=$info['employee_no'];?> <input type="hidden" name="employee_id[]" value="<?=$info['employee_id'];?>"/> </td> <td> <?=$info['employee_company'];?> <input type="hidden" name="company_id[]" value="<?=$info['employee_company_id'];?>"/> </td> <?php $i=1; foreach ($attendance_days as $att) { ?> <td><input type="text" name="attendance_day<?=$i;?>[]" <?php if(!is_numeric($att)){ ?>style="color:#ff0000;"<?php } ?> value="<?=$att;?>" class="tiny"/> </td> <?php $i++; } ?> <?php $i=1; foreach ($attendance_date as $attend) { ?> <input type="hidden" name="attendance_date<?=$i;?>[]" value="<?=$attend;?>" class="tiny"/>> <?php $i++; } ?> <td> <input type='text' class='tiny' name="normal_hours[]" value="<?=$info['normal_hours'];?>" /> </td> <td> <input type='text' class='tiny' name="ot_hours[]" value="<?=$info['ot_hours'];?>" /> </td> <td> <input type='text' class='tiny' name="hot_hours[]" value="<?=$info['hot_hours'];?>" /> </td> <td> <span id="total_hours"><?=$info['total_hours'];?></span> </td> <td> <input type='text' class='tiny' name="basic_rate[]" value="<?=$info['basic_rate'];?>" /> </td> <td> <input type='text' class='tiny' name="ot_rate[]" value="<?=$info['ot_rate'];?>" /> </td> <td> <input type='text' class='tiny' name="hot_rate[]" value="<?=$info['hot_rate'];?>" /> </td> <td> <span id="normal_amount"><?=$info['normal_amount'];?></span> </td> <td> <span id="ot_amount"><?=$info['ot_amount'];?></span> </td> <td> <span id="hot_amount"><?=$info['hot_amount'];?></span> </td> <td> <span id="total_amount"><?=$info['total_amount'];?></span> </td> <td> <div class="fronticons"> <img src="<?=base_url()?>assets/images/delete-icon.png" title="Delete Row" width="20" height="20" alt="Delete" align = "center" class="clickimage" onclick=" return deletetimesheetrow($($(this).closest('tr')).attr('id'))" alt="" /> </div> </td>