Pausenabzug standardmäßig voll: 6:10 wird 5:40 (0.15.1)
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user