@if (session('status'))
{{ session('status') }}
@endif
Welcome, {{ Auth::user()->name }}!
Role: {{ Auth::user()->role }}
@if (Auth::user()->role === 'admin')
Admin Dashboard - Manage users, KYC approvals, and cards.
@elseif (Auth::user()->role === 'beneficiary')
Beneficiary Dashboard - View your wallet balance and cards.
@if (!Auth::user()->kyc || Auth::user()->kyc->status === 'rejected')
Submit KYC
@elseif (Auth::user()->kyc->status === 'pending')
Your KYC is under review.
@else
Your KYC is approved!
@endif
Your Sub-Wallets
@foreach (Auth::user()->wallet->subWallets as $subWallet)
Balance: {{ $subWallet->balance }}
@endforeach
@elseif (Auth::user()->role === 'vendor')
Vendor Dashboard - Process transactions and view history.
@if (!Auth::user()->kyc || Auth::user()->kyc->status === 'rejected')
@elseif (Auth::user()->kyc->status === 'pending')
Your KYC is under review. Transactions will be enabled once approved.
@else
Your KYC is approved! You can now process transactions.
@endif
@endif