@extends('layouts.app') @section('title', 'Commission Programs') @section('content')
Manage how agents earn commissions on their sales
{{ $program->description }}
Used by Performance & Progressive programs
| Agent | Program | Current Rate | Details | Actions | |
|---|---|---|---|---|---|
|
@if($agent->profile_photo_url)
{{ $agent->initials }}
@endif
{{ $agent->name }}
{{ $agent->coupon_code }}
|
@if($agent->commissionProgram) {{ $agent->commissionProgram->name }} @else Not assigned @endif | {{ number_format($agent->getPersonalCommissionRate(), 2) }}% |
@if($agent->isLegacyProgram())
Fixed Rate: {{ $agent->legacy_commission_rate }}%
@if($agent->legacy_program_note)
{{ $agent->legacy_program_note }}
@endif
@elseif($agent->isProgressiveProgram())
Cycle Sales: RM {{ number_format($agent->current_cycle_sales ?? 0, 2) }}
@if($agent->getSalesToNextProgressiveTier())
RM {{ number_format($agent->getSalesToNextProgressiveTier(), 2) }} to next tier
@else
Max tier reached
@endif
@else
Tier: {{ $agent->performanceTier?->name ?? 'Basic' }}
Based on last month sales
@endif
|
Change Program |
@if($selectedProgram) No agents are assigned to this program yet. @else No agents match your search criteria. @endif