@php $case = $urgentCase; $recipient = $case->recipient; $primaryNationalId = $recipient?->nationalIds?->first(); @endphp
@csrf @method('PUT')
Hospital: {{ $case->hospital?->hospital_name ?? '—' }}
Last hospital submission: {{ $case->hospital_submitted_at?->format('Y-m-d H:i') ?? '—' }}
Recipient info :
Full name: {{ trim(($recipient?->first_name ?? '') . ' ' . ($recipient?->second_name ?? '') . ' ' . ($recipient?->third_name ?? '') . ' ' . ($recipient?->last_name ?? '')) ?: '—' }}
Recipient ID: {{ $recipient?->id ?? '—' }}
City / District: {{ ($recipient?->city ?? '—') }} / {{ ($recipient?->district ?? '—') }}
Phones: @if($recipient && $recipient->phoneNumbers->count()) {{ $recipient->phoneNumbers->pluck('phone_number')->join(' - ') }} @else — @endif
National ID number: {{ $primaryNationalId?->national_id_number ?? '—' }}
Case description
{{ $case->case_description ?: '—' }}
@error('required_amount')
{{ $message }}
@enderror
Current attachments
RFQ
@if($case->RFQ) View current file @else
No file
@endif
Document
@if($case->document) View current file @else
No file
@endif
Upload / update attachments
No file chosen
@error('RFQ')
{{ $message }}
@enderror
No file chosen
@error('document')
{{ $message }}
@enderror
@error('hospital_notes')
{{ $message }}
@enderror