@extends('admin::layouts.layout') @section('content')

Referrers

Manage referral partner accounts and their recorded commission payouts

Manage Payouts

Total Referrers

{{ number_format($stats['total']) }}

Active Partners

{{ number_format($stats['active']) }}

Total Paid Out

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

Pending Commission

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

@forelse ($referrers as $referrer) @php $initials = collect(explode(' ', trim($referrer->name))) ->filter() ->take(2) ->map(fn ($part) => \Illuminate\Support\Str::upper(\Illuminate\Support\Str::substr($part, 0, 1))) ->implode(''); @endphp

{{ $initials ?: 'R' }}

{{ $referrer->name }}
{{ $referrer->email }}
{{ $referrer->status_label }}

Not tracked

Referrals

Not tracked

Conversions

Not set

Commission rate
Paid: R {{ number_format($referrer->paid_out, 2) }} Pending: R {{ number_format($referrer->pending_commission, 2) }} Updated: {{ $referrer->updated_at?->format('Y-m-d') ?? '—' }}
@empty
No referral partner accounts are registered.
@endforelse
@endsection @push('scripts') @endpush @push('styles') @endpush