@extends('layouts.app') @section('title', 'Contributor Details') @section('heading', 'Contributor Profile') @section('subheading', $contributor->full_name) @section('topbar_actions') Back @endsection @section('content')
{{ strtoupper(substr($contributor->full_name, 0, 1)) }}
{{ $contributor->full_name }}
{{ $contributor->phone ?? 'No phone set' }}
Summary
Total Contributions {{ $contributor->contributions->count() }}
Contribution History
@forelse($contributions as $c) @empty @endforelse
Event Type Amount Date Status Actions
{{ $c->event->couple_name }} {{ ucfirst($c->type) }} {{ number_format($c->amount) }} {{ $c->created_at->format('M d, Y') }} {{ ucfirst($c->status) }} View
No contribution history found.
@if($contributions->hasPages())
{{ $contributions->links() }}
@endif
@endsection