Cash Settlement Management
Documentation by flow:
- Phase 1 — hierarchy (Admin → Shop)
- Phase 2 — Shop/Cashier → Player (counter deposit)
- Phase 3 — Player → Shop/Cashier (counter redemption)
Phase 1 — Hierarchy (offline credit sales)
| # | Flow | Page |
|---|---|---|
| 1 | Admin → Super Agent | View |
| 2 | Super Agent → Agent | View |
| 3 | Agent → Shop | View |
Phase 2 — Counter deposit
| # | Flow | Page |
|---|---|---|
| 4 | Shop/Cashier → Player (Player deposits cash, receives credits) | View |
Phase 3 — Counter redemption
| # | Flow | Page |
|---|---|---|
| 5 | Player → Shop/Cashier (Player redeems credits for cash) | View |
Implementation tasks
| # | Flow | Tasks file |
|---|---|---|
| 1 | Admin → Super Agent | tasks-admin-to-superagent |
| 2 | Super Agent → Agent | tasks-superagent-to-agent |
| 3 | Agent → Shop | tasks-agent-to-shop |
| 4 | Shop/Cashier → Player (deposit) | tasks-shop-cashier-to-player |
| 5 | Player → Shop/Cashier (redemption) | tasks-player-to-shop-cashier |
Phase 1: order 1 → 2 → 3 — foundation
cash_transactions, hierarchy portals.Phase 2: deposit ledger — Player deposits cash at counter (shop-cashier-to-player).
Phase 3: redemption ledger — separate because of approval, shift Cash Out, reversed business logic (player-to-shop-cashier). Ship after Phase 2.