forked from MapComplete/MapComplete
		
	Merge pull request #1537 from pietervdvn/fix/penny-press
Fix/penny press
This commit is contained in:
		
						commit
						64648f7bb4
					
				
					 3 changed files with 60 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -55,6 +55,28 @@
 | 
			
		|||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "accepts_debit_cards",
 | 
			
		||||
      "options": [
 | 
			
		||||
        {
 | 
			
		||||
          "osmTags": "payment:debit_cards=yes",
 | 
			
		||||
          "question": {
 | 
			
		||||
            "en": "Accepts debit cards"
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "accepts_credit_cards",
 | 
			
		||||
      "options": [
 | 
			
		||||
        {
 | 
			
		||||
          "osmTags": "payment:credit_cards=yes",
 | 
			
		||||
          "question": {
 | 
			
		||||
            "en": "Accepts credit cards"
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "has_image",
 | 
			
		||||
      "options": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -86,6 +86,7 @@
 | 
			
		|||
            }
 | 
			
		||||
          ]
 | 
			
		||||
        },
 | 
			
		||||
        "payment-options-split",
 | 
			
		||||
        {
 | 
			
		||||
          "id": "coin",
 | 
			
		||||
          "question": {
 | 
			
		||||
| 
						 | 
				
			
			@ -205,7 +206,8 @@
 | 
			
		|||
            }
 | 
			
		||||
          ]
 | 
			
		||||
        },
 | 
			
		||||
        "level"
 | 
			
		||||
        "level",
 | 
			
		||||
        "check_date"
 | 
			
		||||
      ],
 | 
			
		||||
      "mapRendering": [
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			@ -235,8 +237,15 @@
 | 
			
		|||
          ]
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "allowMove": {
 | 
			
		||||
        "enableImproveAccuracy": true,
 | 
			
		||||
        "enableRelocation": true
 | 
			
		||||
      },
 | 
			
		||||
      "deletion": true,
 | 
			
		||||
      "filter": [
 | 
			
		||||
        "open_now"
 | 
			
		||||
        "open_now",
 | 
			
		||||
        "accepts_debit_cards",
 | 
			
		||||
        "accepts_credit_cards"
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue