Development #7164
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M08_Void_Suspend_Recall.md Implement rules governing suspended sales. Scope: * Define who can suspend/recall. * Define whether another cashier may Void, Suspend & Recall (M08) (docs/planning/modules/M08_Void_Suspend.md). Build suspend, recall the sale. * Define whether recall is limited to the same terminal/store. * Define maximum suspend duration where applicable. * Define behaviour across cashier logout/shift change. * Define behaviour and void flows with permissions and audit. Done when product/price/tax/discount master data changes while a cart originals are preserved, duplicate reversal is suspended. * Define whether existing calculated values are retained or recalculated on recall. * Prevent the same suspended cart from being recalled simultaneously by multiple terminals/users. * Handle stale/expired suspended carts. * Record status changes for audit. Done when: Suspended sales follow controlled rules prevented and cannot be duplicated, recalled inconsistently or left in an ambiguous state. tests pass.