Skip to content

Commit

Permalink
Add psyment options
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinLinde committed Jun 21, 2023
1 parent 6e0553d commit ff501fc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
11 changes: 11 additions & 0 deletions assets/layers/shower/shower.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,17 @@
}
}
]
},
{
"builtin": "payment-options-split",
"override": {
"condition": {
"or": [
"fee=yes",
"hot_water=fee"
]
}
}
}
],
"filter": [],
Expand Down
6 changes: 5 additions & 1 deletion assets/layers/toilet/toilet.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion assets/layers/toilet_at_amenity/toilet_at_amenity.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
"mapRendering": [
{
"icon": {
"render": "./assets/layers/toilet/toilets.svg",
"render": "circle:white;./assets/layers/toilet/toilets.svg",
"mappings": [
{
"if": {
Expand Down

0 comments on commit ff501fc

Please sign in to comment.