@extends('layouts.admin') @section('title', 'Dashboard') @section('content')

Dashboard Overview

Monitor your donation platform performance

Total Donations

${{ number_format($stats['total_donations'], 2) }}

All time

Total Donors

{{ number_format($stats['total_count']) }}

Completed donations

Average Gift

${{ number_format($stats['average_donation'], 2) }}

Per donation

This Month

${{ number_format($stats['monthly_total'], 2) }}

{{ now()->format('F Y') }}

Status Overview

Completed
{{ $stats['total_count'] }}
Pending
{{ $stats['pending_count'] }}
Failed
{{ $stats['failed_count'] }}

Quick Actions

Recent Donations

View all
@forelse($stats['recent_donations'] as $donation) @empty @endforelse
Donor Amount Status Date
{{ $donation->donor_name }}
{{ $donation->donor_email }}
${{ number_format($donation->amount, 2) }}
{{ ucfirst($donation->status) }} {{ $donation->created_at->format('M j, g:i A') }}

No donations yet

@endsection