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
This commit is contained in:
2026-03-23 11:04:24 +01:00
parent 4119ad7059
commit 0ebadbdb48
3 changed files with 281 additions and 26 deletions

View File

@@ -7,4 +7,5 @@ edition = "2021"
askama = "0.15.5"
chrono = "0.4.44"
csv = "1.4.0"
printpdf = "0.9.1"
serde = "1.0.228"