@extends('layouts.app') @section('title', $note->title) @section('page-title', 'Speaking Note') @section('content')
{{-- Back link --}} Back to My Notes {{-- Header --}}
{{ $note->urgency_label }} @if($note->scheduled_for) For: {{ $note->scheduled_for->format('l, d M Y') }} @endif

{{ $note->title }}

Issued by NPP Communications Directorate · {{ $ack->delivered_at?->format('d M Y, g:ia') }}

@if($note->topic_tags)
@foreach($note->topic_tags as $tag) #{{ $tag }} @endforeach
@endif
{{-- Acknowledge button --}} @if(!$ack->acknowledged_at)
@csrf
@else
Acknowledged {{ $ack->acknowledged_at->format('d M, g:ia') }}
@endif
{{-- Headline message --}}

Today's Headline Message

{{ $note->headline_message }}

{{-- Talking points --}} @if($note->talking_points)

Talking Points / Speaking Notes

{{ $note->talking_points }}
@endif {{-- Supporting Facts --}} @if($note->supporting_facts)

Supporting Facts & Data

{{ $note->supporting_facts }}
@endif {{-- Attacks & Rebuttals --}} @if($note->attacks_rebuttals)

Attacks & How to Rebut

{{ $note->attacks_rebuttals }}
@endif {{-- Lines to Avoid --}} @if($note->lines_to_avoid)

⚠ Lines to Avoid

{{ $note->lines_to_avoid }}
@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.

@csrf
@endif
@endsection