Add check_date, payment, allow move and delete

This commit is contained in:
Robin van der Linde 2023-08-09 18:26:06 +02:00
parent c2628cb5e7
commit c1a25af54d
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
2 changed files with 49 additions and 1 deletions

View file

@ -2174,6 +2174,33 @@
}
}
]
},
{
"id": "check_date",
"question": {
"en": "When was this object last checked?",
"de": "Wann wurde dieses Objekt zuletzt kontrolliert?",
"nl": "Wanneer is dit object voor het laatst gecontroleerd?"
},
"freeform": {
"key": "check_date",
"type": "date"
},
"render": {
"en": "This object was last checked on <b>{check_date}</b>",
"de": "Dieses Objekt wurde zuletzt kontrolliert am <b>{check_date}</b>",
"nl": "Dit object is voor het laatst gecontroleerd op <b>{check_date}</b>"
},
"mappings": [
{
"if": "check_date:={_now:date}",
"then": {
"en": "This object was last checked today",
"de": "Dieses Objekt wurde heute zuletzt kontrolliert",
"nl": "Dit object is vandaag voor het laatst gecontroleerd"
}
}
]
}
]
}

View file

@ -86,6 +86,21 @@
}
]
},
{
"id": "payment",
"builtin": "payment-options-split",
"override": {
"mappings": [
{},
{},
{},
{},
{
"hideInAnswer": true
}
]
}
},
{
"id": "coin",
"question": {
@ -205,7 +220,8 @@
}
]
},
"level"
"level",
"check_date"
],
"mapRendering": [
{
@ -235,6 +251,11 @@
]
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": true
},
"deletion": true,
"filter": [
"open_now"
]