Logo

Recipient Report

Generated on {{ now()->format('Y-m-d H:i') }}


Basic Information

Full Name{{ $recipient->first_name }} {{ $recipient->second_name }} {{ $recipient->third_name }} {{ $recipient->last_name }}
Birth Date{{ $recipient->birth_date }}
City{{ $recipient->city }} - {{ $recipient->district }}
Medical Description{{ $recipient->description ?: '—' }}
Status{{ $recipient->status }}

Phones

Phone Numbers @forelse($recipient->phoneNumbers as $phone) {{ $phone->phone_number }}
@empty No phones @endforelse

National IDs

@forelse($recipient->nationalIds as $nid) @empty @endforelse
ID Number {{ $nid->national_id_number }}
Front Image @if($nid->front_image) @else No Image @endif
Back Image @if($nid->back_image) @else No Image @endif
Selfie with ID @if($nid->selfie_with_id_image) @else No Image @endif
No National IDs

Fund Registrations

@forelse($recipient->fundRegistrations as $fund) @empty @endforelse
Type{{ ucfirst($fund->fund_type) }}
Date{{ $fund->created_at }}
Status{{ ucfirst($fund->fstatus) }}
No Fund Registrations

Documents

Documents @forelse($recipient->documents as $doc) @php $docRelPath = $doc->document; $docExt = $docRelPath ? strtolower(pathinfo($docRelPath, PATHINFO_EXTENSION)) : null; $isPdf = $docExt === 'pdf'; $isImage = in_array($docExt, ['jpg', 'jpeg', 'png', 'webp'], true); $mime = match ($docExt) { 'png' => 'image/png', 'webp' => 'image/webp', default => 'image/jpeg', }; @endphp @if($isImage && $docRelPath && file_exists(storage_path('app/public/' . $docRelPath))) @elseif($isPdf)
PDF: {{ basename($docRelPath) }}
@else
File: {{ $docRelPath }}
@endif @empty No documents @endforelse

Urgent Cases

@forelse($recipient->urgentCases as $case) @empty @endforelse
Case Description{{ $case->case_description }}
Required Amount{{ $case->required_amount }}
Collected Amount{{ $case->collected_amount }}
Status{{ $case->status }}
RFQ{{ $case->RFQ }}
Reason for Rejection{{ $case->reasoun_for_rejection }}
No Urgent Cases