0.30.0: Terminplan in Vierteltagen, Überschneidung erst über einen Tag
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
@@ -129,7 +129,7 @@ export function registriereZeiten(app: FastifyInstance, pool: Pool, einstellunge
|
||||
ladeTage(pool, von, bis, kontakt),
|
||||
istAngestellt(pool, kontakt),
|
||||
ladePersonal(pool, kontakt),
|
||||
pool.query(`select v.id, v.name, v.start, v.dauer, v.freitage, a.projekt_id from besetzung_person b join vorgang v on v.id = b.vorgang_id
|
||||
pool.query(`select v.id, v.name, v.start, v.start_teil, v.dauer, v.freitage, a.projekt_id from besetzung_person b join vorgang v on v.id = b.vorgang_id
|
||||
join abschnitt a on a.id = v.abschnitt_id where b.kontakt_id = $1 and b.freigegeben`, [kontakt]),
|
||||
// Baustellen zur Auswahl: laufende Aufträge mit ihren Vorgängen, nur Namen (E27)
|
||||
pool.query(`select p.id, p.nummer, p.bezeichnung, coalesce(json_agg(json_build_object('id', v.id, 'name', v.name) order by a.reihenfolge, v.reihenfolge, v.nummer)
|
||||
|
||||
Reference in New Issue
Block a user