@extends('layouts.promoter') @section('page-title', 'Payouts') @section('content')

Available Balance

${{ number_format($stats['wallet']->balance, 2) }}

Total Earned

${{ number_format($stats['wallet']->total_earned, 2) }}

Pending

${{ number_format($stats['wallet']->pending_amount, 2) }}

Commission Rate

{{ $stats['commission_rate'] }}%

Recent Withdrawals

Request Withdrawal
@if($stats['recent_withdrawals']->count() > 0)
@foreach($stats['recent_withdrawals'] as $withdrawal)

${{ number_format($withdrawal->amount, 2) }}

{{ $withdrawal->payment_method }}

@php $badgeClass = match($withdrawal->status) { 'pending' => 'badge-yellow', 'approved' => 'badge-green', 'rejected' => 'badge-red', default => 'badge-gray', }; @endphp {{ ucfirst($withdrawal->status) }}

{{ $withdrawal->created_at->format('M d, Y') }}

@endforeach
View all withdrawals → @else

No withdrawals yet

Request your first withdrawal → @endif

Quick Stats

Completed Orders from Sessions

{{ $stats['completed_orders'] }}

Total Sales Generated

${{ number_format($stats['total_sales'], 2) }}

Total Withdrawn

${{ number_format($stats['wallet']->total_withdrawn, 2) }}


Your commission is automatically credited when orders from your live sessions are completed.

@endsection