Project

General

Profile

Actions

Development #7456

open

Feature #7125: Discount Engine (M05)

Persist discount details into transactions.db

Added by Kyle Chong 3 months ago.

Status:
New
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Complete Date:

Description

Refer to:

  • docs/planning/modules/M05_Discount_Engine.md
  • docs/planning/modules/M03_POS_Terminal_Cart.md

Extend completed transaction persistence to include all applied discount details.

Scope:

  • Store line discounts.
  • Store receipt discounts.
  • Store discount totals.
  • Store applied rule references.
  • Store discount rule snapshot.
  • Store approval/audit information.
  • Store pre-discount amount.
  • Store post-discount amount.
  • Ensure transaction can be reconstructed/audited later.
  • Do not recalculate historical discount values from current master data.

Done when: Completed transactions in transactions.db retain the full discount result and audit history.

No data to display

Actions

Also available in: Atom PDF