@extends('layouts.admin') @section('title', 'Pledge Details') @section('page-title', 'Pledge Details') @section('page-subtitle', 'View pledge information') @section('content')

Pledge #{{ $pledge->id }}

Created {{ $pledge->created_at->format('M d, Y') }}

{{ ucfirst($pledge->status) }}

Member

{{ $pledge->member?->full_name ?? 'N/A' }}

Campaign

{{ $pledge->campaign?->name ?? 'N/A' }}

Pledge Amount

GH₵{{ number_format($pledge->pledge_amount, 2) }}

Amount Paid

GH₵{{ number_format($pledge->amount_paid, 2) }}

Remaining Amount

GH₵{{ number_format($pledge->remaining_amount, 2) }}

Progress

{{ $pledge->progress_percentage }}%

Frequency

{{ str_replace('_', '-', $pledge->frequency) }}

Start Date

{{ $pledge->start_date->format('M d, Y') }}

@if($pledge->end_date)

End Date

{{ $pledge->end_date->format('M d, Y') }}

@endif @if($pledge->notes)

Notes

{{ $pledge->notes }}

@endif
@if($pledge->remaining_amount > 0)

Record Payment

@csrf
@endif
Back to List
@endsection