@endif
{{-- Supporting Facts --}}
@if($note->supporting_facts)
@endif
{{-- Attacks & Rebuttals --}}
@if($note->attacks_rebuttals)
@endif
{{-- Attachments --}}
@if($note->attachments && $note->attachments->isNotEmpty())
Attachments ({{ $note->attachments->count() }})
@foreach($note->attachments as $attachment)
@php
$iconMeta = match($attachment->file_type) {
'pdf' => ['bg' => 'bg-red-100', 'text' => 'text-red-600', 'label' => 'PDF'],
'word' => ['bg' => 'bg-blue-100', 'text' => 'text-blue-600', 'label' => 'DOC'],
'excel' => ['bg' => 'bg-green-100', 'text' => 'text-green-600', 'label' => 'XLS'],
'image' => ['bg' => 'bg-purple-100', 'text' => 'text-purple-600', 'label' => 'IMG'],
default => ['bg' => 'bg-gray-100', 'text' => 'text-gray-500', 'label' => strtoupper($attachment->extension)],
};
@endphp
{{ $iconMeta['label'] }}
{{ $attachment->original_filename }}
{{ $attachment->formatted_size }}
Download
@endforeach
@endif
{{-- Bottom acknowledge CTA if not yet done --}}
@if(!$ack->acknowledged_at)
Please confirm you have read and understood this speaking note.