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.
Actions