@extends('admin.layout') @section('title', 'Dashboard Keuangan') @section('content')

Dashboard Keuangan

Laporan keuangan & pendapatan sistem.

calendar_month
payments
trending_up GMV

Gross GMV

Rp {{ number_format($grossGmv ?? 0, 0, ',', '.') }}

account_balance_wallet
Platform Fee

Net Revenue

Rp {{ number_format($netRevenue ?? 0, 0, ',', '.') }}

person
Hak Mitra

Total Payout Mitra

Rp {{ number_format($payoutMitra ?? 0, 0, ',', '.') }}

pending_actions
{{ $pendingCount ?? 0 }} Pending

Pending Disbursement

Rp {{ number_format($pendingDisbursement ?? 0, 0, ',', '.') }}

account_balance
Saldo Dompet

Wallet Liabilities

Rp {{ number_format($walletLiabilities ?? 0, 0, ',', '.') }}

Revenue Harian

Statistik 30 hari terakhir

Platform
Payout
@if(isset($chartDays) && count($chartDays) > 0) @foreach($chartDays as $idx => $day) @php $netHeight = $maxChartVal > 0 ? max(4, round(($day['net'] / $maxChartVal) * 180)) : 4; $payoutHeight = $maxChartVal > 0 ? max(4, round(($day['payout'] / $maxChartVal) * 180)) : 4; @endphp
{{ $idx === count($chartDays) - 1 ? 'Today' : $day['label'] }}
@endforeach @else
Belum ada data transaksi chart.
@endif

Komposisi Pembayaran

{{ $totalPaymentCount ?? 0 }} Transaksi
QRIS ({{ $paymentChannels['qris']['percent'] ?? 40 }}%)
VA BCA ({{ $paymentChannels['bca_va']['percent'] ?? 25 }}%)
VA BNI ({{ $paymentChannels['bni_va']['percent'] ?? 20 }}%)
GoPay ({{ $paymentChannels['gopay']['percent'] ?? 15 }}%)

Antrian Payout Mitra

{{ $pendingCount ?? 0 }} Pending
@forelse($pendingWithdrawals as $withdrawal) @empty @endforelse
Mitra Bank No. Rekening Amount Status Aksi
@if($withdrawal->user && ($withdrawal->user->selfie_image || $withdrawal->user->avatar)) {{ $withdrawal->user->name }} @else {{ strtoupper(substr($withdrawal->user->name ?? 'M', 0, 2)) }} @endif

{{ $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

{{ $pendingWithdrawals->links() }}
@foreach($pendingWithdrawals as $w) @if($w->status === 'pending') @endif @endforeach

Timeline Transaksi

Lihat Semua
@forelse($recentTransactions as $tx)

{{ $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() : '-' }}

@empty
Belum ada riwayat transaksi.
@endforelse
Butuh Bantuan Keuangan?

Konsultasikan kendala rekonsiliasi atau pencairan dana dengan tim teknis kami.

Hubungi Support arrow_forward
@section('scripts') @endsection @endsection