@extends('components.app-layout') @section('title', 'Donations') @section('subtitle', 'Manage church donations and financial contributions') @section('content')

Church Donations

Track and manage tithes, offerings, and contributions

This Month

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

This Year

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

Total Donors

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

Average Gift

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

Recent Donations

@forelse($donations as $donation) @empty @endforelse
Donor Amount Type Method Date Status Actions
@if($donation->member && $donation->member->photo_path) {{ $donation->member->full_name }} @else @endif
{{ $donation->member ? $donation->member->full_name : $donation->donor_name }}
{{ $donation->member ? $donation->member->email : $donation->donor_email }}
₵{{ number_format($donation->amount, 2) }}
{{ ucfirst(str_replace('_', ' ', $donation->donation_type)) }} {{ ucfirst(str_replace('_', ' ', $donation->payment_method)) }} {{ $donation->donation_date->format('M j, Y') }} {{ ucfirst($donation->status) }}
View Edit @if($donation->receipt_number) Receipt @else @endif

No donations found

Start tracking donations to see them here.

Record First Donation
@if(isset($donations) && $donations->hasPages())
{{ $donations->links() }}
@endif
@endsection