Development #7168
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M14_Voucher.md * docs/planning/FPOS * docs/planning/modules/M03_POS_Terminal_Cart.md Voucher (M14) (docs/planning/modules/M14_Voucher.md). Build the Cashier voucher validation, application and redemption UI during Cart/Checkout. Scope: * Enter voucher number manually. * Scan voucher barcode/QR where supported. * Display voucher history. Cover online-only digital validation result. * Display voucher type/value. * Display remaining balance where applicable. * Display expiry/status. * Apply valid voucher to the current transaction. * Support removal before payment completion. * Prevent duplicate entry of the same voucher in one transaction. * Support keyboard/touch operation. * Show clear error reason for invalid voucher. and errors. Done when: Cashier can enter/scan and apply an eligible when a voucher to the current sale. cannot be redeemed twice.