@if(session('success'))
{{ session('success') }}
@endif

Wallet Balance

₹{{ number_format($wallet->balance ?? 0, 2) }}

Total earnings: ₹{{ number_format($earnings ?? 0, 2) }}

Request withdrawal

Minimum ₹{{ number_format($minWithdrawal, 0) }}

@error('withdraw_amount')

{{ $message }}

@enderror @error('account_details')

{{ $message }}

@enderror

Transactions

@forelse($transactions as $tx)

{{ $tx->description }}

{{ $tx->created_at?->format('M d, Y') }}

$tx->type === 'credit', 'text-red-600' => $tx->type === 'debit'])> {{ $tx->type === 'credit' ? '+' : '-' }}₹{{ number_format($tx->amount, 2) }}
@empty

No transactions.

@endforelse

Withdrawals

@forelse($withdrawals as $w)
₹{{ number_format($w->amount, 2) }} {{ $w->status }}

{{ $w->created_at?->format('M d, Y') }} · {{ strtoupper($w->method) }}

@empty

No withdrawals.

@endforelse