Files
TimeTracker/tests
Dries Peeters 8e85e41f21 fix: Replace hardcoded Euro symbols with dynamic currency in finance pages
xes bug where Reports, Payments, and Expenses dashboards displayed
hardcoded Euro symbols (€) instead of respecting the CURRENCY setting
from the environment file.

Changes:
- Added currency_symbol and currency_icon Jinja2 filters supporting 25+ currencies
- Updated Reports page to use dynamic currency symbols
- Updated Payments list page to use dynamic currency symbols
- Updated Expenses list page to use dynamic currency symbols and icons
- Updated Expenses dashboard to use dynamic currency symbols and icons
- Created comprehensive test suite with 14 tests (unit, integration, smoke)
- Added bug fix documentation

The currency variable is already injected via context processor, so pages
now correctly display USD ($), EUR (€), GBP (£), or any configured currency
symbol based on the CURRENCY environment variable.

Affected pages:
- /reports
- /payments
- /expenses
- /expenses/dashboard

Test with: pytest tests/test_currency_display.py -v

Files changed:
- app/utils/template_filters.py (added filters)
- app/templates/reports/index.html
- app/templates/payments/list.html
- app/templates/expenses/list.html
- app/templates/expenses/dashboard.html
- tests/test_currency_display.py (new)
- docs/BUGFIX_CURRENCY_DISPLAY.md (new)
2025-10-31 10:49:12 +01:00
..
2025-10-29 18:42:10 +01:00
2025-10-27 17:46:50 +01:00
2025-10-27 17:46:50 +01:00
2025-10-27 17:46:50 +01:00
2025-10-25 08:38:53 +02:00
2025-10-25 08:38:53 +02:00
2025-10-29 18:42:10 +01:00
2025-10-27 17:46:50 +01:00
2025-10-27 17:46:50 +01:00
2025-10-24 15:14:39 +02:00
2025-10-24 18:16:15 +02:00
2025-10-24 18:16:15 +02:00
2025-10-24 16:53:30 +02:00
2025-10-24 15:03:34 +02:00
2025-10-24 15:14:39 +02:00