From fccb15888f9fba8283bc5164412a2b3a01514145 Mon Sep 17 00:00:00 2001 From: Spitzer Daniel Date: Tue, 9 Jan 2024 18:52:56 +0100 Subject: [PATCH 1/2] Mobile Ansicht Bugfixing --- Layout/default/UserProfile/Form.php | 2 +- Layout/default/header.php | 2 +- Layout/default/mfLogin/Index.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Layout/default/UserProfile/Form.php b/Layout/default/UserProfile/Form.php index 81af72b6c..73538819d 100644 --- a/Layout/default/UserProfile/Form.php +++ b/Layout/default/UserProfile/Form.php @@ -94,7 +94,7 @@ if ($twofa == 0) {
- Um die Mobilnummer zu ändern bitte 2FA auf Email umschalten. +
Um die Mobilnummer zu ändern bitte 2FA auf Email umschalten.
diff --git a/Layout/default/header.php b/Layout/default/header.php index 123d80019..d43bf00cc 100644 --- a/Layout/default/header.php +++ b/Layout/default/header.php @@ -57,7 +57,7 @@ -
+
diff --git a/Layout/default/mfLogin/Index.php b/Layout/default/mfLogin/Index.php index bcc0cc688..6db44b77d 100644 --- a/Layout/default/mfLogin/Index.php +++ b/Layout/default/mfLogin/Index.php @@ -133,10 +133,10 @@ if ($requesttype == "2fa" || $requesttype == "false2fa") {
-
+
-
+
From ff2e31166661df047d6de9aabf604b5121432bfe Mon Sep 17 00:00:00 2001 From: Spitzer Daniel Date: Wed, 10 Jan 2024 13:13:23 +0100 Subject: [PATCH 2/2] Mobilnummern mit Leerzeichen bereinigung/Zeiterfassung Erweiterungen --- .../default/TimerecordingCategories/Form.php | 11 ++++++- .../default/TimerecordingCategories/Index.php | 5 ++- .../TimerecordingCategoryController.php | 4 +++ .../TimerecordingCategoryModel.php | 1 + .../UserProfile/UserProfileController.php | 2 ++ application/UserTwofactor/UserTwofactor.php | 1 + ..._timerecording_category_add_only_admin.php | 32 +++++++++++++++++++ 7 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 db/migrations/20240109195730_timerecording_category_add_only_admin.php diff --git a/Layout/default/TimerecordingCategories/Form.php b/Layout/default/TimerecordingCategories/Form.php index f7ca11247..e1d509eac 100644 --- a/Layout/default/TimerecordingCategories/Form.php +++ b/Layout/default/TimerecordingCategories/Form.php @@ -76,7 +76,16 @@
require_comment) echo 'checked="checked"'; ?> - type="checkbox" name="require_comment" value="1" id="olt"> + type="checkbox" name="require_comment" value="1"> +
+
+
+
+ +
+
+ only_admin) echo 'checked="checked"'; ?> + type="checkbox" name="only_admin" value="1">
diff --git a/Layout/default/TimerecordingCategories/Index.php b/Layout/default/TimerecordingCategories/Index.php index 37747edcf..5dd43f9d2 100644 --- a/Layout/default/TimerecordingCategories/Index.php +++ b/Layout/default/TimerecordingCategories/Index.php @@ -41,6 +41,7 @@ Buchungszeitraum Genehmigungspflichtig Anmerkung Pflichtfeld + Nur Buchhaltung @@ -50,6 +51,7 @@ + @@ -60,6 +62,7 @@ hourday] ?> approval] ?> require_comment] ?> + only_admin] ?> $timerecordingcategories->id]) ?>"> @@ -80,7 +83,7 @@