Development #7097
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M07_Receipt.md Implement Receipt (M07) (docs/planning/modules/M07_Receipt.md). Build the common receipt rendering framework used by POS+. Scope: * Build receipt model from completed transaction data. * Include transaction header. * Include Store/Terminal/Cashier. * Include item lines. * Include quantity/unit price/line amount. * Include M05 discount information. * Include M04 tax information. * Include M06 payment/tender details. * Include totals/change where applicable. * Include date/time receipt/printing behaviour in both Cashier projects. Cover configuration and transaction number. * Support configurable header/footer content. * Keep rendering separate from the actual printer/device implementation. * Do not recalculate tax/discount/payment amounts during receipt generation. printer failure without losing paid sales. Done when: A completed transaction can be converted into a consistent when receipt document/model ready for preview or output. output meets the linked MD.