Development #7162
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M08_Void_Suspend_Recall.md Implement void/cancel of the current unfinished sale before payment completion. Scope: * Allow cashier to Void, Suspend & Recall (M08) (docs/planning/modules/M08_Void_Suspend.md). Build suspend, recall and void the full active cart. * Require permission/approval where configured. * Require reason where applicable. * Record cashier/user. * Record approving supervisor where applicable. * Record terminal flows with permissions and timestamp. * Preserve required audit information. * Remove the cart from active checkout after successful void. * Ensure no completed sale or payment audit. Done when originals are preserved, duplicate reversal is created. * Ensure temporary/payment state is safely cleared. This ticket is for active/uncompleted sale void only. Done when: An authorised user can cancel an active cart prevented and the void is retained for audit without creating a completed transaction. tests pass.