diff --git a/modules/shared/auth/ui/home.php b/modules/shared/auth/ui/home.php index 8ea625e..9d8dfad 100644 --- a/modules/shared/auth/ui/home.php +++ b/modules/shared/auth/ui/home.php @@ -14,7 +14,7 @@ function render_auth_home_page(array $user, array $otcProducts = []): void $otcProductRows .= '
'; $otcProductRows .= ''; - $otcProductRows .= ''; + $otcProductRows .= ''; $otcProductRows .= '
'; } @@ -135,7 +135,7 @@ function render_auth_home_page(array $user, array $otcProducts = []): void echo '

Preis

'; echo '
'; echo ''; - echo ''; + echo ''; echo '

Der Preis wird durch die Anzahl aller Flaschen geteilt und das Ergebnis ist der Preis jeder einzelnen Flasche.

'; echo '
'; echo ''; @@ -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 ''; @@ -394,8 +394,6 @@ function render_auth_home_page(array $user, array $otcProducts = []): void echo " };"; echo " const resetForm = (preserveSuccess = false) => {"; echo " form.reset();"; - echo " productInputs.forEach((input) => { input.value = '0'; });"; - echo " if (totalPriceInput) { totalPriceInput.value = '0.00'; }"; echo " clearError();"; echo " if (!preserveSuccess) { clearSuccess(); }"; echo " if (!preserveSuccess) { updateFormState(); }"; @@ -455,6 +453,7 @@ function render_auth_home_page(array $user, array $otcProducts = []): void echo " const originalBtnText = submitBtn.innerHTML;"; echo " submitBtn.innerHTML = ' Wird verarbeitet...';"; echo " submitBtn.disabled = true;"; + echo " submitBtn.classList.add('sg-button--process-inactive');"; echo " clearError();"; echo " try {"; echo " const response = await fetch('/api/otc-order.php', {";