@extends('layouts.app') @section('title', 'My Payments') @section('content')

My Payments

@if($payments->isEmpty())

No payments yet.

@else
@foreach($payments as $payment)

{{ $payment->order->order_number }}

{{ $payment->created_at->format('M d, Y H:i') }}

₦{{ number_format($payment->amount, 2) }}

{{ ucfirst($payment->status) }}
@if($payment->proof_image)
@endif
@endforeach
@endif
@endsection