Overtime Report
Generated on {{ now()->format('d M Y, h:i A') }}
Name {{ $overtime->employee_first_name }}
Date {{ \Carbon\Carbon::parse($overtime->date)->format('d F Y') }}
Overtime For {{ $overtime->overtime_for }}
Proposed Start Time {{ $overtime->start_hours }}
Proposed End Time {{ $overtime->end_hours }}
Actual Start Time @php $firstIn = $checkins->where('checkin_type', 'IN (OT)')->first(); @endphp {{ $firstIn ? \Carbon\Carbon::parse($firstIn->checkin_datetime)->format('h:i A') : '-' }}
Actual End Time @php $lastOut = $checkins->where('checkin_type', 'OUT (OT)')->last(); @endphp {{ $lastOut ? \Carbon\Carbon::parse($lastOut->checkin_datetime)->format('h:i A') : '-' }}
Total Hours {{ $overtime->total_hours }}
Reason {{ $overtime->reason }}
Status {{ $overtime->status_text }}

Check-in / Check-out Log

@forelse($checkins as $log) @empty @endforelse
Date Type Time Reason Location
{{ \Carbon\Carbon::parse($log->checkin_datetime)->format('d F Y') }} {{ $log->checkin_type }} {{ \Carbon\Carbon::parse($log->checkin_datetime)->format('h:i A') }} {{ $log->checkin_other_reason ?? $log->checkin_reason }} {{ $log->checkin_sublocality ?? $log->checkin_locality ?? 'N/A' }}
No check-in record found.