@component('mail::message') # ๐Ÿงพ Department Clearance Update โ€” Resignation #{{ $resignation->id }} The **{{ $task->department->name ?? 'Department' }}** team has updated their clearance status for your resignation. @component('mail::panel') **Department:** {{ $task->department->name ?? 'N/A' }} **Status:** {{ $task->status }} **Updated By:** {{ optional($task->actor)->name ?? 'System' }} **Updated At:** {{ optional($task->action_at)?->format('d M Y H:i') ?? 'โ€”' }} @endcomponent @if($task->remarks) **Remarks:** > {{ $task->remarks }} @endif @if($task->status === 'APPROVED') โœ… This means your department clearance has been successfully approved. Your HR team will be notified automatically. @endif @if($task->status === 'LOST') โš ๏ธ The department marked an item as **Lost**. Please contact the department or HR for further clarification. @endif --- @component('mail::button', ['url' => url('/resignations/'.$resignation->id)]) View Clearance Details @endcomponent Thanks, **HR Department** {{ config('app.name') }} @endcomponent