?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/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/sgms/application/views/HR/employee_attendance_info.php |
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ ?> <li> <table class="sort"> <tr> <th>Present</th> <th>Date</th> <th>Time</th> <th>Mode</th> <th>Remarks</th> <th>Status</th> <th>Type</th> </tr> <?php $i=0; foreach($viewinfo as $row) { $i++; $status = $this->hrmodel->get_employee_attendance_status($employee->device_no,$employee->employee_id,$row['attendance_date'],$row['attendance_mode']); ?> <tr> <td><input type="checkbox" name="present_<?=$i;?>" checked class="reportcheck"/></td> <td><?=$this->mastermodel->convertdatenormalformat(substr($row['attendance_date'],0,11));?></td> <td><?=substr($row['attendance_date'],11,5);?></td> <td> <select name="attendance_mode_<?=$i;?>"> <option value="0"<?php if($row['attendance_mode']==0)echo "selected";?>>In</option> <option value="1"<?php if($row['attendance_mode']==1)echo "selected";?>>Out</option> <option value="2"<?php if($row['attendance_mode']==2)echo "selected";?>>Break Out</option> <option value="3"<?php if($row['attendance_mode']==3)echo "selected";?>>Break In</option> <option value="4"<?php if($row['attendance_mode']==4)echo "selected";?>>OT In</option> <option value="5"<?php if($row['attendance_mode']==5)echo "selected";?>>OT Out</option> </select> </td> <td> <input type="text" name="attendance_remarks_<?=$i;?>" value="<?=$row['attendance_remarks'];?>"/> <input type="hidden" name="timesheet_attendance_id_<?=$i;?>" value="<?=$row['timesheet_attendance_id'];?>"/> </td> <td> <?=$status;?> </td> <td> <?=$row['attendance_type']?"Manual":"Device";?> </td> </tr> <?php } ?> <input type="hidden" name="num_rows" value="<?=$i;?>"/> </table> </li> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Mark</button> </li>