@component('mail::message')
Dear {{$user->employmentDetail->functionalReporting->first_name}},
You are requested to approve the following leave applied by {{$user->salutation == 'Ms.'?'Ms.':'Mr.'}} {{$user->first_name}} {{$user->middle_name?? ''}} {{$user->last_name?? ''}}.
| Employee Id | Leave Type | From | To | No of Days | Reason |
|---|---|---|---|---|---|
| {{$user->st_code}} | {{$application->leaveType->name}} | {{$application->date_from}} | {{$application->date_to}} | {{$application->no_of_days}} | {{$application->reason}} |