@extends('layouts.app') @section('title', 'Contribution Details') @section('heading', 'Contribution Details') @section('subheading', 'Detailed record of ' . $contribution->contributor_name . '\'s contribution') @section('topbar_actions') Back to List @endsection @section('content')
{{-- Main Details Card --}}
General Information
Recorded on {{ $contribution->created_at->format('M d, Y at H:i') }}
{{ ucfirst($contribution->status) }}
{{ strtoupper(substr($contribution->contributor_name, 0, 1)) }}
{{ $contribution->contributor_name }}
{{ $contribution->contributor_phone }}
{{ ucfirst($contribution->type) }} @if($contribution->payment_method) via {{ ucwords(str_replace('_',' ',$contribution->payment_method)) }} @endif
@if($contribution->payment_reference)
Ref: {{ $contribution->payment_reference }}
@endif
TZS {{ number_format($contribution->amount) }}
{{ $contribution->recordedBy?->full_name ?? 'System' }}
@if($contribution->notes)
{{ $contribution->notes }}
@endif
@if($contribution->status === 'pending')
@csrf @method('PATCH')
@csrf @method('PATCH')
@endif
Edit Entry Print Receipt
{{-- Sidebar Info --}}
Confirmation Status
@if($contribution->status === 'confirmed')
Verified & Confirmed
On {{ $contribution->confirmed_at->format('M d, Y H:i') }} by {{ $contribution->confirmedBy?->full_name }}
@else
Awaiting Confirmation
This entry has not been verified yet.
@endif
Note: Confirmed contributions are automatically added to the event's total balance and are visible in reports.
Event Context
{{ $contribution->event->couple_name }}
{{ $contribution->event->wedding_date->format('F d, Y') }}
Budget Progress {{ $contribution->event->progress_percent }}%
@endsection