@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?? ''}}.

@foreach ($user->leaveApplications as $application) @endforeach
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}}


Regards,
Human Resource Department

https://focushrms.misakah.com/attendance/leave-management?status=pending {{-- http://127.0.0.1:8000/attendance/leave-management?status=pending --}} @endcomponent