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]>
20 lines
398 B
PHP
20 lines
398 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Reports\Application\Contracts;
|
|
|
|
use App\Modules\Reports\Application\DTOs\ReportJob;
|
|
|
|
/**
|
|
* Customer jobs, from the Jobs and Customers modules.
|
|
*/
|
|
interface ReportJobs
|
|
{
|
|
/**
|
|
* @param list<int> $ids
|
|
* @return array<int, ReportJob> Keyed by id; unknown ids are left out.
|
|
*/
|
|
public function infoOf(array $ids): array;
|
|
}
|