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


Hi, {{ $mailhaname }},


{{ $user->name }} has cancelled their time off request

Leave type: {{ $mailtype }}

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

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

No action required.

Thanks,
HR - Touch

@else
{{ config('adminlte.title') }} HR - Touch


Hi, {{ $mailhaname }},


{{ $user->name }} has made a cancellation requested

Leave type: {{ $mailtype }} @if ($mailtype === 'Other') - {{ $mailreason }} @endif

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

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

Reason {{ $mailreason }}

Login in HR to accept or decline this cancellation request.

Thanks,
HR - Touch

@endif