{{ $recipient->first_name }} {{ $recipient->second_name }} {{ $recipient->third_name }} {{ $recipient->last_name }}
{{ $recipient->city }} - {{ $recipient->district }}
ID: {{ $recipient->id }}
Birth Date: {{ $recipient->birth_date }}
Status: {{ $recipient->status }}
Phones
@forelse($recipient->phoneNumbers as $phone)
{{ $phone->phone_number }}
@empty
No phones
@endforelse
Fund Registrations
@forelse($recipient->fundRegistrations as $fund)
Type: {{ ucfirst($fund->fund_type) }}
Date: {{ $fund->application_date ?? $fund->created_at }}
Status: {{ ucfirst($fund->fstatus) }}
@empty
No Fund Registrations
@endforelse
National IDs
@forelse($recipient->nationalIds as $nid)
ID Number: {{ $nid->national_id_number }}
Front
@if($nid->front_image) Front ID @else
No image
@endif
Back
@if($nid->back_image) Back ID @else
No image
@endif
Selfie with ID
@if($nid->selfie_with_id_image) Selfie with ID @else
No image
@endif
@empty
No National IDs
@endforelse
Documents
@forelse($recipient->documents as $doc) @php $docPath = $doc->document ? asset('storage/' . $doc->document) : null; $docExt = $doc->document ? strtolower(pathinfo($doc->document, PATHINFO_EXTENSION)) : null; $isPdf = $docExt === 'pdf'; @endphp @if($docPath) @if($isPdf)
PDF
@else Document @endif
@else
@endif @empty
No documents
@endforelse
Urgent Cases
@forelse($recipient->urgentCases as $case)
Description: {{ $case->case_description }}
Required: {{ $case->required_amount }}
Collected: {{ $case->collected_amount }}
Status: {{ $case->status }}
RFQ: {{ $case->RFQ }}
@if($case->reasoun_for_rejection)
Reason: {{ $case->reasoun_for_rejection }}
@endif
@empty
No Urgent Cases
@endforelse