Development #7130
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M05_Discount_Engine.md Persist all discounts actually Discount Engine (M05) (docs/planning/modules/M05_Discount_Engine.md). Display each applied to the active/completed transaction. Scope: * Save discount type. * Save line/receipt scope. * Save source rule/reference. * Save discount rate or fixed amount. * Save calculated discount amount. * Save target line(s) where applicable. * Save requesting cashier/user. * Save approving user where applicable. * Save reason where required. * Save application timestamp. * Retain multiple discount records where more than one discount applies. Applied discount records should represent name and amount on the actual result used in the sale, not only a reference to the current discount master. affected cart line and receipt summary. Done when: Completed transactions contain when a complete record of every discount that contributed to the final amount. cashier can explain why a price changed before payment.