@if (session()->has('success'))
{{ session('success') }}
@endif
Total Payments
{{ number_format($stats['total']) }}
Today's Payments
{{ number_format($stats['today']) }}
This Month
{{ number_format($stats['this_month']) }}
Total Amount
Rp {{ number_format($stats['total_amount']) }}

Payment History

entries
@forelse($payments as $payment) @empty @endforelse
Payment # Invoice # Customer Date Method Reference Amount Received By
{{ $payment->payment_number }}
{{ $payment->invoice->invoice_number }}
{{ $payment->invoice->customer->name ?? $payment->invoice->order->customer->name ?? '-' }}
{{ $payment->payment_date->format('d M Y H:i') }}
{{ ucfirst(str_replace('_', ' ', $payment->method)) }}
{{ $payment->reference_number ?? '-' }}
Rp {{ number_format($payment->amount) }}
{{ $payment->recordedBy->name ?? '-' }}
No payments found
{{ $payments->links() }}