Add Reports module with the hours by person report

Management's reports (spec 13) get their own module that reads the other
modules through ports. The first report sums hours by person in a period,
narrowed by service unit or customer, with breakdowns, a chart and CSV.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-25 08:39:19 +02:00
co-authored by Claude Sonnet 5.5
parent f906f9a43f
commit 64f1e7c54a
45 changed files with 1828 additions and 3 deletions
@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace App\Modules\Reports\Application\DTOs;
/**
* A user's hours on a job's work type in quarter hours: all, those waiting
* for approval and those billed.
*/
final readonly class HoursEntry
{
public function __construct(
public int $userId,
public int $jobId,
public int $workTypeId,
public int $quarters,
public int $unapprovedQuarters,
public int $billedQuarters,
) {}
}