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]>
18 lines
347 B
PHP
18 lines
347 B
PHP
<?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,
|
|
) {}
|
|
}
|