mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-21 05:40:26 -05:00
5bc637cc6b
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>