@extends('layouts.admin') @section('page-title', 'Payments') @section('content')
| Transaction ID | Order | Customer | Gateway | Amount | Status | Date |
|---|---|---|---|---|---|---|
| {{ $payment->transaction_id ?? 'N/A' }} | {{ $payment->order->order_number }} | {{ $payment->customer->name }} | {{ ucfirst($payment->payment_gateway ?? $payment->payment_method) }} | ${{ number_format($payment->amount, 2) }} | {{ ucfirst($payment->status) }} | {{ $payment->created_at->format('M d, Y') }} |
| No payments found | ||||||