{{-- TODO: Add image for ITT & BTG by APP_NAME --}} @if ($mailstatus === 'Pending')
{{ config('adminlte.title') }} HR - Touch


Hi, {{ $mailtoname }},


{{ $user->name }} has approved your time off request

Leave type: {{ $mailtype }}

Date: {{ date('d/m/Y', strtotime($maildate)) }}

Total amount of time off: {{ number_format($maildays, 1) }} day(s)

Thanks,
HR - Touch

@elseif ($mailstatus === 'Approved')
{{ config('adminlte.title') }} HR - Touch


Hi, {{ $mailtoname }},


{{ $user->name }} has approved your cancellation time off request

Leave type: {{ $mailtype }}

Date: {{ date('d/m/Y', strtotime($maildate)) }}

Total amount of time off: {{ number_format($maildays, 1) }} day(s)

Thanks,
HR - Touch

@elseif ($mailstatus === 'Cancel_Rejected')
{{ config('adminlte.title') }} HR - Touch


Hi, {{ $mailtoname }},


{{ $user->name }} has rejected your cancellation time off request

Leave type: {{ $mailtype }}

Date: {{ date('d/m/Y', strtotime($maildate)) }}

Total amount of time off: {{ number_format($maildays, 1) }} day(s)

Reason of rejection: {{ $mailreason }}

Thanks,
HR - Touch

@elseif ($mailstatus === 'Rejected')
{{ config('adminlte.title') }} HR - Touch


Hi, {{ $mailtoname }},


{{ $user->name }} has rejected your time off request

Leave type: {{ $mailtype }}

Date: {{ date('d/m/Y', strtotime($maildate)) }}

Total amount of time off: {{ number_format($maildays, 1) }} day(s)

Reason of rejection: {{ $mailreason }}

Thanks,
HR - Touch

@endif