@extends('admin.layouts.app') @section('title', 'Manajemen Payment') @section('content')
Total Payment
{{ $stats['total_payments'] }}
Paid
{{ $stats['paid_payments'] }}
Revenue
Rp {{ number_format($stats['total_revenue'], 0, ',', '.') }}
Pending Value
Rp {{ number_format($stats['pending_total'], 0, ',', '.') }}
| Kode Payment | User | Item | Metode | Status | Tanggal | Total | Aksi |
|---|---|---|---|---|---|---|---|
| {{ $payment->payment_code }} |
{{ $payment->user->name ?? 'User dihapus' }} {{ $payment->user->email ?? '-' }} |
{{ $payment->items_count }} | {{ ucwords(str_replace('_', ' ', $payment->method)) }} | {{ ucfirst($payment->status) }} | {{ $payment->paid_at?->format('d M Y H:i') ?? $payment->created_at->format('d M Y H:i') }} | Rp {{ number_format($payment->display_total, 0, ',', '.') }} | Detail |
|
Belum ada payment yang ditemukan. |
|||||||
Total: {{ $payments->total() }} payment
{{ $payments->links() }}