Browse Source

Merge pull request #316 from communitiesuk/design-audit-5

Correct logic for void/renewal/handover dates
pull/318/head
Paul Robert Lloyd 3 years ago committed by GitHub
parent
commit
468374fc25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 31
      config/forms/2021_2022.json

31
config/forms/2021_2022.json

@ -73,11 +73,11 @@
"hint_text": "A renewal is a letting to the same tenant in the same property.", "hint_text": "A renewal is a letting to the same tenant in the same property.",
"type": "radio", "type": "radio",
"answer_options": { "answer_options": {
"0": {
"value": "No"
},
"1": { "1": {
"value": "Yes" "value": "Yes"
},
"0": {
"value": "No"
} }
} }
} }
@ -883,8 +883,11 @@
}, },
"depends_on": [ "depends_on": [
{ {
"rsnvac": "First let of new-build property", "renewal": "No",
"renewal": "No" "rsnvac": [
"First let of conversion, rehabilitation or acquired property",
"First let of leased property"
]
} }
] ]
}, },
@ -902,10 +905,7 @@
"depends_on": [ "depends_on": [
{ {
"renewal": "No", "renewal": "No",
"rsnvac": [ "rsnvac": "First let of new-build property"
"First let of conversion, rehabilitation or acquired property?",
"First let of leased property"
]
} }
] ]
}, },
@ -919,11 +919,11 @@
"hint_text": "Major repairs are works that could not be reasonably carried out with a tenant living at the property. For example, structural repairs.", "hint_text": "Major repairs are works that could not be reasonably carried out with a tenant living at the property. For example, structural repairs.",
"type": "radio", "type": "radio",
"answer_options": { "answer_options": {
"0": {
"value": "No"
},
"1": { "1": {
"value": "Yes" "value": "Yes"
},
"0": {
"value": "No"
} }
}, },
"conditional_for": { "conditional_for": {
@ -939,8 +939,11 @@
}, },
"depends_on": [ "depends_on": [
{ {
"rsnvac": "First let of new-build property", "renewal": "No",
"renewal": "No" "rsnvac": [
"First let of conversion, rehabilitation or acquired property",
"First let of leased property"
]
} }
] ]
} }

Loading…
Cancel
Save