Dries Peeters
a6254b77a3
Fix SQLAlchemy error when viewing invoices with payments
...
- Add sorted_payments property to Invoice model using proper SQLAlchemy column references
- Update invoice view template to use new property instead of string-based ordering
- Add comprehensive tests for sorted_payments functionality
Resolves error: "Can't resolve label reference for ORDER BY" when accessing invoice.payments.order_by() from Jinja2 templates
2025-10-29 07:42:34 +01:00
..
2025-10-24 18:16:15 +02:00
2025-10-27 17:46:50 +01:00
2025-10-27 17:46:50 +01:00
2025-10-28 16:06:53 +01:00
2025-10-29 07:15:51 +01:00
2025-10-21 10:07:20 +02:00
2025-10-10 11:37:23 +02:00
2025-10-27 17:46:50 +01:00
2025-10-10 14:02:28 +02:00
2025-10-27 14:17:06 +01:00
2025-10-27 14:17:06 +01:00
2025-10-24 17:48:19 +02:00
2025-10-24 08:37:51 +02:00
2025-10-20 21:25:13 +02:00
2025-10-21 17:05:00 +02:00
2025-10-27 17:46:50 +01:00
2025-10-20 21:25:13 +02:00
2025-10-24 10:42:51 +02:00
2025-10-22 11:25:10 +02:00
2025-10-23 21:15:16 +02:00
2025-10-23 09:31:39 +02:00
2025-10-25 08:38:53 +02:00
2025-10-25 08:38:53 +02:00
2025-10-29 07:42:34 +01:00
2025-10-24 21:09:41 +02:00
2025-10-29 07:15:51 +01:00
2025-10-10 11:37:23 +02:00
2025-10-21 17:05:00 +02:00
2025-10-17 12:51:43 +02:00
2025-10-27 08:44:04 +01:00
2025-10-27 08:44:04 +01:00
2025-10-27 17:46:50 +01:00
2025-10-27 13:38:07 +01:00
2025-10-27 17:46:50 +01:00
2025-10-24 15:14:39 +02:00
2025-10-24 12:49:54 +02:00
2025-10-23 14:00:53 +02:00
2025-10-24 18:16:15 +02:00
2025-10-24 18:16:15 +02:00
2025-10-10 14:58:11 +02:00
2025-10-23 14:12:50 +02:00
2025-10-21 17:05:00 +02:00
2025-10-10 11:37:23 +02:00
2025-10-21 17:05:00 +02:00
2025-10-21 17:05:00 +02:00
2025-10-23 13:33:19 +02:00
2025-10-20 21:25:13 +02:00
2025-10-24 16:53:30 +02:00
2025-10-25 06:53:13 +02:00
2025-10-24 15:03:34 +02:00
2025-10-10 11:37:23 +02:00
2025-10-17 11:51:36 +02:00
2025-10-25 06:53:13 +02:00
2025-10-20 14:38:57 +02:00
2025-10-24 15:14:39 +02:00