Staff License Expiry Notification ({{ $reminderTitle }})

@if (isset($user) && $user) This email is to remind that staff: {{ getUserName($user) }} licenses has expired/due to expire as per below details: @else The following staff License/Approval has expired/due to expire as per below details: @endif

@if (isset($director) && $director) @endif @php $j = 0 @endphp @foreach($staffLicenses as $i => $item) @if (!$item || !$item->user || !$item->license) @continue @endif @php $user = $item->user @endphp @php $license = $item->license @endphp @php $expired = strtotime($item->expiry_date) < strtotime($today) @endphp @if (isset($director) && $director) @endif @endforeach
NoFirst Name Last Name StationLicense Expiry Date
{{ ++$j }}{{ $user->first_name }} {{ $user->last_name }} {{ getUserLocationAirport($user) }}{{ $license->name }} ({{ $license->abbr }}) {{ $item->expiry_date }}

@if (isset($user) && $user) Please take appropriate action/s to renew the same. @else Please take appropriate action/s to renew the same and update the records. @endif

Please do not reply to this auto-generated email.

Thank You.

Admin.