Welcome back, {{ Auth::user()->name }}!

Your Referral Code: {{ Auth::user()->referral_code }}

Current Balance

${{ number_format($user->balance ?? 0, 2) }}

Available for withdrawal
Current Package

{{ $currentPlan ? $currentPlan->name : 'No Plan' }}

{{ $currentPlan ? '$' . number_format($currentPlan->price, 2) : 'Purchase a plan' }}
Total Referrals

{{ $referrals->total() }}

Active team members
Team Deposits

${{ number_format($teamDeposits, 2) }}

Total team business
Recent Transactions
@forelse($recentTransactions as $transaction) @php $typeColors = [ 'deposit' => 'success', 'withdrawal' => 'danger', 'commission' => 'info', 'bonus' => 'primary', 'referral_bonus' => 'warning', 'plan_upgrade' => 'info', ]; $badgeColor = $typeColors[strtolower($transaction->type)] ?? 'secondary'; $statusColors = [ 'completed' => 'success', 'approved' => 'success', 'pending' => 'warning', 'failed' => 'danger', 'rejected' => 'danger', ]; $statusColor = $statusColors[strtolower($transaction->status)] ?? 'secondary'; $referralData = $transaction->referral_transactions->first(); @endphp @empty @endforelse
Date Type Amount Status User Referrer Level Commission Plan Payment Method Notes Action
{{ $transaction->created_at->format('M d, Y H:i') }} {{ ucfirst(str_replace('_', ' ', $transaction->type)) }} ${{ number_format($transaction->amount, 2) }} {{ ucfirst($transaction->status) }} {{ isset($referralData->user_name) ? $referralData->user_name : $transaction->user->name ?? 'N/A' }} {{ isset($referralData->referrer_name) ? $referralData->referrer_name : 'N/A' }} {{ isset($referralData->level) ? $referralData->level : 'N/A' }} {{ isset($referralData->commission_amount) ? '$' . number_format($referralData->commission_amount, 2) : 'N/A' }} {{ isset($referralData->plan_name) ? $referralData->plan_name : 'N/A' }} {{ isset($referralData->payment_method) ? $referralData->payment_method : 'N/A' }} {{ isset($referralData->admin_notes) ? $referralData->admin_notes : 'N/A' }} Details
No transactions found