@if($newStatus === 'approved') ✅ Leave Request Approved @else ❌ Leave Request Rejected @endif

{{ strtoupper($newStatus) }}
Dear {{ $employee->first_name }},

Your leave request has been {{ $newStatus }} by {{ $approver->first_name }} {{ $approver->last_name }}.

Request Number:
{{ $leave->request_number }}
Leave Type:
{{ $leaveType }}
Start Date:
{{ $leave->start_date->format('d M Y') }}
End Date:
{{ $leave->end_date->format('d M Y') }}
Total Days:
{{ $leave->total_days }} day(s)
Status:
{{ strtoupper($newStatus) }}
@if($leave->approved_at)
Decided On:
{{ $leave->approved_at->format('d M Y, h:i A') }}
@endif
@if($note)

📝 Approver's Note:

{{ $note }}

@endif
View Leave Details

@if($newStatus === 'approved') We hope you have a great time off! Please ensure all your work is properly handed over. @else If you have any questions about this decision, please contact your supervisor or HR department. @endif