Project

General

Profile

Development #7098

Updated by Kyle Chong 3 months ago

Refer to: docs/planning/modules/M07_Receipt.md 

 Implement configurable receipt formatting instead of hardcoding Receipt (M07) (docs/planning/modules/M07_Receipt.md). Build the layout. 

 Scope: 

 * Configure left/center/right alignment. 
 * Configure column widths. 
 * Configure item description wrapping. 
 * Configure quantity/price/amount alignment. 
 * Configure spacing between sections. 
 * Configure header/footer. 
 * Support bold/emphasis where the output device supports it. 
 * Support separators/dividers. 
 * Support configurable blank lines. 
 * Support optional receipt fields. 
 * Ensure long product descriptions do not break the layout. 
 * Ensure monetary values remain properly aligned. 

 Done when: Receipt layout can be adjusted through receipt/printing behaviour in both Cashier projects. Cover configuration and printer failure without modifying losing paid sales. Done when receipt rendering code. output meets the linked MD.

Back