@extends('admin.layout') @section('title', 'Dashboard Keuangan') @section('content')
Laporan keuangan & pendapatan sistem.
Gross GMV
Total Net Revenue
Order: Rp {{ number_format($netOrderRevenue ?? 0, 0, ',', '.') }}
Biaya Registrasi
Total Payout Mitra
Pending Payout
Wallet Liabilities
Statistik 30 hari terakhir
| Mitra | Bank | No. Rekening | Amount | Status | Aksi |
|---|---|---|---|---|---|
|
@if($withdrawal->user && ($withdrawal->user->selfie_image || $withdrawal->user->avatar))
{{ $withdrawal->user->name ?? 'Mitra' }} {{ $withdrawal->user->phone ?? '-' }} |
{{ $withdrawal->bank_name ?? '-' }} | {{ $withdrawal->bank_account_number ?? '-' }} | Rp {{ number_format($withdrawal->amount, 0, ',', '.') }} | @if($withdrawal->status === 'pending') Pending @elseif($withdrawal->status === 'processing') Processing @else Approved @endif | @if($withdrawal->status === 'pending') @else Detail @endif |
| Tidak ada antrian penarikan dana pending. | |||||
Menampilkan {{ $pendingWithdrawals->count() }} antrian
Riwayat pembayaran biaya pendaftaran mitra yang telah tercatat di sistem.
| Mitra | Tanggal | Nominal | Metode Bayar | Dicatat Oleh | Keterangan |
|---|---|---|---|---|---|
|
@if($payment->user && ($payment->user->selfie_image || $payment->user->avatar))
{{ $payment->user->name ?? 'Mitra' }} {{ $payment->user->phone ?? '-' }} |
{{ $payment->created_at ? $payment->created_at->format('d/m/Y H:i') : '-' }} | Rp {{ number_format($payment->amount, 0, ',', '.') }} |
@php
$methodBadge = match($payment->payment_method) {
'cash' => ['bg' => 'bg-emerald-100', 'text' => 'text-emerald-800', 'label' => 'CASH', 'icon' => 'payments'],
'transfer' => ['bg' => 'bg-blue-100', 'text' => 'text-blue-800', 'label' => 'TRANSFER', 'icon' => 'account_balance'],
'wallet' => ['bg' => 'bg-purple-100', 'text' => 'text-purple-800', 'label' => 'WALLET', 'icon' => 'wallet'],
'potong_order' => ['bg' => 'bg-amber-100', 'text' => 'text-amber-800', 'label' => 'POTONG ORDER', 'icon' => 'content_cut'],
default => ['bg' => 'bg-slate-100', 'text' => 'text-slate-700', 'label' => strtoupper($payment->payment_method ?? '-'), 'icon' => 'credit_card']
};
@endphp
{{ $methodBadge['icon'] }}
{{ $methodBadge['label'] }}
@if($payment->payment_method === 'transfer' && $payment->transfer_proof)
@endif
|
{{ $payment->admin ? $payment->admin->name : ($payment->payment_method === 'potong_order' ? 'Sistem (Otomatis)' : 'Admin') }} | {{ $payment->notes ?: '-' }} |
| Belum ada pembayaran biaya pendaftaran mitra pada periode ini. | |||||
Menampilkan {{ $recentRegistrationPayments->count() }} data
{{ $tx->type === 'in' ? 'Kredit Saldo' : 'Penarikan Saldo' }}
{{ $tx->user ? $tx->user->name : 'Mitra' }}
{{ $tx->type === 'in' ? '+' : '-' }}Rp {{ number_format($tx->amount, 0, ',', '.') }}
{{ $tx->created_at ? $tx->created_at->diffForHumans() : '-' }}
Konsultasikan kendala rekonsiliasi atau pencairan dana dengan tim teknis kami.
Hubungi Support arrow_forward