<?php $__env->startSection('title', 'User List'); ?>

<?php $__env->startSection('content'); ?>
    <div class="card">
        <div class="card-header d-flex justify-content-between align-items-center">
            <h5 class="mb-0">Todays Attendance List</h5>
            
          </div>
        <div class="card-body">
            <div class="table-responsive text-nowrap">
                <table class="table table-bordered">
                    <thead>
                        <tr>
                            <th>SL</th>
                            <th>User Id</th>
                            <th>Punch Time</th>
                            <th>Punch Type</th>
                            <th>Punch Mode</th>
                            <th>Status</th>
                        </tr>
                    </thead>
                    <tbody>

                        <?php $__currentLoopData = $attendance; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($loop->iteration); ?></td>
                                <td><?php echo e($data->userId); ?></td>
                                <td><?php echo e($data->punchTime); ?></td>
                                <td><?php echo e($data->punchType); ?></td>
                                <td><?php echo e($data->punchMode); ?></td>
                                <td><?php echo e($data->status == 1? 'Synced' : 'Not Synced'); ?></td>
                                
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


                    </tbody>
                </table>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\Gpush\resources\views/pages/data/index.blade.php ENDPATH**/ ?>