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,19 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user