Project

General

Profile

Actions

Feature #7125

open

Discount Engine (M05)

Added by Kyle Chong 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Medium
Assignee:
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 0:00 h)
Complete Date:

Description

Refer to: docs/planning/modules/M05_Discount_Engine.md

Build the POS+ discount engine and integrate it into the M03 Cart/Checkout flow.

M05 must support configurable line-level and receipt-level discounts, retain the applied discount details for audit/history, and provide the discounted amount to M04 for subsequent tax calculation.

High-level flow:

Product Price → Discount Engine → Discounted Amount → Tax Calculation (M04) → Payment (M03)


Subtasks 12 (12 open — 0 closed)

Development #7126: Build common discount rule & calculation modelNew

Actions
Development #7127: Build line discount actionNew

Actions
Development #7128: Build receipt-level discount actionNew

Actions
Development #7129: Build discount calculation engine & stacking rulesNew

Actions
Development #7130: Save applied discount recordsNew

Actions
Development #7452: Save discount rule snapshotNew

Actions
Development #7453: Show applied discounts in cartNew

Actions
Development #7455: Integrate M05 discount result with M04 tax calculationNew

Actions
Development #7456: Persist discount details into transactions.dbNew

Actions
Development #7457: Include discount details in Backend transaction syncNew

Actions
Development #7458: Show discounts on receiptNew

Actions
Development #7459: Test M05 end-to-end discount scenariosNew

Actions
Actions

Also available in: Atom PDF