fix IBAN autofill

This commit is contained in:
iw0
2025-08-27 15:24:48 +02:00
parent 47151dc46a
commit 46d4314ab4

View File

@@ -481,7 +481,13 @@ const continueToPayout = {
/** @type Stage */ /** @type Stage */
const enterPaymentDetails = { const enterPaymentDetails = {
name: "enterPaymentDetails", name: "enterPaymentDetails",
match: node => node.querySelector(".entschaedigung"), match: node => {
// Did not travel
if (node.classList.contains("Entschaedigung")) return true;
// Delayed
if (node.querySelector(".Entschaedigung__description")) return true;
return false;
},
execute: node => { execute: node => {
if (!hasConfiguredBankDetails) return true; if (!hasConfiguredBankDetails) return true;
const xfrRadio = node.querySelector('#ueberweisung'); const xfrRadio = node.querySelector('#ueberweisung');
@@ -505,8 +511,10 @@ const enterPaymentDetails = {
} }
const defaultStages = [ const defaultStages = [
startClaim, fillData, clickContinue, startClaim, fillData, clickContinue,
{"delay": [iWasDelayed, moreThan60Minutes, continueToForm, {
focusDepartureInput, jumpToTimeInput], "nodep": [iDidntTravel, focusDepartureInput], "abort": [iWentBack, focusDepartureInput, focusTurnaroundStationInput]}, "delay": [iWasDelayed, moreThan60Minutes, continueToForm,
focusDepartureInput, jumpToTimeInput], "nodep": [iDidntTravel, focusDepartureInput], "abort": [iWentBack, focusDepartureInput, focusTurnaroundStationInput]
},
activateAppellationDropdown, enterAppellationAndActivateTitleDropdown, activateAppellationDropdown, enterAppellationAndActivateTitleDropdown,
enterTitleAndActivateCountryDropdown, enterCountry, enterTitleAndActivateCountryDropdown, enterCountry,
enterTextPersonalData, /* continueToPayout, */ enterPaymentDetails enterTextPersonalData, /* continueToPayout, */ enterPaymentDetails