@extends('template.desktop.app') @section('content')
Rp{{ number_format($withdraw->amount, 0) }}
Jumlah Penarikan
Data Rekening
  • Nama Penerima: {{ $user->bankAccounts->account_name }}
  • Nomor Rekening: {{ $user->bankAccounts->account_number }}
  • Bank: {{ $user->bankAccounts->bank->bank_name }}
  • @if ($withdraw->status === 'rejected' && $withdraw->notes)
  • Alasan Penolakan: {{ $withdraw->notes }}
  • @endif @if ($withdraw->status === 'approved' && $withdraw->transfer_proof)
  • Bukti Transfer: Lihat Bukti Transfer
  • @endif
@if ($withdraw->status === 'pending') @elseif($withdraw->status === 'approved') @if ($user->actor->type == 'mitra')
Pencairan Komisi Disetujui
@else
Pencairan Disetujui
@endif @elseif($withdraw->status === 'rejected') @if ($user->actor->type == 'mitra')
Pencairan Komisi Ditolak
@else
Pencairan Ditolak
@endif @endif
Riwayat Withdraw
10 transaksi terakhir
@forelse ($withdrawTransactions as $trx) @empty @endforelse
# No TRX Nominal Status Tanggal
{{ $loop->iteration }} {{ $trx->trx_no }} Rp {{ number_format($trx->amount, 0, ',', '.') }} {{ ucfirst($trx->status) }} {{ \Carbon\Carbon::parse($trx->transaction_date)->format('d M Y') }}
Tidak ada transaksi.
Riwayat Order
10 Orderan terakhir
@forelse ($orderTransactions as $orderTrx) @php $statusMap = [ 'COMPLETED' => ['label' => 'Selesai', 'color' => 'success'], 'RETURN' => ['label' => 'Dikembalikan', 'color' => 'danger'], ]; $status = $orderTrx->orderEverpro->status; $badge = $statusMap[$status] ?? [ 'label' => ucfirst($status), 'color' => 'secondary', ]; @endphp @empty @endforelse
# No TRX Nomor Resi Nominal Status Order Tanggal
{{ $loop->iteration }} {{ $orderTrx->trx_no }} {{ $orderTrx->orderEverpro->awb_number }} Rp {{ number_format($orderTrx->amount, 0, ',', '.') }} {{ $badge['label'] }} {{ \Carbon\Carbon::parse($orderTrx->transaction_date)->format('d M Y H:i') }}
Tidak ada transaksi.
@endsection @push('scripts') @endpush