@if($payment->status !== 'completed')
{{ strtoupper($payment->status) }}
@endif
{{-- Letterhead --}}
@if($logoBase64) @endif
{{ $association->name }}
@if($association->address){{ $association->address }}@endif @if($association->city), {{ $association->city }}@endif @if($association->state), {{ $association->state }}@endif
@if($association->email){{ $association->email }}@endif @if($association->phone) · {{ $association->phone }}@endif
RECEIPT
#{{ $payment->reference }}
{{ ucfirst($payment->status) }}
{{-- Amount Hero --}}
Amount Paid
{{ $payment->currency ?? 'NGN' }} {{ number_format($payment->amount, 2) }}
{{-- Member Info --}}
{{ $user->firstname }} {{ $user->surname }}
{{ $user->email }}
@if($membershipNumber)
Member #{{ $membershipNumber }}
@endif
{{-- Payment Details --}}
Payment Details
Reference
{{ $payment->reference }}
Payment Method
{{ ucfirst(str_replace('_', ' ', $payment->gateway ?? $payment->payment_method ?? 'N/A')) }}
Date
{{ ($payment->paid_at ?? $payment->created_at)->format('M d, Y \a\t g:i A') }}
@if($payment->paid_at && $payment->paid_at->ne($payment->created_at))
Confirmed At
{{ $payment->paid_at->format('M d, Y \a\t g:i A') }}
@endif
{{-- Item Details (if available from payable) --}} @if($itemTitle || $itemCategory || $billingPeriod)
Item Details
@if($itemTitle)
Description
{{ $itemTitle }}
@endif @if($itemCategory)
Category
{{ str_replace('_', ' ', $itemCategory) }}
@endif @if($billingPeriod)
Billing Period
{{ $billingPeriod }}
@endif
@endif {{-- Notes --}} @if($payment->payment_notes)
Notes
{{ $payment->payment_notes }}
@endif {{-- Verification Info --}} @if($payment->verified_by)
Verification
Verified By
{{ $verifiedByName ?? 'Administrator' }} @if($payment->verified_at) · {{ $payment->verified_at->format('M d, Y') }} @endif
@endif {{-- Footer --}}