 <?php $__env->startSection('title','Attendance Administration'); ?> <?php $__env->startSection('content'); ?><div class="space-y-6"><div><h1 class="text-2xl font-black">Attendance Administration</h1><p class="text-sm text-slate-500">Review attendance, correction requests, remote work, and lock finalized months.</p></div><form class="card flex flex-wrap gap-3 p-4" method="POST" action="<?php echo e(route('attendance.lock')); ?>"><?php echo csrf_field(); ?><input class="input" name="period" type="month" required><input class="input flex-1" name="notes" placeholder="Lock notes"><button class="btn btn-primary">Lock month</button></form><div class="card overflow-x-auto"><table class="w-full text-sm"><thead><tr><th class="p-3 text-left">User</th><th>Date</th><th>Status</th><th>Worked</th><th>Late</th><th>OT</th><th>Mode</th><th>Locked</th></tr></thead><tbody><?php $__currentLoopData = $records; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $x): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><tr class="border-t"><td class="p-3"><?php echo e($x->user->name); ?></td><td><?php echo e($x->work_date); ?></td><td><?php echo e($x->status); ?></td><td><?php echo e($x->worked_minutes); ?></td><td><?php echo e($x->late_minutes); ?></td><td><?php echo e($x->overtime_minutes); ?></td><td><?php echo e($x->work_mode); ?></td><td><?php echo e($x->is_locked?'Yes':'No'); ?></td></tr><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></tbody></table></div><?php echo e($records->links()); ?></div><?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/macbook/Desktop/crm/softsuite-cms/resources/views/attendance/admin.blade.php ENDPATH**/ ?>