@extends('layouts.app') @section('content')

Thank You for Your Donation!

Your generosity makes a real difference in the lives of elderly individuals in need.

Donation Receipt

Donation Amount

{{ $donation->formatted_amount }}

Date

{{ $donation->created_at->format('F j, Y') }}

Transaction ID

{{ $donation->transaction_id ?: $donation->transaction_reference }}

Payment Status

{{ ucfirst($donation->payment_status) }}
@if($donation->payment_details) @php $paymentDetails = json_decode($donation->payment_details, true); @endphp @if(isset($paymentDetails['channel']))

Payment Method

{{ ucfirst($paymentDetails['channel']) }}

@endif @if(isset($paymentDetails['authorization']['bank']))

Bank

{{ $paymentDetails['authorization']['bank'] }}

@endif @endif
@if($elderly)

Recipient

{{ $elderly->name }}

{{ $elderly->name }}

{{ $elderly->age }} years • {{ $elderly->location }}

@else

Recipient

General Fund - Supporting elderly individuals in need

@endif @if($donation->is_recurring)

Recurring Donation

Your donation will automatically repeat {{ $donation->recurring_frequency }}. The next payment will be processed on {{ is_string($donation->next_payment_date) ? $donation->next_payment_date : $donation->next_payment_date->format('F j, Y') }}.

@endif

A receipt has been sent to your email address.

Tax ID: 123-456-7890

Share Your Impact

@endsection