-
@foreach($errors->all() as $e)
- {{ $e }} @endforeach
Commission Management
Manage commission rules, payouts, and partner earnings
Commission Rules
Create, edit, toggle, or delete commission rules.
| Rule Name | Type | Rate | Calc. Base | Min Threshold | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $rule->name }} | {{ $rule->type }} | {{ rtrim(rtrim(number_format($rule->rate, 2, '.', ''), '0'), '.') }}% | {{ $rule->calc_base }} | R {{ number_format($rule->min_threshold, 0, ',', ' ') }} | @if($rule->is_active) Active @else Inactive @endif |
|
| No commission rules found. | ||||||
Commission Payouts
All commission payouts processed across the last 90 days.
R {{ number_format($payoutStats['paid']['amount'], 0, ',', ' ') }}
Paid (90 days)
{{ $payoutStats['paid']['count'] }} payouts
R {{ number_format($payoutStats['processing']['amount'], 0, ',', ' ') }}
Processing
{{ $payoutStats['processing']['count'] }} payouts
R {{ number_format($payoutStats['awaiting_approval']['amount'], 0, ',', ' ') }}
Awaiting Approval
{{ $payoutStats['awaiting_approval']['count'] }} payouts
R {{ number_format($payoutStats['failed']['amount'], 0, ',', ' ') }}
Failed
{{ $payoutStats['failed']['count'] }} payouts
| Payout ID | Payee | Portal | Method | Period | Amount | Status | Date | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $payout->payout_code }} |
{{ $payout->payee_name }} {{ $payout->payee_email }} |
{{ $payout->portal }}
|
{{ $payout->payment_method ?? '—' }} | {{ $payout->period ?? '—' }} | R {{ number_format($payout->amount, 0, ',', ' ') }} |
{{ $payout->status_label }} | {{ $payout->payout_date ? \Illuminate\Support\Carbon::parse($payout->payout_date)->format('d M Y') : '—' }} |
|
| No payouts found. | ||||||||
Payout Requests
Payout requests submitted by contractors, agents, service providers, and referral partners
{{ $requestStats['pending']['count'] }}
Pending
R {{ number_format($requestStats['pending']['amount'], 0, ',', ' ') }}
{{ $requestStats['processing']['count'] }}
Processing
R {{ number_format($requestStats['processing']['amount'], 0, ',', ' ') }}
{{ $requestStats['approved']['count'] }}
Approved
R {{ number_format($requestStats['approved']['amount'], 0, ',', ' ') }}
{{ $requestStats['rejected']['count'] }}
Rejected
R {{ number_format($requestStats['rejected']['amount'], 0, ',', ' ') }}
| Request ID | From | Portal | Note | Requested | Amount | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $req->request_code }} |
{{ $req->requester_name }} {{ $req->requester_email }} |
{{ $req->portal }}
|
{{ $req->note }} {{ $req->bank_account }} |
{{ $req->requested_at ? \Illuminate\Support\Carbon::parse($req->requested_at)->format('d M Y') : '—' }} | R {{ number_format($req->amount, 0, ',', ' ') }} |
{{ $req->status_label }} |
@if(!in_array($req->status, ['approved', 'rejected']))
@elseif($req->status === 'approved')
{{ $req->reference }} @endif |
| No payout requests found. | |||||||