@extends('member.layouts.app') @section('title', 'Dashboard') @section('content')
@if($member->photo_path) {{ $member->first_name }} @else @endif

Welcome back, {{ $member->first_name }}! 👋

{{ ucfirst($member->membership_type) }} Member {{ $member->chapter }} Chapter

Last login

{{ now()->format('M d, Y') }}

{{ now()->format('g:i A') }}

+12.5%

Total Donations

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

All time giving

+3 this month

Events Attended

{{ $stats['events_attended'] }}

Total participation

Active

Active Ministries

{{ $stats['active_ministries'] }}

Current involvement

{{ now()->year }}

This Year

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

Year to date giving

Upcoming Events

View All
@if($upcomingEvents->count() > 0)
@foreach($upcomingEvents as $event)

{{ $event->title }}

{{ $event->start_datetime ? $event->start_datetime->format('M d, Y g:i A') : 'Date TBD' }} @if($event->location) {{ $event->location }} @endif
@endforeach
@else

No upcoming events

Stay tuned! New exciting events and programs are coming soon.

Browse All Events
@endif

My Activity Overview

Donation Trends

Jan
Feb
Mar
Apr
May
Jun
Monthly Average ₵{{ number_format($stats['yearly_donations'] / 12, 2) }}

Event Participation

70%
Attended
Attended
{{ $stats['events_attended'] }} events
Missed
{{ max(0, 10 - $stats['events_attended']) }} events

Ministry Involvement

Choir Ministry Active
Youth Ministry Active
Ushering Team Volunteer

Active Programs

View All
@if($activePrograms->count() > 0)
@foreach($activePrograms as $program)

{{ $program->name }}

{{ $program->date_range }}

@if($program->registration_fee > 0)

₵{{ number_format($program->registration_fee, 2) }}

@else

Free

@endif
@endforeach
@else

No active programs available.

@endif

Recent Donations

Make Donation
@if($recentDonations->count() > 0)
@foreach($recentDonations as $donation)

{{ $donation->donationType->name ?? 'General' }}

{{ $donation->donation_date ? $donation->donation_date->format('M d, Y') : 'Date N/A' }}

₵{{ number_format($donation->amount, 2) }}

@endforeach
@else

No donations yet.

Make your first donation
@endif

Member Information

Member Since {{ $member->membership_date ? $member->membership_date->format('M Y') : 'N/A' }}
Status {{ ucfirst($member->membership_status) }}
Chapter {{ $member->chapter }}
@if($member->activeMinistries->count() > 0)
Active Ministries
@foreach($member->activeMinistries->take(3) as $ministry)
{{ $ministry->name }}
@endforeach
@endif

Latest Testimonies

View All
@php $latestTestimonies = \App\Models\Testimony::with('member')->published()->latest()->limit(3)->get(); @endphp @if($latestTestimonies->count() > 0)
@foreach($latestTestimonies as $testimony)
@if($testimony->member->photo_path) {{ $testimony->member->full_name }} @else @endif

{{ $testimony->title }}

{{ $testimony->created_at->diffForHumans() }}

{{ Str::limit($testimony->content, 100) }}

{{ $testimony->member->full_name }} {{ $testimony->category_display }}
Read More →
@endforeach

Have a testimony to share?

Encourage others with your story of God's goodness!

Share Your Testimony
@else

No testimonies yet

Be the first to share how God has worked in your life!

Share Your First Testimony
@endif
@endsection