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 #1

Updated by Kyle Chong 3 months ago · Edited

  • Status set to New
  • Subject set to Discount Engine (M05)
  • Tracker set to Feature
  • Priority set to Medium
  • Assignee set to Kyle Chong
  • % Done set to 0

Issue created

Actions #2

Updated by Kyle Chong 3 months ago · Edited

  • Subtask #7126 added
Actions #3

Updated by Kyle Chong 3 months ago · Edited

  • Subtask #7127 added
Actions #4

Updated by Kyle Chong 3 months ago · Edited

  • Subtask #7128 added
Actions #5

Updated by Kyle Chong 3 months ago · Edited

  • Subtask #7129 added
Actions #6

Updated by Kyle Chong 3 months ago · Edited

  • Subtask #7130 added
Actions #7

Updated by Kyle Chong 3 months ago

  • Description updated (diff)
Actions #8

Updated by Kyle Chong 3 months ago

  • Subtask #7452 added
Actions #9

Updated by Kyle Chong 3 months ago

  • Subtask #7453 added
Actions #10

Updated by Kyle Chong 3 months ago

  • Subtask #7455 added
Actions #11

Updated by Kyle Chong 3 months ago

  • Subtask #7456 added
Actions #12

Updated by Kyle Chong 3 months ago

  • Subtask #7457 added
Actions #13

Updated by Kyle Chong 3 months ago

  • Subtask #7458 added
Actions #14

Updated by Kyle Chong 3 months ago

  • Subtask #7459 added
Actions

Also available in: Atom PDF