From ff501fc44e47aaeb54a88cd7055fc45d4999f377 Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Wed, 21 Jun 2023 12:00:21 +0200 Subject: [PATCH] Add psyment options --- assets/layers/shower/shower.json | 11 +++++++++++ assets/layers/toilet/toilet.json | 6 +++++- .../layers/toilet_at_amenity/toilet_at_amenity.json | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/assets/layers/shower/shower.json b/assets/layers/shower/shower.json index 0ff035a76..f6192eea3 100644 --- a/assets/layers/shower/shower.json +++ b/assets/layers/shower/shower.json @@ -105,6 +105,17 @@ } } ] + }, + { + "builtin": "payment-options-split", + "override": { + "condition": { + "or": [ + "fee=yes", + "hot_water=fee" + ] + } + } } ], "filter": [], diff --git a/assets/layers/toilet/toilet.json b/assets/layers/toilet/toilet.json index 02ae4005c..413025301 100644 --- a/assets/layers/toilet/toilet.json +++ b/assets/layers/toilet/toilet.json @@ -241,7 +241,11 @@ "condition": "fee=yes", "freeform": { "key": "charge", - "type": "string" + "type": "string", + "placeholder": { + "en": "e.g. 0.50 EUR", + "nl": "bijv. 0,50 EUR" + } }, "id": "toilet-charge" }, diff --git a/assets/layers/toilet_at_amenity/toilet_at_amenity.json b/assets/layers/toilet_at_amenity/toilet_at_amenity.json index f9964e306..b10d13f7a 100644 --- a/assets/layers/toilet_at_amenity/toilet_at_amenity.json +++ b/assets/layers/toilet_at_amenity/toilet_at_amenity.json @@ -344,7 +344,7 @@ "mapRendering": [ { "icon": { - "render": "./assets/layers/toilet/toilets.svg", + "render": "circle:white;./assets/layers/toilet/toilets.svg", "mappings": [ { "if": {