Actions
Development #7124
closedFeature #7116: POS Terminal & Cart (M03)
Complete sale & write transaction to transactions.db
Status:
Closed
Assignee:
Start date:
23/09/2026
Due date:
30/09/2026
% Done:
100%
Estimated time:
Complete Date:
30/09/2026
Description
Refer to: docs/planning/modules/M03_POS_Terminal_Cart.md
Implement final transaction persistence after successful payment.
Scope:
- Generate unique transaction identifier.
- Record Store.
- Record Terminal.
- Record Cashier/User.
- Record transaction date/time.
- Record transaction header.
- Record transaction lines.
- Record quantity/unit price/base amounts.
- Record payment information.
- Record applicable audit/reference information.
- Maintain fields/structure required for future M04 Tax and M05 Discount data.
- Commit transaction atomically where possible.
- Ensure incomplete/failed payment does not produce a completed sales transaction.
- Mark the transaction ready/pending for Backend synchronization.
The completed transaction must be stored in the POS transaction database:
transactions.db
Once successfully persisted, the sale should no longer depend on immediate Backend availability.
Done when: A successfully paid sale is safely committed into transactions.db with sufficient information for later synchronization and reporting.
Updated by Kyle Chong 3 months ago ยท Edited
- Status set to New
- Subject set to Test cart and checkout rules
- Tracker set to Development
- Priority set to Medium
- Parent task set to #7116
- % Done set to 0
Issue created
Updated by Kyle Chong 3 months ago
- Subject changed from Test cart and checkout rules to Complete sale & write transaction to transactions.db
- Description updated (diff)
Updated by Lee Chui Teng about 2 months ago
- Due date set to 30/09/2026
- Status changed from New to Dev In Progress
- Start date set to 23/09/2026
Updated by Lee Chui Teng about 2 months ago
- Status changed from Dev In Progress to Closed
- % Done changed from 0 to 100
- Complete Date set to 30/09/2026
Actions