Pauschale 8,60 nur bei Ist-Stunden >= geplanter Anwesenheit (6h)

This commit is contained in:
Rob committed 2026-03-27 15:03:56 +01:00
1 parent a1f229a502
commit ebd67c7be1
2 files changed
+14 -1

No files matched your search

+8
View File
@@ -109,6 +109,14 @@ class TestPresentDay:
fields = build_field_dict(_make_attendance(_present(3, 6.0)), cfg, date(2026, 2, 1))
assert fields["pauschale_5.0"] == "1"
def test_pauschale_above_threshold(self, cfg):
fields = build_field_dict(_make_attendance(_present(3, 7.5)), cfg, date(2026, 2, 1))
assert fields["pauschale_5.0"] == "1"
def test_pauschale_below_threshold(self, cfg):
fields = build_field_dict(_make_attendance(_present(3, 5.0)), cfg, date(2026, 2, 1))
assert fields["pauschale_5.0"] == "0"
# ---------------------------------------------------------------------------
# Absent days (K, KK, E, F, P, U)