From d1a25a23c297aed98d67566596b9a0feae14bd23 Mon Sep 17 00:00:00 2001 From: Spitzer Daniel Date: Tue, 12 Mar 2024 13:30:52 +0100 Subject: [PATCH] =?UTF-8?q?Zeiterfassungs=20Update=20=20*=20Neuer=20Buchun?= =?UTF-8?q?gszeitraum=20bei=20den=20Buchungskategorien=20ZA=20Uhrzeit=20(v?= =?UTF-8?q?on/bis)=20=20*=20=C3=9Cberpr=C3=BCfungen/Berechungen/Errorhandl?= =?UTF-8?q?ing=20ZAs=20=20*=20Anpassungen=20Freigaben=20nun=20mit=20Standa?= =?UTF-8?q?rtfilter=20Offen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Layout/default/Timerecording/Index.php | 12 +- .../default/TimerecordingCategories/Index.php | 2 +- .../default/TimerecordingEmployee/Index.php | 12 +- Layout/default/TimerecordingHoliday/Index.php | 2 +- Layout/default/TimerecordingPermit/Index.php | 4 +- Layout/default/TimerecordingReport/Index.php | 85 +++++---- .../Timerecording/TimerecordingController.php | 172 +++++++++++++++++- .../Timerecording/TimerecordingModel.php | 8 + .../TimerecordingCategoryModel.php | 2 +- .../TimerecordingReportController.php | 12 ++ ...timerecording_add_field_hours_overtime.php | 32 ++++ public/js/pages/timerecording/index.js | 30 ++- public/js/pages/timerecordingReport/index.js | 30 ++- 13 files changed, 341 insertions(+), 62 deletions(-) create mode 100644 db/migrations/20240312083920_timerecording_add_field_hours_overtime.php diff --git a/Layout/default/Timerecording/Index.php b/Layout/default/Timerecording/Index.php index 0359e58ae..921c0cbd9 100644 --- a/Layout/default/Timerecording/Index.php +++ b/Layout/default/Timerecording/Index.php @@ -127,7 +127,7 @@ $years[time() - 31536000] = date('Y', time() - 31536000); data-comment="require_comment ?>" data-hourday="hourday ?>" data-businesstrip="businesstrip ?>" - data-homeoffice="hourday==1) ? 1 : 0 ?>">name ?> + data-homeoffice="hourday == 1) ? 1 : 0 ?>">name ?> Anmerkung - + -
+
@@ -354,7 +357,8 @@ $years[time() - 31536000] = date('Y', time() - 31536000); let insertUrl = ""; let deleteUrl = ""; let requestUrl = " 'getTimerecordings']) ?>"; - let autoWorkinghoursUrl = " 'fillWorkinghours']) ?>"; + let autoWorkinghoursUrl = " 'fillWorkinghours']) ?>"; + let checkWorkinghoursUrl = " 'checkWorkinghours']) ?>"; diff --git a/Layout/default/TimerecordingReport/Index.php b/Layout/default/TimerecordingReport/Index.php index eb85aa984..1e782aa51 100644 --- a/Layout/default/TimerecordingReport/Index.php +++ b/Layout/default/TimerecordingReport/Index.php @@ -92,6 +92,7 @@ $years[time() - 31536000] = date('Y', time() - 31536000); .fixed-state { background-color: #d0fbd9; } + .form-check-label { margin-top: 2px; } @@ -200,56 +201,60 @@ $years[time() - 31536000] = date('Y', time() - 31536000);
-
- -
-
-
-
- -
- - +
-
-
- - +
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+
-
- + +
+
+ + +
+
+
+
+ +
-
-
- - -
-
-
-
- -
-
- - -
+
@@ -375,7 +380,7 @@ $years[time() - 31536000] = date('Y', time() - 31536000); let deleteUrl = ""; let requestUrl = " 'getTimerecordings']) ?>"; let requestTimesUrl = " 'getTimerecordingsTimes']) ?>"; - + let checkWorkinghoursUrl = " 'checkWorkinghours']) ?>";