@extends('layouts.portal') @section('title', 'Wallet') @section('portal_title', 'Wallet Balance') @section('portal_subtitle', 'Deposit funds into your wallet and track approval status.') @section('portal_content') @php $balance = (float) ($wallet['balance'] ?? 0); $availableBalance = (float) ($wallet['available_balance'] ?? $balance); $pendingWithdrawals = (float) ($wallet['pending_withdrawals'] ?? 0); $deposits = $wallet['deposits'] ?? []; $cryptoWallets = [ 'Bitcoin address' => 'bc1qgexfnlm6pzzhjyp3eumjsd7m7hc3trrf7yv0ja', 'USDT (TRC20)' => 'F1YVZb4rDpEvdmrWNoBjMqgbsr5rDuX5v5tKEW3oTaDo', 'Ethereum' => '0x4c032Cf0299a056082570613626A394800864a0f', ]; @endphp
Available Wallet Balance
${{ number_format($balance, 2) }}Available to Withdraw
${{ number_format($availableBalance, 2) }}
Pending Withdrawal
${{ number_format($pendingWithdrawals, 2) }}