Generated on {{ now()->format('Y-m-d H:i') }}
| 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 }} |
| Phone Numbers |
@forelse($recipient->phoneNumbers as $phone)
{{ $phone->phone_number }} @empty No phones @endforelse |
|---|
| ID Number | {{ $nid->national_id_number }} |
|---|---|
| Front Image |
@if($nid->front_image)
|
| Back Image |
@if($nid->back_image)
|
| Selfie with ID |
@if($nid->selfie_with_id_image)
|
| No National IDs | |
| Type | {{ ucfirst($fund->fund_type) }} |
|---|---|
| Date | {{ $fund->created_at }} |
| Status | {{ ucfirst($fund->fstatus) }} |
| No Fund Registrations | |
| 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)))
PDF: {{ basename($docRelPath) }}
@else
File: {{ $docRelPath }}
@endif
@empty
No documents
@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 | |