@extends('template.desktop.app') @section('content')
Avatar
{{ $user->distributor->full_name }}
{{ '@' . $user->username }}
{{ ucfirst($user->role) }} {{ $user->is_active ? 'Active' : 'Inactive' }}
Detail Withdraw
#{{ $withdraw->trx_no }}
Nominal

Rp {{ number_format($withdraw->amount, 0, ',', '.') }}

{{ ucfirst($withdraw->status) }} @if ($withdraw->status === 'rejected' && $withdraw->notes)
Alasan Penolakan:
{{ $withdraw->notes }}
@endif @if ($withdraw->status === 'approved' && $withdraw->transfer_proof) @endif @if (in_array($withdraw->status, ['pending', 'process']))
@endif
Riwayat Withdraw
10 transaksi terakhir
@forelse ($distributorTransactions 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.
@endsection @push('scripts') @endpush