{{-- Select Payment Source --}}
Pay From
@php
$usdWallet = collect($userWalletsInUSD)->firstWhere('symbol', 'USD') ?? [
'name' => 'USD Wallet',
'symbol' => 'USD',
'logo' => 'default-usd-logo.png',
'balance_in_usd' => 0
];
@endphp
{{ $usdWallet['name'] }} ({{ $usdWallet['symbol'] }})
{{-- Dropdown for Wallets & Cards --}}
@foreach($userWalletsInUSD as $wallet)
@if($wallet['symbol'] == 'USD')
-
{{ $wallet['name'] }} ({{ $wallet['symbol'] }})
@endif
@endforeach
@foreach($cards as $card)
-
{{ strtoupper(str_replace('_', ' ', $card->card_type)) }} ****{{ substr($card->cardnum, -4) }}
@endforeach
{{-- Amount --}}
{{-- Select Cryptocurrency --}}
Cryptocurrency
{{ Str::title(str_replace('-', ' ', $cryptos[0]->crypto_name)) }}
@foreach($cryptos as $crypto)
-
{{ Str::title(str_replace('-', ' ', $crypto->crypto_name)) }}
@endforeach
{{-- Wallet Address --}}
{{-- Fee, Balance, Receive --}}
Wallet Balance
{{ number_format($usdWallet['balance_in_usd'], 2) }} USD
You Will Receive
0.00 USD
{{-- Submit --}}