Pausenabzug standardmäßig voll: 6:10 wird 5:40 (0.15.1)
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 21:26:46 +00:00
parent cee31b2864
commit 334cd9357e
7 changed files with 13 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ export interface Tagesrechnung {
ueberZehn: boolean;
}
export function rechneTag(anwesend: number, handPause: number, angestellt: boolean, art: Abzugsart = "bis_grenze"): Tagesrechnung {
export function rechneTag(anwesend: number, handPause: number, angestellt: boolean, art: Abzugsart = "voll"): Tagesrechnung {
if (!(anwesend >= 0) || !(handPause >= 0)) throw new Error("Zeiten ungültig");
const hand = Math.min(handPause, anwesend);
let pflicht = 0;