From d62eb7296e8050e55140bb510c0a00e2a97926ee Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Fri, 1 Sep 2023 23:21:21 +0200 Subject: [PATCH] Add CHF notes --- .../questions/denominations/chf/1000chf.svg | 39 +++++++++++++ .../denominations/chf/1000chf.svg.license | 2 + .../questions/denominations/chf/100chf.svg | 39 +++++++++++++ .../denominations/chf/100chf.svg.license | 2 + .../questions/denominations/chf/10chf.svg | 39 +++++++++++++ .../denominations/chf/10chf.svg.license | 2 + .../questions/denominations/chf/200chf.svg | 39 +++++++++++++ .../denominations/chf/200chf.svg.license | 2 + .../questions/denominations/chf/20chf.svg | 39 +++++++++++++ .../denominations/chf/20chf.svg.license | 2 + .../questions/denominations/chf/50chf.svg | 39 +++++++++++++ .../denominations/chf/50chf.svg.license | 2 + .../denominations/chf/license_info.json | 48 ++++++++++++++++ assets/layers/questions/questions.json | 57 ++++++++++++++++++- 14 files changed, 350 insertions(+), 1 deletion(-) create mode 100644 assets/layers/questions/denominations/chf/1000chf.svg create mode 100644 assets/layers/questions/denominations/chf/1000chf.svg.license create mode 100644 assets/layers/questions/denominations/chf/100chf.svg create mode 100644 assets/layers/questions/denominations/chf/100chf.svg.license create mode 100644 assets/layers/questions/denominations/chf/10chf.svg create mode 100644 assets/layers/questions/denominations/chf/10chf.svg.license create mode 100644 assets/layers/questions/denominations/chf/200chf.svg create mode 100644 assets/layers/questions/denominations/chf/200chf.svg.license create mode 100644 assets/layers/questions/denominations/chf/20chf.svg create mode 100644 assets/layers/questions/denominations/chf/20chf.svg.license create mode 100644 assets/layers/questions/denominations/chf/50chf.svg create mode 100644 assets/layers/questions/denominations/chf/50chf.svg.license diff --git a/assets/layers/questions/denominations/chf/1000chf.svg b/assets/layers/questions/denominations/chf/1000chf.svg new file mode 100644 index 000000000..620e2802a --- /dev/null +++ b/assets/layers/questions/denominations/chf/1000chf.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/questions/denominations/chf/1000chf.svg.license b/assets/layers/questions/denominations/chf/1000chf.svg.license new file mode 100644 index 000000000..75299f884 --- /dev/null +++ b/assets/layers/questions/denominations/chf/1000chf.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Robin van der Linde +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/questions/denominations/chf/100chf.svg b/assets/layers/questions/denominations/chf/100chf.svg new file mode 100644 index 000000000..04148d015 --- /dev/null +++ b/assets/layers/questions/denominations/chf/100chf.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/questions/denominations/chf/100chf.svg.license b/assets/layers/questions/denominations/chf/100chf.svg.license new file mode 100644 index 000000000..75299f884 --- /dev/null +++ b/assets/layers/questions/denominations/chf/100chf.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Robin van der Linde +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/questions/denominations/chf/10chf.svg b/assets/layers/questions/denominations/chf/10chf.svg new file mode 100644 index 000000000..fe020f3eb --- /dev/null +++ b/assets/layers/questions/denominations/chf/10chf.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/questions/denominations/chf/10chf.svg.license b/assets/layers/questions/denominations/chf/10chf.svg.license new file mode 100644 index 000000000..75299f884 --- /dev/null +++ b/assets/layers/questions/denominations/chf/10chf.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Robin van der Linde +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/questions/denominations/chf/200chf.svg b/assets/layers/questions/denominations/chf/200chf.svg new file mode 100644 index 000000000..2f40ca8b3 --- /dev/null +++ b/assets/layers/questions/denominations/chf/200chf.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/questions/denominations/chf/200chf.svg.license b/assets/layers/questions/denominations/chf/200chf.svg.license new file mode 100644 index 000000000..75299f884 --- /dev/null +++ b/assets/layers/questions/denominations/chf/200chf.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Robin van der Linde +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/questions/denominations/chf/20chf.svg b/assets/layers/questions/denominations/chf/20chf.svg new file mode 100644 index 000000000..9ee919393 --- /dev/null +++ b/assets/layers/questions/denominations/chf/20chf.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/questions/denominations/chf/20chf.svg.license b/assets/layers/questions/denominations/chf/20chf.svg.license new file mode 100644 index 000000000..75299f884 --- /dev/null +++ b/assets/layers/questions/denominations/chf/20chf.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Robin van der Linde +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/questions/denominations/chf/50chf.svg b/assets/layers/questions/denominations/chf/50chf.svg new file mode 100644 index 000000000..24d62bbeb --- /dev/null +++ b/assets/layers/questions/denominations/chf/50chf.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/questions/denominations/chf/50chf.svg.license b/assets/layers/questions/denominations/chf/50chf.svg.license new file mode 100644 index 000000000..75299f884 --- /dev/null +++ b/assets/layers/questions/denominations/chf/50chf.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Robin van der Linde +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/questions/denominations/chf/license_info.json b/assets/layers/questions/denominations/chf/license_info.json index ecb3669ac..c3119f7fb 100644 --- a/assets/layers/questions/denominations/chf/license_info.json +++ b/assets/layers/questions/denominations/chf/license_info.json @@ -1,4 +1,28 @@ [ + { + "path": "1000chf.svg", + "license": "CC0-1.0", + "authors": [ + "Robin van der Linde" + ], + "sources": [] + }, + { + "path": "100chf.svg", + "license": "CC0-1.0", + "authors": [ + "Robin van der Linde" + ], + "sources": [] + }, + { + "path": "10chf.svg", + "license": "CC0-1.0", + "authors": [ + "Robin van der Linde" + ], + "sources": [] + }, { "path": "10rp-2019-800px.png", "license": "CC0-1.0", @@ -19,6 +43,22 @@ "https://www.swissmint.ch/swissmint/de/home/dokumentation/bildgalerie/umlaufmuenzen-bildgalerie.html" ] }, + { + "path": "200chf.svg", + "license": "CC0-1.0", + "authors": [ + "Robin van der Linde" + ], + "sources": [] + }, + { + "path": "20chf.svg", + "license": "CC0-1.0", + "authors": [ + "Robin van der Linde" + ], + "sources": [] + }, { "path": "20rp-2019-800px.png", "license": "CC0-1.0", @@ -39,6 +79,14 @@ "https://www.swissmint.ch/swissmint/de/home/dokumentation/bildgalerie/umlaufmuenzen-bildgalerie.html" ] }, + { + "path": "50chf.svg", + "license": "CC0-1.0", + "authors": [ + "Robin van der Linde" + ], + "sources": [] + }, { "path": "50rp-2019-800px.png", "license": "CC0-1.0", diff --git a/assets/layers/questions/questions.json b/assets/layers/questions/questions.json index f2faf6607..0ae2cbeb6 100644 --- a/assets/layers/questions/questions.json +++ b/assets/layers/questions/questions.json @@ -1356,7 +1356,8 @@ }, { "or": [ - "_currency~.*EUR.*" + "_currency~.*EUR.*", + "_currency~.*CHF.*" ] } ] @@ -1477,6 +1478,60 @@ "fr": "Les billets de 500 euros sont acceptés" }, "hideInAnswer": "_currency!~.*EUR.*" + }, + { + "if": "payment:notes:denominations=10 CHF", + "icon": "./assets/layers/questions/denominations/chf/10chf.svg", + "then": { + "en": "10 francs notes are accepted", + "nl": "Biljetten van 10 frank worden geaccepteerd" + }, + "hideInAnswer": "_currency!~.*CHF.*" + }, + { + "if": "payment:notes:denominations=20 CHF", + "icon": "./assets/layers/questions/denominations/chf/20chf.svg", + "then": { + "en": "20 francs notes are accepted", + "nl": "Biljetten van 20 frank worden geaccepteerd" + }, + "hideInAnswer": "_currency!~.*CHF.*" + }, + { + "if": "payment:notes:denominations=50 CHF", + "icon": "./assets/layers/questions/denominations/chf/50chf.svg", + "then": { + "en": "50 francs notes are accepted", + "nl": "Biljetten van 50 frank worden geaccepteerd" + }, + "hideInAnswer": "_currency!~.*CHF.*" + }, + { + "if": "payment:notes:denominations=100 CHF", + "icon": "./assets/layers/questions/denominations/chf/100chf.svg", + "then": { + "en": "100 francs notes are accepted", + "nl": "Biljetten van 100 frank worden geaccepteerd" + }, + "hideInAnswer": "_currency!~.*CHF.*" + }, + { + "if": "payment:notes:denominations=200 CHF", + "icon": "./assets/layers/questions/denominations/chf/200chf.svg", + "then": { + "en": "200 francs notes are accepted", + "nl": "Biljetten van 200 frank worden geaccepteerd" + }, + "hideInAnswer": "_currency!~.*CHF.*" + }, + { + "if": "payment:notes:denominations=1000 CHF", + "icon": "./assets/layers/questions/denominations/chf/1000chf.svg", + "then": { + "en": "1000 francs notes are accepted", + "nl": "Biljetten van 1000 frank worden geaccepteerd" + }, + "hideInAnswer": "_currency!~.*CHF.*" } ] },