@extends('layouts.admin') @section('title', 'Branch Details - ' . $church->name) @section('page-title', $church->name) @section('page-subtitle', 'Detailed view of branch activities') @section('content')
Members
{{ number_format($stats['total_members']) }}
{{ $stats['active_members'] }} active
Total Income
GH₵{{ number_format($stats['total_donations'] + $stats['total_tithes'] + $stats['total_welfare'] + $stats['total_offerings'], 0) }}
Total Expenses
GH₵{{ number_format($stats['total_expenses'], 0) }}
Attendance
{{ number_format($stats['total_attendance']) }}
Users
{{ $stats['total_users'] }}
{{ $donation->is_anonymous ? 'Anonymous' : ($donation->member?->full_name ?? 'Unknown') }}
{{ $donation->donation_date->format('M d, Y') }}
No donations recorded
@endforelse{{ Str::limit($expense->description, 30) }}
{{ $expense->expense_date->format('M d, Y') }}
No expenses recorded
@endforelseParent Branch
{{ $church->parent->name }}{{ $child->name }}
{{ $child->location ?? 'No location' }}
@endforeach