Invoice Output Type
Invoice Output Type
TypeSelection (Dropdown / Option Selector)
DescriptionDefines how invoices are generated and delivered.
BEHAVIOR
Depending on the chosen option, invoices can be:
- Printed directly on a receipt printer
- Generated as PDF files
- Displayed digitally on screen
IMPACT ON USER INTERFACE AND SYSTEM
- This affects the invoice generation flow.
- Determines which output handler is used (printer, PDF engine, preview screen).
TYPICAL USE CASE
- Print: Traditional POS receipt printing
- PDF: Email delivery or invoice archiving
- Digital: On-screen invoice preview
PERSISTENCE AND STATE MANAGEMENT
▪ Storage
- All invoice settings are saved via ObjectBox
- Settings persist across application restarts
▪ State Management
The provider manages:
- Current invoice configuration
- User interface rebuilds when toggles change
- Invoice generation behavior