# 07 — Commission Share

**Domain:** Commission Share · **BE Owner:** Ashraful (A) · **FE:** Bablu  
**Note:** Stores Team/BD/PD pool **inputs** for later Commissioning. Not full commission calc.

## Features
Team Share % · BD Share % · PD Share % · Pool snapshots · Summary report (also under 09)

### PMS-API-2.5 — Contract Commission Share API Contract Lock

**Task ID:** PMS-API-2.5
**Domain:** 07/11
**Feature:** Commission Share
**Workstream:** API Contract
**Task Title:** Contract Commission Share API Contract Lock
**Description:** NEW STRUCTURAL. Explicit calculation base fields in response.
**Owner:** Ashraful
**Lane:** A
**Priority:** P0
**Estimate:** 1.50h
**Dependency:** API-2.3
**Dependency Type:** HARD
**Specification Reference:** SRS §18–§19
**Business Rule Reference:** BR-09, BR-10, BR-14
**API Contract Reference:** Self
**Acceptance Criteria**
- BD%+PD%=100 rule documented
- Example $100→$30→$12/$18 in contract
**Definition of Done:** In 11-api.md
**Git Ownership / File Ownership:** `contract_commission_shares` → Ashraful
**Git Conflict Risk:** LOW
**Parallelization Notes:** Unlocks 2.5-FE

_Detail card:_ `docs/projects/PMS_PHASE1_TASK_CARDS.md` → `PMS-API-2.5`

---

### PMS-2.5-BE — Contract Commission Share — Backend

**Task ID:** PMS-2.5-BE
**Domain:** 07. Commission Share
**Feature:** Team/BD/PD Share
**Workstream:** Backend
**Task Title:** Contract Commission Share — Backend
**Description:** Configure pools; versioned effective rows; no earning generation.
**Owner:** Ashraful
**Lane:** A
**Priority:** P0
**Estimate:** 8.00h
**Dependency:** 2.3-BE HARD; API-2.5 SOFT
**Dependency Type:** HARD/SOFT
**Specification Reference:** SRS §18–§19, §28
**Business Rule Reference:** BR-09/10/14; BR-15 spirit on versions
**API Contract Reference:** PMS-API-2.5
**Acceptance Criteria**
- Given 100/30/40/60 When compute Then pools 30/12/18
- Given share change When saved Then prior effective row not mutated destructively
**Definition of Done:** Global BE DoD + unit math tests
**Git Ownership / File Ownership:** `contract_commission_shares`
**Git Conflict Risk:** LOW
**Parallelization Notes:** Parallel with 2.4/2.6 after 2.3

_Detail card:_ `docs/projects/PMS_PHASE1_TASK_CARDS.md` → `PMS-2.5-BE`

---

### PMS-2.5-FE — Contract Commission Share — Frontend

**Task ID:** PMS-2.5-FE
**Domain:** 07. Commission Share
**Feature:** Share UI
**Workstream:** Frontend
**Task Title:** Contract Commission Share — Frontend
**Description:** Configure/preview pools on contract.
**Owner:** Bablu
**Lane:** D
**Priority:** P1
**Estimate:** 5.00h
**Dependency:** API-2.5 SOFT; 2.5-BE SOFT; 2.3-FE preferred
**Dependency Type:** SOFT
**Specification Reference:** Card 2.5-FE
**Business Rule Reference:** Show explicit bases
**API Contract Reference:** PMS-API-2.5
**Acceptance Criteria**
- Preview pools
- BD+PD≠100 blocked client-side + API 422 handled
**Definition of Done:** Global FE DoD
**Git Ownership / File Ownership:** FE share form
**Git Conflict Risk:** LOW
**Parallelization Notes:** Mock-first

_Detail card:_ `docs/projects/PMS_PHASE1_TASK_CARDS.md` → `PMS-2.5-FE`

---
