| {{ $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 }} |
@empty