mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-04-24 21:49:51 -05:00
279a2fb667
- Fixed AttributeError when accessing project.client.name in Excel export - Project.client is a string property returning the client name, not an object - Changed all incorrect .name accesses to use the string property directly - Added unit tests for Excel export functionality to prevent regression Fixes bug where exporting time entries to Excel resulted in 500 server error with message: 'str' object has no attribute 'name' Files changed: - app/utils/excel_export.py: Fixed time entries export client column - app/routes/reports.py: Fixed project report export client field - app/templates/projects/view.html: Fixed project view template - tests/test_excel_export.py: Added comprehensive Excel export tests