@extends('layouts.portal') @section('title', 'Withdrawals') @section('portal_title', 'Withdrawal Requests') @section('portal_subtitle', 'Request wallet withdrawals and track admin payment approval.') @section('portal_content') @php $balance = (float) ($wallet['balance'] ?? 0); $availableBalance = (float) ($wallet['available_balance'] ?? $balance); $pendingWithdrawals = (float) ($wallet['pending_withdrawals'] ?? 0); $withdrawals = $wallet['withdrawals'] ?? []; @endphp
Withdrawal Balance
${{ number_format($availableBalance, 2) }}Wallet Balance
${{ number_format($balance, 2) }}
Pending Withdrawals
${{ number_format($pendingWithdrawals, 2) }}