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:
@@ -9,6 +9,7 @@ use App\Modules\Jobs\Application\DTOs\CustomerJobSummary;
|
||||
use App\Modules\Jobs\Application\DTOs\JobBillingInfo;
|
||||
use App\Modules\Jobs\Application\DTOs\JobChangeEntry;
|
||||
use App\Modules\Jobs\Application\DTOs\JobListFilter;
|
||||
use App\Modules\Jobs\Application\DTOs\JobReportInfo;
|
||||
use App\Modules\Jobs\Domain\Enums\JobStatus;
|
||||
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
|
||||
|
||||
@@ -66,6 +67,14 @@ interface CustomerJobQueries
|
||||
*/
|
||||
public function billingInfoOf(array $ids): array;
|
||||
|
||||
/**
|
||||
* Report details of the given jobs, keyed by id; unknown ids are left out.
|
||||
*
|
||||
* @param list<int> $ids
|
||||
* @return array<int, JobReportInfo>
|
||||
*/
|
||||
public function reportInfoOf(array $ids): array;
|
||||
|
||||
/**
|
||||
* The job's history, newest first.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user