@extends('layouts.app') @section('title', 'Performance Tier Management') @section('content')

Performance Tiers

Manage personal commission rates based on monthly sales performance

@csrf
@csrf
Active Agents
{{ $stats['total_agents'] }}
With Performance Tier
{{ $stats['agents_with_tier'] }}
Without Tier
{{ $stats['agents_without_tier'] }}

How Performance Tiers Work

  • Personal Commission: Each agent's direct sales commission is based on their performance tier
  • Monthly Evaluation: At the start of each month, tiers are recalculated based on last month's sales
  • Upgrade/Downgrade: If an agent's sales meet a higher tier, they upgrade. If not, they may downgrade
  • Override Commission: Upline override commissions use the separate MLM Tier system

Performance Tiers

@foreach($tiers as $tier) @endforeach
Badge Name Commission Rate Min. Monthly Sales Agents Status Actions

Add New Performance Tier

@csrf

Available Icons Preview

@foreach(\App\Models\PerformanceTier::ICONS as $iconKey => $iconName) @foreach(['gray', 'blue', 'green', 'yellow', 'purple'] as $colorIndex => $colorKey) @if($loop->parent->index == $colorIndex)
{!! (new \App\Models\PerformanceTier(['icon' => $iconKey]))->icon_svg !!}

{{ $iconName }}

@endif @endforeach @endforeach

Commission Structure Overview

Performance Tiers (Personal Sales)

Commission rate for an agent's own direct sales. Based on their previous month's total sales.

Example: Agent sells RM 12,000 in November
→ December tier: Gold (22%)
→ Agent earns 22% on their own sales in December

MLM Tiers (Override Commission)

Override commission from downlines' sales. Based on hierarchy position.

Example: Upline is Level 2 (5% override)
→ Downline sells RM 1,000
→ Upline earns 5% = RM 50 override
@endsection