Project

General

Profile

Actions

Development #7127

open

Feature #7125: Discount Engine (M05)

Build line discount action

Added by Kyle Chong 3 months ago. Updated 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

Implement manual/controlled discount at individual cart-line level.

Scope:

  • Select the target cart line.
  • Apply percentage or fixed-amount discount according to supported rules.
  • Validate user permission/approval where required.
  • Prevent invalid discount values.
  • Prevent discount greater than the permitted amount.
  • Recalculate line subtotal after discount.
  • Recalculate cart total.
  • Record who applied/approved the discount.
  • Record reason where required.
  • Ensure M04 tax calculation receives the correct discounted taxable base.

Done when: Cashier can apply an authorised line discount and the cart recalculates correctly with a full audit record.

Actions

Also available in: Atom PDF