@extends('layouts.admin') @section('title', 'Donations Report') @section('page-title', 'Donations Report') @section('page-subtitle', 'Member donations analysis') @section('content')
Total Donations
GH₵{{ number_format($stats['total'], 2) }}
{{ $stats['count'] }} donations
{{ $type }}
GH₵{{ number_format($amount, 2) }}
| Date | Receipt # | Donor | Type | Amount |
|---|---|---|---|---|
| {{ $donation->donation_date->format('M d, Y') }} | {{ $donation->receipt_number }} | {{ $donation->is_anonymous ? 'Anonymous' : ($donation->donor_name ?? $donation->member?->full_name ?? 'N/A') }} | {{ $donation->donationType?->name ?? 'N/A' }} | GH₵{{ number_format($donation->amount, 2) }} |
| No donations found. | ||||