@component('mail::message') # ⏰ Clearance Reminder — Resignation #{{ $resignation->id }} This is a friendly reminder that the following department clearances are still **pending** for the resignation request of **{{ optional($resignation->user)->name ?? 'N/A' }}**. @if($resignation->last_working_day) **Last Working Day:** {{ $resignation->last_working_day->format('d M Y') }} @endif --- @component('mail::panel') ### Pending Departments @foreach($pendingDeptNames as $name) - {{ $name }} @endforeach @endcomponent Please complete your department's clearance before the **Last Working Day**. @if($resignation->allClearancesCleared()) ✅ All clearances are now complete. @else 📅 HR will continue to send daily reminders until clearance is completed or LWD has passed. @endif @component('mail::button', ['url' => url('/resignations/'.$resignation->id)]) Open Clearance Request @endcomponent Thanks, **HR Department** {{ config('app.name') }} @endcomponent