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]>
21 lines
489 B
PHP
21 lines
489 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\TimeTracking\Application\DTOs;
|
|
|
|
/**
|
|
* A job's unbilled hours on a work type in quarter hours, approved and
|
|
* waiting for approval, with the first day they were worked (Y-m-d).
|
|
*/
|
|
final readonly class UnbilledHours
|
|
{
|
|
public function __construct(
|
|
public int $jobId,
|
|
public int $workTypeId,
|
|
public int $approvedQuarters,
|
|
public int $unapprovedQuarters,
|
|
public string $oldestDay,
|
|
) {}
|
|
}
|