richardtekula d4883480b2 refactor: Deduplicate time-tracking.service.js (1045 -> 876 lines)
Extract shared helpers:
- validateProjectExists, validateTodoExists, validateCompanyExists,
  validateRelatedEntities (replaces 4x copy-pasted validation blocks)
- generateTimesheetWorkbook (shared workbook creation logic)
- addDailySummary (shared daily totals section)
- saveTimesheetFile (shared file save + DB insert)
- computeDailyTotals, getUserNamePrefix

generateMonthlyTimesheet and generateCompanyTimesheet now use shared
helpers instead of duplicating ~370 lines each.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 07:24:23 +01:00
2025-12-02 09:48:42 +01:00
2025-12-02 09:48:42 +01:00
2025-12-29 09:02:24 +01:00
Description
No description provided
5.5 MiB
Languages
JavaScript 92%
HTML 7.9%
Dockerfile 0.1%