Development #7119
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M03_POS_Terminal_Cart.md Implement the core shopping cart used throughout a POS sales transaction. Scope: * Create Terminal & Cart (M03) (docs/planning/modules/M03_POS_Terminal_Cart.md). Require an authorised supervisor PIN before changing a cart-line price. Store who approved, original price, new cart/transaction. * Add scanned/searched product. * Add multiple products. * Increase/decrease quantity. * Support repeated scanning of the same product according to POS rules. * Remove/void cart line. * Maintain unit price, quantity, line amount reason and transaction total. * Recalculate totals whenever the cart changes. * Record cashier/terminal information against the active cart. * Prevent invalid quantities/values. * Maintain sufficient cart-line structure for future M04 Tax and M05 Discount integration. At this stage, implement the base product/price calculation only. Do not implement M04 tax rules or M05 discount/promotion rules inside M03. timestamp in audit data. Done when: Cashier can build when unauthorised users cannot change price and modify a complete shopping cart and the base transaction totals remain correct. an authorised override is traceable.