From 359dd2cbe3d1506b4f4c2fec0cbe3dd3ef24ef19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Mon, 15 Jun 2026 14:34:47 +0200 Subject: [PATCH] OTC-Billing-Defaults wiederherstellen --- modules/shared/auth/ui/home.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/modules/shared/auth/ui/home.php b/modules/shared/auth/ui/home.php index f791d8e..e3c3a35 100644 --- a/modules/shared/auth/ui/home.php +++ b/modules/shared/auth/ui/home.php @@ -155,27 +155,27 @@ function render_auth_home_page(array $user, array $otcProducts = []): void echo '

Rechnungsadresse

'; echo '
'; echo ''; - echo ''; + echo ''; echo '
'; echo '
'; echo ''; - echo ''; + echo ''; echo '
'; echo '
'; echo ''; - echo ''; + echo ''; echo '
'; echo '
'; echo ''; - echo ''; + echo ''; echo '
'; echo '
'; echo ''; - echo ''; + echo ''; echo '
'; echo '
'; echo ''; - echo ''; + echo ''; echo '
'; echo '
'; echo ''; @@ -393,8 +393,7 @@ function render_auth_home_page(array $user, array $otcProducts = []): void echo " return isValid;"; echo " };"; echo " const resetForm = (preserveSuccess = false) => {"; - echo " productInputs.forEach((input) => { input.value = ''; });"; - echo " if (totalPriceInput) { totalPriceInput.value = ''; }"; + echo " form.reset();"; echo " clearError();"; echo " if (!preserveSuccess) { clearSuccess(); }"; echo " if (!preserveSuccess) { updateFormState(); }";