Refactor task management and add attachment functionality

- Updated task editing template to handle default status for new tasks and corrected variable names.
- Enhanced work time reporting by rounding time to the nearest quarter hour and adjusting amount formatting.
- Introduced TasksController to manage task-related operations, including status resolution and email notifications.
- Added TaskAttachmentRepository for handling task attachments, including upload, rename, and delete functionalities.
- Implemented WorkTimeRepository to fetch clients with unsettled tasks and calculate total work time.
- Created unit tests for TasksController and TaskAttachmentRepository to ensure functionality and correctness.
This commit is contained in:
2026-02-06 23:11:48 +01:00
parent 1722f171bc
commit 47ffc19a23
18 changed files with 546 additions and 79 deletions

View File

@@ -1,6 +1,6 @@
<?php
require_once __DIR__ . '/../../../autoload/Domain/Tasks/class.WorkTimeRepository.php';
require_once __DIR__ . '/../../../autoload/Domain/Tasks/WorkTimeRepository.php';
use Domain\Tasks\WorkTimeRepository;