Skip to main content

Cash Settlement Management

Tài liệu theo từng luồng:

  • Phase 1 — hierarchy (Admin → Shop)
  • Phase 2 — Shop/Cashier → Player (deposit tại quầy)
  • Phase 3 — Player → Shop/Cashier (redemption tại quầy)

Phase 1 — Hierarchy (bán credit offline)

#LuồngTrang
1Admin → Super AgentXem
2Super Agent → AgentXem
3Agent → ShopXem

Phase 2 — Counter deposit

#LuồngTrang
4Shop/Cashier → Player (Player nộp tiền, nhận credit)Xem

Phase 3 — Counter redemption

#LuồngTrang
5Player → Shop/Cashier (Player đổi credit lấy tiền mặt)Xem

Trạng tháiMục
1 — Admin → Super Agent
2 — Super Agent → Agent
3 — Agent → Shop
📋4 — Shop/Cashier → Player (Phase 2)
📋5 — Player → Shop/Cashier (Phase 3)
UI Mockup — Phase 1 (hierarchy)
UI Mockup — Phase 2 deposits
UI Mockup — Phase 3 redemptions + shift
Schema cash_transactions
UI package @kioskgaming/ui
Review backend V1
📋Tasks — Admin → SA
📋Tasks — SA → Agent
📋Tasks — Agent → Shop
📋Tasks — Phase 2 Deposit
📋Tasks — Phase 3 Redemption

Task triển khai

#LuồngFile tasks
1Admin → Super Agenttasks-admin-to-superagent
2Super Agent → Agenttasks-superagent-to-agent
3Agent → Shoptasks-agent-to-shop
4Shop/Cashier → Player (deposit)tasks-shop-cashier-to-player
5Player → Shop/Cashier (redemption)tasks-player-to-shop-cashier

Phase 1: thứ tự 1 → 2 → 3 — nền cash_transactions, portal hierarchy.

Phase 2: deposit ledger — Player nộp tiền tại quầy (shop-cashier-to-player).

Phase 3: redemption ledger — tách riêng vì approval, Cash Out shift, nghiệp vụ ngược (player-to-shop-cashier). Ship sau Phase 2.