Ein Wert, ein Ort: Startwerte und Raten read-only, Verteil-Dialoge als einziger Eingabeort
Deploy App / deploy (push) Successful in 1m13s

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-16 21:17:39 +02:00
parent 5ff9bc0709
commit ce987b9978
8 changed files with 602 additions and 201 deletions
+13
View File
@@ -98,6 +98,19 @@ describe("Offene Punkte je Phase", () => {
expect(r.groups).toHaveLength(0);
});
it("verlangt keine Bestätigung für eine Zelle ohne Annahmen", () => {
// Seit 0.40 stehen Bestände in den Stammdaten und Raten im Verteil-Dialog. Eine
// «Sonstige Schuld» trägt in der Phasenzelle damit gar nichts mehr -- eine Bestätigung
// wäre eine Frage ohne Gegenstand.
const p = plan({
phases: [phase("p1", 1, 10)],
elements: [el("OTHER_DEBT", { p1: {} })],
});
const c = computePlan(p);
expect(unconfirmedCells(p, c, "p1")).toHaveLength(0);
expect(reviewPlan(p, c).stage).toBe("DONE");
});
it("verlangt keine Bestätigung für ein verkauftes Element", () => {
// Ein verkauftes Haus trägt in der Folgephase keine Annahmen mehr.
const p = plan({