Leaves Report

Generated on {{ now()->format('F d, Y H:i:s') }}

Total Leave Records: {{ $leaves->count() }}

@foreach($leaves as $leave) @endforeach
Employee Leave Type Start Date End Date Days Status
{{ $leave->employee->first_name ?? '' }} {{ $leave->employee->last_name ?? '' }} {{ $leave->leaveType->name ?? 'N/A' }} {{ $leave->start_date->format('M d, Y') }} {{ $leave->end_date->format('M d, Y') }} {{ $leave->days_requested }} {{ ucfirst($leave->status) }}