0.36.0: Status Intern mit I-Nummern und Ordner 05 Intern, Eckdaten unten und einklappbar
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:
@@ -1,5 +1,5 @@
|
||||
import { describe, it, expect } from "vitest";
|
||||
import { berechneAngebot, berechnePosition, einheitRichtig, naechsteNummer, pruefeAngebot, rundeCent, verteile, type Saetze } from "../src/domain/kalkulation.js";
|
||||
import { berechneAngebot, berechnePosition, einheitRichtig, naechsteInternNummer, naechsteNummer, pruefeAngebot, rundeCent, verteile, type Saetze } from "../src/domain/kalkulation.js";
|
||||
|
||||
const OHNE_WG: Saetze = {
|
||||
stundensaetze: { planer: 8000, geselle: 5831, helfer: 5000 },
|
||||
@@ -83,6 +83,8 @@ describe("Angebotskalkulation (A2, A19, A28, A32, A37)", () => {
|
||||
expect(einheitRichtig("Fass")).toBeUndefined();
|
||||
expect(naechsteNummer(["A-26-120", "P-26-123", "A-25-300", "26-01"], 2026)).toBe("A-26-124");
|
||||
expect(naechsteNummer([], 2027)).toBe("A-27-001");
|
||||
expect(naechsteInternNummer(["I-26-004", "P-26-123", "I-25-009"], 2026)).toBe("I-26-005");
|
||||
expect(naechsteInternNummer(["A-26-120"], 2026)).toBe("I-26-001");
|
||||
});
|
||||
|
||||
it("Versandprüfung findet Platzhalter, fehlende Preise, Einheiten und Bindefrist (A14)", () => {
|
||||
|
||||
Reference in New Issue
Block a user