aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-28 11:41:42 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-28 11:41:42 +0100
commit93913bdcb42f6b74216167b74e00eaf5f1b9dcfc (patch)
tree013396991e3bc34d6d486291e11835c6556fe176
parent0920fe0f15e563e4beaa0e0c5c814a87163631ca (diff)
downloadanastasis-93913bdcb42f6b74216167b74e00eaf5f1b9dcfc.tar.gz
anastasis-93913bdcb42f6b74216167b74e00eaf5f1b9dcfc.zip
require dots in AHV (for #7086)
-rw-r--r--contrib/redux.ch.json2
-rw-r--r--contrib/redux.de.json26
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 @@
33 }, 33 },
34 "widget": "anastasis_gtk_ia_ahv", 34 "widget": "anastasis_gtk_ia_ahv",
35 "uuid" : "1da87570-ba16-4f62-8a7e-cbda92f51591", 35 "uuid" : "1da87570-ba16-4f62-8a7e-cbda92f51591",
36 "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$", 36 "validation-regex": "^(756)\\.[0-9]{4}\\.[0-9]{4}\\.[0-9]{2}|(756)[0-9]{10}$",
37 "validation-logic": "CH_AHV_check" 37 "validation-logic": "CH_AHV_check"
38 } 38 }
39 ] 39 ]
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 @@
25 }, 25 },
26 { 26 {
27 "type": "string", 27 "type": "string",
28 "name": "tax_number",
29 "label": "Taxpayer identification number",
30 "label_i18n":{
31 "de_DE": "Steuerliche Identifikationsnummer",
32 "en": "German taxpayer identification number"
33 },
34 "widget": "anastasis_gtk_ia_tax_de",
35 "uuid": "dae48f85-e3ff-47a4-a4a3-ed981ed8c3c6",
36 "validation-regex": "^[0-9]{11}$",
37 "validation-logic": "DE_TIN_check"
38 },
39 {
40 "type": "string",
41 "name": "social_security_number", 28 "name": "social_security_number",
42 "label": "Social security number", 29 "label": "Social security number",
43 "label_i18n":{ 30 "label_i18n":{
@@ -49,6 +36,19 @@
49 "validation-regex": "^[0-9]{8}[[:upper:]][0-9]{3}$", 36 "validation-regex": "^[0-9]{8}[[:upper:]][0-9]{3}$",
50 "validation-logic": "DE_SVN_check", 37 "validation-logic": "DE_SVN_check",
51 "optional" : true 38 "optional" : true
39 },
40 {
41 "type": "string",
42 "name": "tax_number",
43 "label": "Taxpayer identification number",
44 "label_i18n":{
45 "de_DE": "Steuerliche Identifikationsnummer",
46 "en": "German taxpayer identification number"
47 },
48 "widget": "anastasis_gtk_ia_tin_de",
49 "uuid": "dae48f85-e3ff-47a4-a4a3-ed981ed8c3c6",
50 "validation-regex": "^[0-9]{11}$",
51 "validation-logic": "DE_TIN_check"
52 } 52 }
53 ] 53 ]
54} 54}