Employee: {{ $attendance->employee->name }}
Date: {{ $attendance->shift_date->format('Y-m-d') }}
Status: {{ $attendance->status }}
Shift: {{ $attendance->shift?->name ?? '-' }}
Check In:
{{ $attendance->check_in ? \Carbon\Carbon::parse($attendance->check_in)->format('H:i:s') : '-' }}
Check Out:
{{ $attendance->check_in ? \Carbon\Carbon::parse($attendance->check_out)->format('H:i:s') : '-' }}
Late: {{ $attendance->late_minutes }} min
Early Out: {{ $attendance->early_out_minutes }} min
Worked: {{ $attendance->worked_minutes }} min
OT: {{ $attendance->ot_minutes }} min