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:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Reports\Application\DTOs;
|
||||
|
||||
/**
|
||||
* A part of a person's hours, e.g. one work type or one job, in quarter hours.
|
||||
*/
|
||||
final readonly class HoursBreakdown
|
||||
{
|
||||
public function __construct(
|
||||
public string $label,
|
||||
public int $quarters,
|
||||
public ?int $jobId = null,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user