@extends('layouts.staff') @section('header')
📋 Note: Showing attendance records for the current and previous month. Older records are securely stored in the database and retained for 6 years.
Check-In: {{ $todayAttendance->check_in_time->format('H:i') }} @if($todayAttendance->hasCheckedOut()) | Check-Out: {{ $todayAttendance->check_out_time->format('H:i') }} | Duration: {{ $todayAttendance->getFormattedDuration() }} | ✓ COMPLETED @else | ⏳ IN PROGRESS → Check Out Now @endif
| Employee No | Date | Check-In Time | Check-Out Time | Duration | ||
|---|---|---|---|---|---|---|
| {{ $attendance->user->employee?->employee_no ?? 'N/A' }} | {{ $attendance->attendance_date->format('M d, Y') }} @if($isToday) 🎯 TODAY @endif | {{ $attendance->check_in_time->format('H:i') }} | @if($hasCheckedOut) {{ $attendance->check_out_time->format('H:i') }} @else Not checked out @endif | @if($hasCheckedOut) {{ $attendance->getFormattedDuration() }} @else - @endif | @if($isToday && !$hasCheckedOut) Check Out @else - @endif | |
| No attendance records found. | ||||||