@extends('components.app-layout') @section('title', 'Donation Successful') @section('subtitle', 'Thank you for your generosity') @section('content')

Donation Successful!

Thank you for your generous contribution to our church

Donation Receipt

Transaction completed successfully

Reference

{{ $donation->paystack_reference }}

Donation Details

Amount GHS {{ number_format($donation->amount, 2) }}
Type {{ ucwords(str_replace('_', ' ', $donation->donation_type)) }}
@if($donation->purpose)
Purpose {{ $donation->purpose }}
@endif
Payment Method {{ ucwords(str_replace('_', ' ', $donation->payment_channel)) }}
Date & Time {{ $donation->confirmed_at ? $donation->confirmed_at->format('M d, Y \a\t g:i A') : $donation->donation_date->format('M d, Y') }}

Donor Information

@if(!$donation->is_anonymous)
Name {{ $donation->donor_name }}
Email {{ $donation->donor_email }}
@if($donation->donor_phone)
Phone {{ $donation->donor_phone }}
@endif @if($donation->member)
Member ID {{ $donation->member->member_id }}
@endif @else

Anonymous Donation

@endif
@if($donation->transaction_fee)

Transaction Breakdown

Donation Amount GHS {{ number_format($donation->amount, 2) }}
Transaction Fee GHS {{ number_format($donation->transaction_fee, 2) }}
Net Amount Received GHS {{ number_format($donation->net_amount, 2) }}
@endif

What happens next?

Your donation has been successfully processed and will be used to support our church ministries and community outreach programs.

Receipt sent to your email
Added to church records
Supporting our mission
@endsection