@include('site.bankSelection')
@php
$country = App\Models\Country::where(
'id',
'=',
auth()->user()->country_id,
)->first();
$sender_country = $country->id;
$banks = App\Models\BankAccount::where(
'country_id',
'=',
$sender_country,
)->get();
@endphp
@foreach ($banks as $key => $bank)
@if ($bank->type === 'Bank')
@endif
@endforeach
@foreach ($banks as $key => $bank)
@if ($bank->type === 'E-Wallet')
@endif
@endforeach
@if (!empty($user_wallet->amount))
Your E-Wallet
You have
{{ $sender->currency }}
{{ $user_wallet->amount }}.
Do
you
want to
pay?
@endif
Trx ID