Attendance Report
@forelse ($rows as $row) @php $user = $row->user; $dept = $user?->department; $loc = $row->location; @endphp @empty @endforelse
Date Employee Department Location Status Check In Check Out Break (Min) Overtime (Min) Worked (Hours)
{{ $row->work_date?->format('Y-m-d') }} {{ $user ? $user->first_name . ' ' . $user->last_name : '-' }} {{ $dept?->name ?? '-' }} {{ $loc?->name ?? ($row->location_name ?? '-') }} @if($row->status === 'completed') Present @elseif($row->status === 'open') Open @elseif($row->status === 'void') Void @else {{ ucfirst($row->status) }} @endif {{ $row->check_in_at?->format('H:i') ?? '-' }} {{ $row->check_out_at?->format('H:i') ?? '-' }} {{ $row->break_seconds ? floor($row->break_seconds / 60) : 0 }} {{ $row->overtime_seconds ? floor($row->overtime_seconds / 60) : 0 }} {{ $row->actual_work_hours }}
No attendance records found.