Projektseite, Aufgaben-Kategorien und Terminplan wie MS Project (0.3.0)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

- Projekt-Detailseite mit Kacheln und Reitern, Baustellenadresse und Notiz (Migration 005)
- Aufgaben mit Projekt, Kunde und Kategorie; Kategorien im Auswahlmenü bearbeiten
- Terminplan: Bearbeitung direkt in der Tabelle, Spalten ausblendbar

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:
Claude
2026-10-20 04:40:43 +00:00
parent 7175cd1b75
commit 3dead5bc51
11 changed files with 666 additions and 102 deletions

View File

@@ -200,7 +200,9 @@ export async function baueApp(o: Optionen): Promise<FastifyInstance> {
const woche = { tage: e.arbeitstage };
const [tp, aufgaben, liqui] = await Promise.all([
terminplan(pool, woche),
pool.query(`select a.*, p.nummer as projekt_nummer from aufgabe a left join projekt p on p.id = a.projekt_id
pool.query(`select a.*, p.nummer as projekt_nummer, p.bezeichnung as projekt_name, k.name as kontakt_name, g.name as kategorie
from aufgabe a left join projekt p on p.id = a.projekt_id left join kontakt k on k.id = a.kontakt_id
left join aufgabe_kategorie g on g.id = a.kategorie_id
where a.erledigt_am is null order by a.faellig_am nulls last, a.angelegt_am`),
berechneLiquiditaet({ ansicht: "woche", start: heute, anzahl: 4 }),
]);