Kelola Pembayaran

Kelola invoice, pembayaran, dan proses refund

@if (session()->has('success')) @endif @if (session()->has('error')) @endif
{{ $stats['total'] }}

Total Invoice

{{ $stats['paid'] }}

Lunas

{{ $stats['pending'] }}

Pending

{{ $stats['refunded'] }}

Refund

Rp {{ number_format($stats['total_revenue'], 0, ',', '.') }}

Total Pendapatan

Rp {{ number_format($stats['refunded_amount'], 0, ',', '.') }}

Total Refund

@if($invoices->count() > 0)
@foreach($invoices as $invoice) @endforeach
ID Invoice Customer Total Metode Bayar Status Tiket Tanggal Aksi
#{{ $invoice->id }}
{{ substr($invoice->user->name, 0, 1) }}
{{ $invoice->user->name }}
{{ $invoice->user->email }}
Rp {{ number_format($invoice->total_price, 0, ',', '.') }} {{ ucfirst($invoice->payment_method) }} {{ $invoice->status_label }} {{ $invoice->total_purchased_tickets }} tiket @if($invoice->total_used_tickets > 0)
({{ $invoice->total_used_tickets }} terpakai) @endif
{{ $invoice->created_at->format('d/m/Y H:i') }}
@if($invoice->canBeRefunded()) @endif @if($invoice->status === 'pending') @endif
{{ $invoices->links() }}
@else
Tidak ada invoice ditemukan

Belum ada invoice yang sesuai dengan filter yang dipilih

@endif
@if($selectedInvoice && !$showRefundModal) @endif @if($showRefundModal && $selectedInvoice) @endif
@push('styles') @endpush