@extends('layouts.admin') @section('page-title', 'Payments') @section('content')
@forelse($payments as $payment) @empty @endforelse
Transaction IDOrderCustomerGatewayAmountStatusDate
{{ $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
@if(isset($payments) && $payments->hasPages())
{{ $payments->links() }}
@endif @endsection