diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-28 11:41:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-28 11:41:42 +0100 |
commit | 93913bdcb42f6b74216167b74e00eaf5f1b9dcfc (patch) | |
tree | 013396991e3bc34d6d486291e11835c6556fe176 | |
parent | 0920fe0f15e563e4beaa0e0c5c814a87163631ca (diff) | |
download | anastasis-93913bdcb42f6b74216167b74e00eaf5f1b9dcfc.tar.gz anastasis-93913bdcb42f6b74216167b74e00eaf5f1b9dcfc.tar.bz2 anastasis-93913bdcb42f6b74216167b74e00eaf5f1b9dcfc.zip |
require dots in AHV (for #7086)
-rw-r--r-- | contrib/redux.ch.json | 2 | ||||
-rw-r--r-- | 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 @@ -25,19 +25,6 @@ }, { "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", "label": "Social security number", "label_i18n":{ @@ -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" } ] } |