{{-- Flagged alert --}} @if($dsar->is_flagged)
This DSAR has been flagged and requires attention.
@endif

Subject Access Request {{ ucwords($dsar->status) }}

Submitted to: {{ $institution->display_name }}

{{ ucwords($dsar->status) }}

Request Details

Date Sent

{{ $dsar->created_at->format('d M Y') }}

Response Deadline

{{ $dsar->created_at->addDays(30)->format('d M Y') }}

@if($dsar->reference)
Our Reference

{{ $dsar->reference }}

@endif @if($dsar->receiver_reference)
Their Reference

{{ $dsar->receiver_reference }}

@endif {{-- Posted date --}} @if($dsar->posted_at)
Posted On

{{ $dsar->posted_at->format('d M Y') }}

@endif {{-- Sent To --}} @if($emailSend) @php $sentToName = $emailSend->recipient_name ?? null; $sentToEmail = $emailSend->recipient_email ?? null; @endphp
Sent To

@if($sentToName) {{ $sentToName }} <{{ $sentToEmail }}> @else {{ $sentToEmail }} @endif Email

@elseif(in_array($dsar->status, ['sent', 'needs posting', 'completed']))
Delivery Method

Posted

@endif
Letter Content
{!! $dsar->content !!}
@if($dsar->email_content)
Email Content
{!! $dsar->email_content !!}
@endif
Response Log