{{ config('app.name', 'Matendes HRM') }}

Dear {{ $application->full_name }},

{{ ucfirst($type === 'applied' ? 'Received' : $type) }}
@if($type === 'applied')

Thank you for your interest in joining our team! We've received your application for the {{ $application->jobList->job_title }} position.

Our recruitment team will review your application and get back to you if your profile matches our requirements.

@elseif($type === 'interview')

We are pleased to invite you for an interview for the {{ $application->jobList->job_title }} position!

@if($application->interview_date)

Scheduled Time: {{ \Carbon\Carbon::parse($application->interview_date)->format('F j, Y, g:i A') }}

@endif

Please be prepared and let us know if you need to reschedule.

@elseif($type === 'rejected')

Thank you for the time you spent applying for the {{ $application->jobList->job_title }} position at our company.

After careful consideration, we have decided not to move forward with your application at this time. We appreciate your interest and wish you the best in your job search.

@elseif($type === 'confirmed')

Congratulations! We are happy to inform you that your application for the {{ $application->jobList->job_title }} position has been confirmed.

Our HR representative will contact you shortly with the next steps regarding your onboarding process.

@endif

Best regards,
The Recruitment Team
{{ config('app.name', 'Matendes HRM') }}