@section('title', 'My Payments') @section('breadcrumbs') {{ Breadcrumbs::render('payments.index') }} @endsection

Payment History

@if($payments->count())
@foreach($payments as $payment) @endforeach
ID Amount Method Status Date
{{ $payment->id }} ${{ number_format($payment->amount, 2) }} {{ ucfirst($payment->method) }} {{ ucfirst($payment->status) }} {{ $payment->created_at->format('Y-m-d') }}
{{ $payments->links() }}
@else

No payments found.

@endif