const msg = `Created review app at https://review.submit-social-housing-data.communities.gov.uk/${prNumber}. Note that the review app will be automatically deprovisioned after 30 days and will need the review app pipeline running again.`;
const msg = `Created review app at https://review.submit-social-housing-data.communities.gov.uk/${prNumber}. Note that the review app will be automatically deprovisioned after 30 days and will need the review app pipeline running again. To tear down the review app entirely, remove the \`review-app\` label or merge/close the PR.`;
<li>Some properties may not be available yet e.g. new builds; you might need to enter them manually instead</li>
<li>For UPRN (Unique Property Reference Number), please enter the full value exactly</li>
</ul>"
address_uprn:
title:"What is a UPRN?"
content:"<p>The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.</p>
<p>The UPRN may not be the same as the property reference assigned by your organisation.</p>"
<li>Some properties may not be available yet e.g. new builds; you might need to enter them manually instead</li>
<li>For UPRN (Unique Property Reference Number), please enter the full value exactly</li>
</ul>"
address_uprn:
title:"What is a UPRN?"
content:"<p>The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.</p>
<p>The UPRN may not be the same as the property reference assigned by your organisation.</p>"
<li>Some properties may not be available yet e.g. new builds; you might need to enter them manually instead</li>
<li>For UPRN (Unique Property Reference Number), please enter the full value exactly</li>
</ul>"
address_uprn:
title:"What is a UPRN?"
content:"<p>The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.</p>
<p>The UPRN may not be the same as the property reference assigned by your organisation.</p>"
check_answer_prompt:"Tell us if household receives housingrelated benefits"
hint_text:"This is about when the tenant is in their new let. If they are unsure about the situation for their new let and their financial and working situation hasn’t changed significantly, answer based on what housingrelated benefits they currently receive."
question_text:"Is the household likely to be receiving any of these housingrelated benefits?"
check_answer_prompt:"Tell us if household receives housing-related benefits"
hint_text:"This is about when the tenant is in their new let. If they are unsure about the situation for their new let and their financial and working situation hasn’t changed significantly, answer based on what housing-related benefits they currently receive."
question_text:"Is the household likely to be receiving any of these housing-related benefits?"
benefits:
page_header:""
@ -112,7 +112,7 @@ en:
check_answer_label:"Any outstanding amount for basic rent and charges"
check_answer_prompt:"Tell us if any outstanding amount for basic rent and charges"
hint_text:"Also known as the ‘outstanding amount’."
question_text:"After the household has received any housingrelated benefits, will they still need to pay for rent and charges?"
question_text:"After the household has received any housing-related benefits, will they still need to pay for rent and charges?"
<li>Some properties may not be available yet e.g. new builds; you might need to enter them manually instead</li>
<li>For UPRN (Unique Property Reference Number), please enter the full value exactly</li>
</ul>"
address_uprn:
title:"What is a UPRN?"
content:"<p>The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.</p>
<p>The UPRN may not be the same as the property reference assigned by your organisation.</p>"
check_answer_label:"Buyer 1’s gross annual income known"
check_answer_prompt:"Enter buyer 1’s gross annual income if known"
hint_text:""
hint_text:"Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments."
question_text:"Do you know buyer 1’s annual income?"
hint_text:"Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments."
hint_text:""
question_text:"Buyer 1’s gross annual income"
inc1mort:
@ -28,12 +28,12 @@ en:
income2nk:
check_answer_label:"Buyer 2’s gross annual income known"
check_answer_prompt:"Enter buyer 2’s gross annual income if known"
hint_text:""
hint_text:"Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments."
question_text:"Do you know buyer 2’s annual income?"
hint_text:"Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments."
hint_text:""
question_text:"Buyer 2’s gross annual income"
inc2mort:
@ -46,16 +46,16 @@ en:
housing_benefits:
joint_purchase:
page_header:""
check_answer_label:"Housingrelated benefits buyers received before buying this property"
check_answer_label:"Housing-related benefits buyers received before buying this property"
check_answer_prompt:""
hint_text:""
question_text:"Were the buyers receiving any of these housingrelated benefits immediately before buying this property?"
question_text:"Were the buyers receiving any of these housing-related benefits immediately before buying this property?"
not_joint_purchase:
page_header:""
check_answer_label:"Housingrelated benefits buyer received before buying this property"
check_answer_label:"Housing-related benefits buyer received before buying this property"
check_answer_prompt:""
hint_text:""
question_text:"Was the buyer receiving any of these housingrelated benefits immediately before buying this property?"
question_text:"Was the buyer receiving any of these housing-related benefits immediately before buying this property?"
check_answer_label:"Any buyer has served as regulars in the UK armed forces"
check_answer_prompt:"Tell us if any buyer has ever served as a regular in the UK armed forces"
hint_text:"A regular is somebody who has served in the Royal Navy, the Royal Marines, the Royal Airforce or Army full time and does not include reserve forces"
hint_text:"A regular is somebody who has served in the Royal Navy, the Royal Marines, the Royal Air Force or Army full time and does not include reserve forces"
question_text:"Have any of the buyers ever served as a regular in the UK armed forces?"
<li>For UPRN (Unique Property Reference Number), please enter the full value exactly</li>
</ul>"
address_uprn:
title:"What is a UPRN?"
content:"<p>The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.</p>
<p>The UPRN may not be the same as the property reference assigned by your organisation.</p>"
needs_type:
title:"What does each need type mean?"
content:"General needs housing includes both self-contained and shared housing without support or specific adaptations.<br><br>Supported housing is housing with special design facilities or features targeted at a specific client group requiring support, for example housing designed for older people, sheltered accommodation, extra care housing. It can include direct access hostels, group homes, and purpose-built self-contained housing. We do not require CORE logs for residential care or nursing homes."
check_answer_prompt:"Tell us if household receives housingrelated benefits"
hint_text:"This is about when the tenant is in their new let. If they are unsure about the situation for their new let and their financial and working situation hasn’t changed significantly, answer based on what housingrelated benefits they currently receive."
question_text:"Is the household likely to be receiving any of these housingrelated benefits?"
check_answer_prompt:"Tell us if household receives housing-related benefits"
hint_text:"This is about when the tenant is in their new let. If they are unsure about the situation for their new let and their financial and working situation hasn’t changed significantly, answer based on what housing-related benefits they currently receive."
question_text:"Is the household likely to be receiving any of these housing-related benefits?"
benefits:
page_header:""
@ -112,7 +112,7 @@ en:
check_answer_label:"Any outstanding amount for basic rent and charges"
check_answer_prompt:"Tell us if any outstanding amount for basic rent and charges"
hint_text:"Also known as the ‘outstanding amount’."
question_text:"After the household has received any housingrelated benefits, will they still need to pay for rent and charges?"
question_text:"After the household has received any housing-related benefits, will they still need to pay for rent and charges?"
<li>Some properties may not be available yet e.g. new builds; you might need to enter them manually instead</li>
<li>For UPRN (Unique Property Reference Number), please enter the full value exactly</li>
</ul>"
address_uprn:
title:"What is a UPRN?"
content:"<p>The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.</p>
<p>The UPRN may not be the same as the property reference assigned by your organisation.</p>"
check_answer_label:"Buyer 1’s gross annual income known"
check_answer_prompt:"Enter buyer 1’s gross annual income if known"
hint_text:""
hint_text:"Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments."
question_text:"Do you know buyer 1’s annual income?"
hint_text:"Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments."
hint_text:""
question_text:"Buyer 1’s gross annual income"
inc1mort:
@ -28,12 +28,12 @@ en:
income2nk:
check_answer_label:"Buyer 2’s gross annual income known"
check_answer_prompt:"Enter buyer 2’s gross annual income if known"
hint_text:""
hint_text:"Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments."
question_text:"Do you know buyer 2’s annual income?"
hint_text:"Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments."
hint_text:""
question_text:"Buyer 2’s gross annual income"
inc2mort:
@ -46,16 +46,16 @@ en:
housing_benefits:
joint_purchase:
page_header:""
check_answer_label:"Housingrelated benefits buyers received before buying this property"
check_answer_label:"Housing-related benefits buyers received before buying this property"
check_answer_prompt:""
hint_text:""
question_text:"Were the buyers receiving any of these housingrelated benefits immediately before buying this property?"
question_text:"Were the buyers receiving any of these housing-related benefits immediately before buying this property?"
not_joint_purchase:
page_header:""
check_answer_label:"Housingrelated benefits buyer received before buying this property"
check_answer_label:"Housing-related benefits buyer received before buying this property"
check_answer_prompt:""
hint_text:""
question_text:"Was the buyer receiving any of these housingrelated benefits immediately before buying this property?"
question_text:"Was the buyer receiving any of these housing-related benefits immediately before buying this property?"
check_answer_label:"Any buyer has served as regulars in the UK armed forces"
check_answer_prompt:"Tell us if any buyer has ever served as a regular in the UK armed forces"
hint_text:"A regular is somebody who has served in the Royal Navy, the Royal Marines, the Royal Airforce or Army full time and does not include reserve forces"
hint_text:"A regular is somebody who has served in the Royal Navy, the Royal Marines, the Royal Air Force or Army full time and does not include reserve forces"
question_text:"Have any of the buyers ever served as a regular in the UK armed forces?"
hint_text:"Enter the full purchase price paid for the equity bought in this staircasing transaction (this is equal to the value of the share bought by the purchaser)."
hint_text:"Enter the full purchase price of the property before any discounts are applied. For shared ownership, enter the full purchase price paid for 100% equity (this is equal to the value of the share owned by the PRP plus the value bought by the purchaser in the current and all previous transactions)."
question_text:"What was the full purchase price for this staircasing transaction?"
mortgage_not_used:"The cash deposit is %{deposit}.</br></br>The full purchase price (%{value}) multiplied by the percentage bought is %{expected_shared_ownership_deposit_value}.</br></br>These two amounts should be the same."
mortgage_used_socialhomebuy:"The mortgage amount (%{mortgage}), cash deposit (%{deposit}), and cash discount (%{cashdis}) added together is %{mortgage_deposit_and_discount_total}.</br></br>The full purchase price (%{value}) multiplied by the percentage equity stake purchased (%{equity}) is %{expected_shared_ownership_deposit_value}.</br></br>These two amounts should be the same."
mortgage_not_used_socialhomebuy:"The cash deposit (%{deposit}) and cash discount (%{cashdis}) added together is %{deposit_and_discount_total}.</br></br>The full purchase price (%{value}) multiplied by the percentage bought (%{equity}) is %{expected_shared_ownership_deposit_value}.</br></br>These two amounts should be the same."
staircasing_mortgage:# this key
staircasing_mortgage:
mortgage_used:"The mortgage (%{mortgage}) and cash deposit (%{deposit}) added together is %{mortgage_and_deposit_total}.</br></br>The full purchase price (%{value}) multiplied by the percentage bought is %{stairbought_part_of_value}.</br></br>These two amounts should be the same."
mortgage_not_used:"The cash deposit is %{deposit}.</br></br>The full purchase price (%{value}) multiplied by the percentage bought is %{stairbought_part_of_value}.</br></br>These two amounts should be the same."
mortgage_used_socialhomebuy:"The mortgage amount (%{mortgage}), cash deposit (%{deposit}), and cash discount (%{cashdis}) added together is %{mortgage_deposit_and_discount_total}.</br></br>The full purchase price (%{value}) multiplied by the percentage bought (%{stairbought}) is %{stairbought_part_of_value}.</br></br>These two amounts should be the same."
expect(question.hint_text).toeq("Provide the gross annual income (i.e. salary before tax) plus the annual amount of benefits, Universal Credit or pensions, and income from investments.")