@extends('backend.template.layouts.template-base') @section('title', 'Reports - Payment Report') @php $phoneSvg = ''; @endphp @section('content')

Payment Report

Download XLSX
Show entries
@forelse($payments as $payment) @php $statusClass = match(true) { in_array($payment->status, ['success', 'paid', 'captured']) => 'status-active', in_array($payment->status, ['failed', 'refunded', 'cancelled']) => 'status-inactive', default => 'status-pending', }; @endphp @empty @endforelse
Reference No Customer Details Gateway Method Amount Status Date
{{ $payment->payment_reference_no ?? '—' }}
{{ $payment->user?->name ?? '—' }} {!! $phoneSvg !!} {{ $payment->user?->mobile ?? '—' }}
{{ ucfirst($payment->gateway ?? '—') }} {{ ucfirst($payment->payment_method ?? '—') }} ₹{{ number_format((float)$payment->amount, 2) }} {{ ucfirst($payment->status ?? '—') }} {{ $payment->paid_at?->format('d/m/Y h:i A') ?? '—' }}
No payment records found.

Showing {{ $payments->firstItem() ?? 0 }}–{{ $payments->lastItem() ?? 0 }} of {{ $payments->total() }} results

{{ $payments->links() }}
@endsection @section('scripts') @endsection