Development #7161
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M08_Void_Suspend_Recall.md * docs/planning/modules/M03_POS_Terminal_Cart.md Define Void, Suspend & Recall (M08) (docs/planning/modules/M08_Void_Suspend.md). Build suspend, recall and implement the transaction/cart states required by M08. Scope: * Active cart. * Suspended cart. * Recalled cart. * Voided/cancelled active cart. * Completed transaction. * Reversal initiated. * Reversed transaction. * Ensure invalid state transitions void flows with permissions and audit. Done when originals are blocked. * Record state-change date/time/user/terminal. * Keep completed transaction state immutable except through an approved preserved, duplicate reversal process. Example: ACTIVE → SUSPENDED → RECALLED → COMPLETED or ACTIVE → VOIDED or COMPLETED → REVERSED Done when: POS+ has a controlled state model is prevented and transactions cannot move into invalid or inconsistent states. tests pass.