Dries Peeters
5bc637cc6b
fix(invoices): include extra goods and expenses in PDF invoice exports
...
PDF invoices were missing extra goods (and expenses) because the ReportLab
template renderer only used invoice.items as the table data source.
- Add invoice.all_line_items to template context: merged list of items,
extra_goods, and expenses with normalized description/quantity/price fields
- Update default template schema to use invoice.all_line_items instead of
invoice.items for the items table
- Add migration to update existing saved templates with the new data source
- Update PDF layout designer: add all_line_items and extra_goods loop options,
default items table to all_line_items
- Add expenses to fallback ReportLab generator for consistency with
pdf_default.html
Fixes #503
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-07 22:24:45 +01:00
..
2025-11-28 20:05:37 +01:00
2026-01-21 15:13:46 +01:00
2026-01-20 19:59:28 +01:00
2025-11-28 20:05:37 +01:00
2026-02-01 16:50:42 +01:00
2026-01-26 14:47:31 +01:00
2025-11-29 07:13:23 +01:00
2026-01-25 10:09:29 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 08:01:01 +01:00
2026-01-25 09:13:14 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-30 16:50:20 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-21 13:59:13 +01:00
2026-01-25 08:59:54 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 09:44:46 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 09:41:39 +01:00
2025-11-28 20:05:37 +01:00
2026-01-30 17:26:14 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 09:38:11 +01:00
2026-01-25 09:38:11 +01:00
2025-11-29 08:25:07 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 10:09:29 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-02-07 22:24:45 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-30 17:25:56 +01:00
2025-12-12 22:35:38 +01:00
2026-02-02 17:24:45 +01:00
2026-02-02 17:24:45 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 08:59:54 +01:00
2026-01-21 15:13:26 +01:00
2026-01-25 09:38:11 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-02-02 19:18:28 +01:00
2025-12-20 08:35:10 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 07:13:23 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 08:59:54 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 07:39:29 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 08:59:54 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 09:38:11 +01:00
2026-02-02 17:59:59 +01:00
2025-11-29 06:17:07 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2026-01-25 08:36:02 +01:00