Zahlungen, Kosten und Aufgaben im Terminplan, Aufgaben-Vorlage, Schlussrechnung als Rest, Zahlungsplan verschieben (0.14.0)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

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 11:20:13 +00:00
parent 6d0c5f238b
commit 4e07e0b89e
19 changed files with 842 additions and 54 deletions

View File

@@ -128,6 +128,9 @@ export const TABELLEN: Tabelle[] = [
bezahlt_am: datum.nullable().optional(),
reihenfolge: z.number().int().optional(),
zahlungsziel_tage: z.number().int().min(0).nullable().optional(),
bezug_art: z.enum(["AA", "EE"]).optional(),
bezug_tage: z.number().int().min(-500).max(500).optional(),
rest: z.boolean().optional(),
}),
},
{
@@ -144,6 +147,9 @@ export const TABELLEN: Tabelle[] = [
mit_vorsteuer: z.boolean().optional(),
status: z.enum(["geplant", "bestellt", "bezahlt"]).optional(),
zahlungsziel_tage: z.number().int().min(0).nullable().optional(),
vorgang_id: id.nullable().optional(),
bezug_art: z.enum(["AA", "EE"]).optional(),
bezug_tage: z.number().int().min(-500).max(500).optional(),
}),
},
{
@@ -181,6 +187,9 @@ export const TABELLEN: Tabelle[] = [
kontakt_id: id.nullable().optional(),
kategorie_id: id.nullable().optional(),
erledigt_am: z.iso.datetime({ offset: true }).nullable().optional(),
vorgang_id: id.nullable().optional(),
bezug_art: z.enum(["AA", "EE"]).optional(),
bezug_tage: z.number().int().min(-500).max(500).optional(),
}),
},
// Stufe 2: Personal (M1, M8, M4, M10)
@@ -243,4 +252,5 @@ export const TABELLEN: Tabelle[] = [
export const NUR_SICHERUNG: { name: string; pfad: string; sortierung: string }[] = [
{ name: "zeiteintrag", pfad: "zeiteintraege", sortierung: "datum, kontakt_id" },
{ name: "zeitanteil", pfad: "zeitanteile", sortierung: "zeiteintrag_id, reihenfolge" },
{ name: "projekt_vorlage", pfad: "projekt_vorlagen", sortierung: "projekt_id, vorlage" },
];