@extends('layouts.app') @section('title', 'Payments') @section('page-title', 'Payments') @section('breadcrumb', 'Payment transactions') @section('content')
@if($payments->count())
@foreach($payments as $payment) @endforeach
ID Customer Order Amount Gateway Status Date
#{{ $payment->id }} {{ $payment->user?->name }} {{ $payment->order?->order_number }} ₹{{ number_format($payment->amount, 2) }} {{ $payment->gateway }} {{ ucfirst($payment->status) }} {{ $payment->paid_at?->format('M d, Y') ?? $payment->created_at->format('M d, Y') }} View
{{ $payments->links() }}
@else @endif
@endsection