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]>
22 lines
514 B
PHP
22 lines
514 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\TimeTracking\Application\DTOs;
|
|
|
|
/**
|
|
* A user's hours on a job's work type in a period, in quarter hours: all
|
|
* of them, those still waiting for approval and those already billed.
|
|
*/
|
|
final readonly class ReportedHours
|
|
{
|
|
public function __construct(
|
|
public int $userId,
|
|
public int $jobId,
|
|
public int $workTypeId,
|
|
public int $quarters,
|
|
public int $unapprovedQuarters,
|
|
public int $billedQuarters,
|
|
) {}
|
|
}
|