@extends('admin.dashboard') @section('donation-content')

Donations Management

Track and manage all donations made through the platform.

Donation Statistics

Total Donations
{{ $totalDonations }}
All time
This Month
{{ $thisMonthDonations }}
{{ $percentChange > 0 ? '+' : '' }}{{ number_format($percentChange, 1) }}% from last month
Recurring Donations
{{ $recurringDonations }}
Subscription-based
Avg. Donation
{{ $avgDonation }}
Per transaction
@forelse($donations as $donation) @empty @endforelse
Donor Recipient Amount Date Status Actions
{{ $donation->donor ? $donation->donor->name : 'Anonymous' }}
{{ $donation->donor ? $donation->donor->name : 'Anonymous' }} @if($donation->is_anonymous) (Anonymous) @endif
{{ $donation->donor ? $donation->donor->email : 'N/A' }}
{{ $donation->elderly ? $donation->elderly->name : 'General Fund' }}
@if($globalCurrencyOverride) {{ \App\Services\CurrencyService::formatAmount($donation->amount, $defaultCurrency) }} @else {{ \App\Services\CurrencyService::formatAmount($donation->amount, $donation->currency) }} @endif @if($donation->is_recurring) (Recurring) @endif
{{ $donation->created_at->format('M d, Y H:i') }} @if($donation->payment_status === 'completed') Completed @elseif($donation->payment_status === 'pending') Pending @elseif($donation->payment_status === 'failed') Failed @elseif($donation->payment_status === 'refunded') Refunded @endif
No donations found.
@push('scripts') @endpush @endsection