Berichte: Kostenstelle als Filter und als Gruppierung
All checks were successful
CI / Lint, Typen, Tests, Build (push) Successful in 12m3s
CI / Ausrollen (push) Successful in 11s
CI / Migrationen auf leerer Datenbank (push) Successful in 10m40s

Im Bestand laesst sich nach Kostenstelle filtern ("Alle Kostenstellen")
und gruppieren ("Kostenstelle", Planstellen ohne Kontierung als eigene
Gruppe). Gemeint ist die Kontierung der Planstelle, auf der jemand am
Stichtag sitzt. Der Filter gilt auch fuer die Exporte dieser Seite.

Geprueft: lint, tsc, 950 Tests, Uebergabe-Waechter
This commit is contained in:
2026-10-20 16:08:02 +02:00
parent 0294c792a4
commit ae4918fc6d
7 changed files with 70 additions and 6 deletions

View File

@@ -73,6 +73,7 @@ export async function GET(request: NextRequest) {
const employees = await loadSnapshotEmployees(tx, {
division: params.get("division") ?? undefined,
location: params.get("location") ?? undefined,
kostenstelle: params.get("kostenstelle") ?? undefined,
status: params.get("status") ?? undefined,
criteria: parseCriteria((k) => params.get(k)),
asOf,