@extends('layouts.app', [ 'title' => 'Donor Profile | Blood Donor App', 'pageHeading' => 'Donor Profile', 'pageSubheading' => 'View donor details, eligibility, and full donation history', ]) @section('content')
Phone: {{ $donor->phone }}
Age: {{ $donor->age }}
Address: {{ $donor->address }}
Last Donation: {{ $eligibility['last_donation_date']?->format('d M Y') ?? 'No donations yet' }}
Next Eligible Date: {{ $eligibility['next_eligible_date']?->format('d M Y') ?? 'Eligible immediately' }}
Added by: {{ $donor->creator?->name ?? 'N/A' }}
No donation history available for this donor yet.
| # | Donation Date | Notes | Recorded At |
|---|---|---|---|
| {{ $donationHistory->firstItem() + $index }} | {{ $entry->donation_date?->format('d M Y') }} | {{ $entry->notes ?: '—' }} | {{ $entry->created_at?->format('d M Y, h:i A') }} |