| Employee | Type | From | To | Days | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $leave->employee?->full_name ?? '—' }} | {{ ucfirst($leave->type) }} | {{ $leave->from_date->format('Y-m-d') }} | {{ $leave->to_date->format('Y-m-d') }} | {{ $leave->days }} | {{ ucfirst($leave->status) }} | @if($canApprove && $leave->status==='pending') @else — @endif |
| No leave requests. | ||||||