From 93913bdcb42f6b74216167b74e00eaf5f1b9dcfc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 28 Dec 2021 11:41:42 +0100 Subject: require dots in AHV (for #7086) --- contrib/redux.ch.json | 2 +- contrib/redux.de.json | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/contrib/redux.ch.json b/contrib/redux.ch.json index 48e8e7a..b36f767 100644 --- a/contrib/redux.ch.json +++ b/contrib/redux.ch.json @@ -33,7 +33,7 @@ }, "widget": "anastasis_gtk_ia_ahv", "uuid" : "1da87570-ba16-4f62-8a7e-cbda92f51591", - "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$", + "validation-regex": "^(756)\\.[0-9]{4}\\.[0-9]{4}\\.[0-9]{2}|(756)[0-9]{10}$", "validation-logic": "CH_AHV_check" } ] diff --git a/contrib/redux.de.json b/contrib/redux.de.json index 862a463..21bbaaf 100644 --- a/contrib/redux.de.json +++ b/contrib/redux.de.json @@ -23,19 +23,6 @@ "widget": "anastasis_gtk_ia_birthplace", "uuid" : "4c822e8e-89c6-11eb-95c4-8b077ad8489f" }, - { - "type": "string", - "name": "tax_number", - "label": "Taxpayer identification number", - "label_i18n":{ - "de_DE": "Steuerliche Identifikationsnummer", - "en": "German taxpayer identification number" - }, - "widget": "anastasis_gtk_ia_tax_de", - "uuid": "dae48f85-e3ff-47a4-a4a3-ed981ed8c3c6", - "validation-regex": "^[0-9]{11}$", - "validation-logic": "DE_TIN_check" - }, { "type": "string", "name": "social_security_number", @@ -49,6 +36,19 @@ "validation-regex": "^[0-9]{8}[[:upper:]][0-9]{3}$", "validation-logic": "DE_SVN_check", "optional" : true + }, + { + "type": "string", + "name": "tax_number", + "label": "Taxpayer identification number", + "label_i18n":{ + "de_DE": "Steuerliche Identifikationsnummer", + "en": "German taxpayer identification number" + }, + "widget": "anastasis_gtk_ia_tin_de", + "uuid": "dae48f85-e3ff-47a4-a4a3-ed981ed8c3c6", + "validation-regex": "^[0-9]{11}$", + "validation-logic": "DE_TIN_check" } ] } -- cgit v1.2.3