From 8bb4b9b401eed4d4cfbd021ca303d65220e1668d Mon Sep 17 00:00:00 2001 From: Daniel Spitzer Date: Sun, 16 Nov 2025 19:19:28 +0100 Subject: [PATCH] Zeiterfassung Update * Neues Kategorie Feature (Arbeitszeitverschiebung) --- public/js/pages/timerecordingReport/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/js/pages/timerecordingReport/index.js b/public/js/pages/timerecordingReport/index.js index 2be23e320..292f89feb 100644 --- a/public/js/pages/timerecordingReport/index.js +++ b/public/js/pages/timerecordingReport/index.js @@ -369,6 +369,14 @@ $(document).ready(function () { $('#days-div').find('input').attr("min", "0"); $('#days').prop("required", true); $('#days-div').find('input').val(""); + } else if (parseInt($(this).find(':selected').data('hourday')) === 10) { + $("#endtime-div").hide(); + $("#endtime-div").find('input').each(function () { + $(this).prop("required", false); + }); + $('#days-div').hide(); + $('#days').prop("required", false); + $("#div-calc-overtime").hide(); } if (parseInt($(this).find(':selected').data('comment')) === 1) { $('#comment').prop("required", true);