{{ $data['title'] }}
Hello {{ $data['name'] }},
@if(isset($data['is_cancelled_notification']) && $data['is_cancelled_notification'])
An overtime application submitted by {{ $data['applicant_name'] }} ({{ $data['applicant_email'] }}{{ $data['applicant_phone_number'] ? ', ' . $data['applicant_phone_number'] : '' }}) has been Cancelled{{ isset($data['cancelled_by']) && $data['cancelled_by'] ? ' by ' . $data['cancelled_by'] : '' }}.
@elseif(isset($data['is_applicant_notification']) && $data['is_applicant_notification'])
Your overtime application has been
@if(($data['status_text'] ?? null) == 'approved')
Approved
@elseif(($data['status_text'] ?? null) == 'rejected')
Rejected
@else
{{ $data['status_text'] ?? 'reviewed' }}
@endif
{{ isset($data['reviewed_by']) && $data['reviewed_by'] ? ' by ' . $data['reviewed_by'] : '' }}.
@else
An overtime application has been submitted by {{ $data['applicant_name'] }} ({{ $data['applicant_email'] }}{{ $data['applicant_phone_number'] ? ', ' . $data['applicant_phone_number'] : '' }}) and is
@if(($data['status_text'] ?? null) == 'approved')
Approved
@elseif(($data['status_text'] ?? null) == 'rejected')
Rejected
@else
{{ $data['status_text'] ?? 'pending your review' }}
@endif{{ isset($data['reviewed_by']) && $data['reviewed_by'] ? ' by ' . $data['reviewed_by'] : '' }}.
@endif
| Overtime Details |
|
Submitted At
{{ $data['submitted_at'] }}
|
Total Days
{{ number_format($data['overtime']->total_days, 2) }}
|
|
Description
{{ $data['overtime']->description ?: '-' }}
|
@if($data['overtime']->attachment_path)
|
Attachment
View Attachment
|
@endif
@if(isset($data['director_remark']) && $data['director_remark'])
|
Director Remark
{{ $data['director_remark'] }}
|
@endif
@if(isset($data['action_url']) && $data['action_url'])
@else
{{ $data['footer_message'] ?? 'Please log in to PE Portal to review the overtime application.' }}
@endif
|