@extends('emails.layout') @section('content')
Your leave request has been processed.
Type: {{ ucfirst($leave->type) }}
Period: {{ $leave->start_date->format('d M') }} to {{ $leave->end_date->format('d M, Y') }}
Total Days: {{ $leave->total_days }}
Status: {{ ucfirst($leave->status) }}
Your leave request has been Approved. Please ensure your tasks are handed over before you leave.
@elseUnfortunately, your leave request was Rejected. Please contact your manager for further clarification.
@endif My Leave History @endsection