Skip to content

Preserve base price when adding order items - #183

Merged
sridharkalaibala merged 1 commit into
mainfrom
codex/authoritative-order-pricing
Oct 1, 2026
Merged

sridharkalaibala merged 1 commit into
mainfrom
codex/authoritative-order-pricing

Conversation

@sridharkalaibala

Copy link
Copy Markdown
Contributor

Adding an item through the legacy order-history search used final_price as its selling price. An exclusive-tax item could therefore receive tax twice when POS accepted the amendment.

Submit the catalogue price and retain final_price only as display data. The regression executes the actual search, add and serialization functions and verifies that Rs45 is submitted rather than Rs47.25.

Validation: targeted order/menu tests passed (40 tests). The full run passed 624 of 627 tests; the three dependency-only failures then passed after supplying the existing native/Playwright dependencies. Production web build, translations and syntax/diff checks passed. No native APK/device or printed receipt smoke test performed.

Companion server enforcement: Posnic/POS#1064. Keep draft for coordinated desktop/cloud rollout; not deployed.

@sridharkalaibala
sridharkalaibala marked this pull request as ready for review October 1, 2026 16:36
@sridharkalaibala
sridharkalaibala merged commit c7b726f into main Oct 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant