Commit Graph

9 Commits

Author SHA1 Message Date
d0654af339 Fix PDF generation with simplified HTML
Use simpler HTML structure compatible with printpdf renderer.
Use inline styles and standard table elements for better rendering.
2026-03-23 11:12:28 +01:00
0ebadbdb48 Add PDF generation for invoices
- Generate both HTML and PDF versions of each customer invoice
- PDFs use printpdf with HTML rendering for consistent styling
- Same layout and formatting as HTML output
2026-03-23 11:04:24 +01:00
4119ad7059 Add summary section with product breakdown
- Show total volume, total amount, and average price per product
- Include grand total row
- Products sorted alphabetically
2026-03-23 10:57:35 +01:00
809f5d2a58 Add Kr currency unit and period display
- Show Kr after all amounts and prices
- Replace batch reference with period (first-last date)
- Same period shown on all customer invoices
2026-03-23 10:51:43 +01:00
bc586e21e7 Translate UI to Swedish 2026-03-23 10:46:39 +01:00
1929b3ed49 Accept CSV file path as command line argument
Output is now written to the same directory as the input file.
2026-03-23 10:41:54 +01:00
623cf12a1c Create .gitignore 2026-03-23 10:37:53 +01:00
650435e00c Add invoice generator for fuel station transactions
- Read CSV files from input/ directory
- Generate static HTML invoices grouped by customer and card
- Filter transactions to only include fleet customers
- Compact print-friendly layout with 2 decimal precision
2026-03-23 10:36:14 +01:00
d3b8828260 Initial commit 2026-03-23 09:58:46 +01:00