@extends('layouts.app') @section('page-title', 'Payment History - ' . $member->full_name) @section('content')

Payment History

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

Back to Members
@forelse($payments as $payment) @empty @endforelse
Invoice # Date Amount Due Date Paid Date Payment Method Status Action
{{ $payment->invoice_number ?? 'N/A' }} {{ $payment->created_at->format('M d, Y') }} Rs {{ number_format($payment->total_amount, 2) }} {{ $payment->due_date ? $payment->due_date->format('M d, Y') : 'N/A' }} {{ $payment->paid_date ? \Carbon\Carbon::parse($payment->paid_date)->format('M d, Y') : 'N/A' }} {{ ucfirst($payment->payment_method ?? 'N/A') }} @if($payment->status == 'paid') Paid @elseif($payment->status == 'pending') Pending @elseif($payment->status == 'failed') Failed @else {{ ucfirst($payment->status) }} @endif
@if($payment->status == 'pending')
@csrf
@endif
No payment history found for this member.
@endsection @push('scripts') @endpush