Development #7144
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M09_Refund.md Refund (M09) (docs/planning/modules/M09_Refund.md). Build the Cashier screen for selecting items from the original transaction to be returned. Scope: * Display original transaction items. * Display purchased quantity. * Display previously refunded quantity. * Display remaining refundable quantity. * Allow full receipt refund. * Allow partial item refund. * Allow partial quantity refund. * Prevent quantity exceeding refundable quantity. * Show original selling price. * Show original discount information. * Show original tax information. * Calculate proposed refund amount. * Clearly distinguish refundable/non-refundable items. * Support keyboard/touch operation. The refund must be based on the original sale values, not current product price/master data. checks, approval/offline decision and compensating ledger/outbox record. Done when: Cashier can select valid item(s)/quantity for refund without exceeding the original refundable amount. when partial/full/duplicate/refused cases pass and inventory follows disposition.