From f786f0c59d9a95d6829aaf58d99c882a609355ed Mon Sep 17 00:00:00 2001 From: Roger Rehnelt Date: Sat, 3 Oct 2026 15:38:49 +0200 Subject: Widerrufsformular: Bestätigung ohne Bestelldaten, Name und Schlüssel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Jeder Widerruf wird angenommen; die Eingangsbestätigung an die eingetragene Adresse enthält nur die eigenen Angaben, der Betreiber bekommt die Bestelldaten mit Vermerken. Neues Pflichtfeld Name; der Link aus der Bestellmail bestätigt den Widerruf. Co-Authored-By: Claude Opus 5.5 --- views/mods/mod_revocation/wp_footer.phtml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'views/mods/mod_revocation/wp_footer.phtml') diff --git a/views/mods/mod_revocation/wp_footer.phtml b/views/mods/mod_revocation/wp_footer.phtml index ef013c2..c210881 100644 --- a/views/mods/mod_revocation/wp_footer.phtml +++ b/views/mods/mod_revocation/wp_footer.phtml @@ -177,7 +177,7 @@ success.className = 'wpsg_revocation_page_success'; success.setAttribute('role', 'status'); success.tabIndex = -1; - success.textContent = ; + success.textContent = ; el_dialog_content.replaceChildren(success); el_dialog.querySelector('.wpsg_revocation_button_submit').hidden = true; @@ -323,6 +323,7 @@ const get_product_nr = urlParams.get('wpsg_revo_product'); const get_amount = urlParams.get('wpsg_revo_amount'); const get_contact = urlParams.get('wpsg_revo_contact'); + const get_key = urlParams.get('wpsg_revo_key'); if (get_order_nr !== null) { @@ -373,6 +374,15 @@ } + // Schlüssel aus der Bestellmail bestätigt den Widerruf (S18) + if (get_key) { + + const keyInput = form.querySelector('input[name="wpsg_revocation_reason[key]"]'); + + if (keyInput) keyInput.value = get_key; + + } + }; checkAndFillForm(); -- cgit v1.2.3