refactor: use english naming for the n8n assignments api

This commit is contained in:
fromme committed 2026-11-07 09:33:54 +01:00
1 parent 0bc77b7463
commit 9583612fdc
10 files changed
+84 -81

No files matched your search

+2 -2
View File
@@ -433,7 +433,7 @@ class AssignmentRepository extends ServiceEntityRepository
}
/**
* The assignments the n8n placements feed reports: published, in one of the houses, for one of
* The assignments the n8n assignments feed reports: published, in one of the houses, for one of
* the job profiles, and overlapping the range. Placements, their teamers and documents come
* fetch-joined - every place row needs them. All placements are loaded, called-off ones included:
* a fetch join on a filtered collection would leave the assignment with a partial one, and
@@ -444,7 +444,7 @@ class AssignmentRepository extends ServiceEntityRepository
*
* @return list<Assignment>
*/
public function findForPlacementExport(\DateTimeImmutable $from, \DateTimeImmutable $to, array $houseCodes, array $jobProfileIds): array
public function findForExport(\DateTimeImmutable $from, \DateTimeImmutable $to, array $houseCodes, array $jobProfileIds): array
{
if ([] === $houseCodes || [] === $jobProfileIds) {
return [];