<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title>Attendance</title>
    <style media="screen">
      h3{
        text-align:center;
      }
      table {
      border-collapse: collapse;
      text-align:center
    }

    table, th, td {
      border: 1px solid black;
    }

    .table{
      width:100%;
      text-align:center;
    }
    </style>
  </head>
  <body>
    <h3>Attendance Report For  the date of <?php echo e($date); ?></h3>
    <table class="table">
    <tr>
      <th>Employee Code</th>
      <th>Name</th>
      <th>Attendance Date</th>
      <th>In Time</th>
      <th>In Distance</th>
      <th>Out Time</th>
      <th>Out Distance</th>
      <th>Office</th>
      <th>Remarks</th>
      <th>Late Remarks</th>
    </tr>

    <?php $__currentLoopData = $attendance; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <tr>
      <td><?php echo e($value->employee_code); ?></td>
      <td><?php echo e($value->name); ?></td>
      <td><?php echo e($value->attendance_date); ?></td>
      <td><?php echo e($value->in_time); ?></td>
      <td><?php echo e($value->indistance); ?></td>
      <td><?php echo e($value->out_time); ?></td>
      <td><?php echo e($value->outdistance); ?></td>
      <td><?php echo e($value->checkin_office); ?></td>
      <td><?php echo e($value->remarks); ?></td>
      <td><?php echo e($value->late_remarks); ?></td>

    </tr>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


    </table>
  </body>
</html>
