@extends('layouts.admin') @section('title', 'Tithes Report') @section('page-title', 'Tithes Report') @section('page-subtitle', 'Member tithes analysis') @section('content')

Total Tithes

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

{{ $stats['count'] }} payments

Members Paying

{{ $stats['members_paying'] }}

Average per Member

GH₵{{ $stats['members_paying'] > 0 ? number_format($stats['total'] / $stats['members_paying'], 2) : '0.00' }}

Tithes - {{ $year }}

Export CSV
@if($stats['by_month']->count() > 0)

Monthly Breakdown

@foreach($stats['by_month'] as $month => $amount)

{{ $month }}

GH₵{{ number_format($amount, 2) }}

@endforeach
@endif
@forelse($tithes as $tithe) @empty @endforelse
Date Receipt # Member Month Amount
{{ $tithe->payment_date->format('M d, Y') }} {{ $tithe->receipt_number }} {{ $tithe->member?->full_name ?? 'N/A' }} {{ $tithe->month }} GH₵{{ number_format($tithe->amount, 2) }}
No tithes found.
{{ $tithes->withQueryString()->links() }}
@endsection