Browse Source
* Refactor sales household pages and questions * Refactor sales income and benefits soft validations * Update subsection test * Fix income copy keys * Update subsection test * Add missing question to translations * Fix typo * Add prevshared for 2024pull/2714/head^2
kosiakkatrina
3 months ago
committed by
GitHub
45 changed files with 359 additions and 87 deletions
@ -0,0 +1,90 @@ |
|||||||
|
en: |
||||||
|
forms: |
||||||
|
2023: |
||||||
|
sales: |
||||||
|
income_benefits_and_savings: |
||||||
|
buyer_1_income: |
||||||
|
page_header: "" |
||||||
|
income1nk: |
||||||
|
check_answer_label: "Buyer 1’s gross annual income known?" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Do you know buyer 1’s annual income?" |
||||||
|
income1: |
||||||
|
check_answer_label: "Buyer 1’s gross 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." |
||||||
|
question_text: "Buyer 1’s gross annual income" |
||||||
|
|
||||||
|
inc1mort: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer 1’s income used for mortgage application" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Was buyer 1’s income used for a mortgage application?" |
||||||
|
|
||||||
|
buyer_2_income: |
||||||
|
page_header: "" |
||||||
|
income2nk: |
||||||
|
check_answer_label: "Buyer 2’s gross annual income known?" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Do you know buyer 2’s annual income?" |
||||||
|
income2: |
||||||
|
check_answer_label: "Buyer 2’s gross 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." |
||||||
|
question_text: "Buyer 2’s gross annual income" |
||||||
|
|
||||||
|
inc2mort: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer 2’s income used for mortgage application" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Was buyer 2’s income used for a mortgage application?" |
||||||
|
|
||||||
|
housing_benefits: |
||||||
|
joint_purchase: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Housing-related benefits buyers received before buying this property" |
||||||
|
hint_text: "" |
||||||
|
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: "Housing-related benefits buyer received before buying this property" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Was the buyer receiving any of these housing-related benefits immediately before buying this property?" |
||||||
|
|
||||||
|
savings: |
||||||
|
joint_purchase: |
||||||
|
page_header: "" |
||||||
|
savingsnk: |
||||||
|
check_answer_label: "Buyers’ total savings known?" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Do you know how much the 'buyers' had in savings before they paid any deposit for the property?" |
||||||
|
savings: |
||||||
|
check_answer_label: "Buyers’ total savings before any deposit paid" |
||||||
|
hint_text: "Include any savings, investments, ISAs, premium bonds, shares, or money held in a bank or building society account." |
||||||
|
question_text: "Enter their total savings to the nearest £10" |
||||||
|
not_joint_purchase: |
||||||
|
page_header: "" |
||||||
|
savingsnk: |
||||||
|
check_answer_label: "Buyer’s total savings known?" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Do you know how much the buyer had in savings before they paid any deposit for the property?" |
||||||
|
savings: |
||||||
|
check_answer_label: "Buyer’s total savings before any deposit paid" |
||||||
|
hint_text: "Include any savings, investments, ISAs, premium bonds, shares, or money held in a bank or building society account." |
||||||
|
question_text: "Enter their total savings to the nearest £10" |
||||||
|
|
||||||
|
prevown: |
||||||
|
joint_purchase: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyers previously owned a property." |
||||||
|
hint_text: "" |
||||||
|
question_text: "Have any of the buyers previously owned a property?" |
||||||
|
not_joint_purchase: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer previously owned a property." |
||||||
|
hint_text: "" |
||||||
|
question_text: "Has the buyer previously owned a property?" |
||||||
|
|
||||||
|
prevshared: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Previous property shared ownership?" |
||||||
|
hint_text: "For any buyer" |
||||||
|
question_text: "Was the previous property under shared ownership?" |
@ -0,0 +1,60 @@ |
|||||||
|
en: |
||||||
|
forms: |
||||||
|
2023: |
||||||
|
sales: |
||||||
|
soft_validations: |
||||||
|
income1_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer 1 income confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure this is correct?" |
||||||
|
min: |
||||||
|
title_text: "You told us income was %{income}." |
||||||
|
informative_text: "This is less than we would expect for someone in this working situation." |
||||||
|
max: |
||||||
|
title_text: "You told us the income of buyer 1 is %{income}. This seems high. Are you sure this is correct?" |
||||||
|
income2_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer 2 income confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure this is correct?" |
||||||
|
min: |
||||||
|
title_text: "You told us income was %{income}." |
||||||
|
informative_text: "This is less than we would expect for someone in this working situation." |
||||||
|
max: |
||||||
|
title_text: "You told us the income of buyer 2 is %{income}. This seems high. Are you sure this is correct?" |
||||||
|
combined_income_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Combined income confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure this is correct?" |
||||||
|
title_text: "You told us the combined income of this household is %{combined_income}. This seems high. Are you sure this is correct?" |
||||||
|
mortgage_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Mortgage confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure that the mortgage is more than 5 times the income used for the mortgage application?" |
||||||
|
title_text: "You told us that the mortgage amount is %{mortgage}." |
||||||
|
informative_text: "This is more than 5 times the income, which is higher than we would expect." |
||||||
|
savings_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Savings confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure the savings are higher than £100,000?" |
||||||
|
joint_purchase: |
||||||
|
title_text: You told us the buyers’ savings were %{savings}." |
||||||
|
informative_text: "This is higher than we would expect." |
||||||
|
not_joint_purchase: |
||||||
|
title_text: "You told us the buyer’s savings were %{savings}." |
||||||
|
informative_text: "This is higher than we would expect." |
||||||
|
deposit_value_check:: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Deposit confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure that the deposit is this much higher than the buyer's savings?" |
||||||
|
joint_purchase: |
||||||
|
title_text: "You told us the buyers’ deposit was %{deposit} and their savings were %{savings}." |
||||||
|
informative_text: "The deposit amount is higher than we would expect for the amount of savings they have." |
||||||
|
not_joint_purchase: |
||||||
|
title_text: "You told us the buyer’s deposit was %{deposit} and their savings were %{savings}." |
||||||
|
informative_text: "The deposit amount is higher than we would expect for the amount of savings they have." |
@ -0,0 +1,90 @@ |
|||||||
|
en: |
||||||
|
forms: |
||||||
|
2024: |
||||||
|
sales: |
||||||
|
income_benefits_and_savings: |
||||||
|
buyer_1_income: |
||||||
|
page_header: "" |
||||||
|
income1nk: |
||||||
|
check_answer_label: "Buyer 1’s gross annual income known?" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Do you know buyer 1’s annual income?" |
||||||
|
income1: |
||||||
|
check_answer_label: "Buyer 1’s gross 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." |
||||||
|
question_text: "Buyer 1’s gross annual income" |
||||||
|
|
||||||
|
inc1mort: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer 1’s income used for mortgage application" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Was buyer 1’s income used for a mortgage application?" |
||||||
|
|
||||||
|
buyer_2_income: |
||||||
|
page_header: "" |
||||||
|
income2nk: |
||||||
|
check_answer_label: "Buyer 2’s gross annual income known?" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Do you know buyer 2’s annual income?" |
||||||
|
income2: |
||||||
|
check_answer_label: "Buyer 2’s gross 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." |
||||||
|
question_text: "Buyer 2’s gross annual income" |
||||||
|
|
||||||
|
inc2mort: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer 2’s income used for mortgage application" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Was buyer 2’s income used for a mortgage application?" |
||||||
|
|
||||||
|
housing_benefits: |
||||||
|
joint_purchase: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Housing-related benefits buyers received before buying this property" |
||||||
|
hint_text: "" |
||||||
|
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: "Housing-related benefits buyer received before buying this property" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Was the buyer receiving any of these housing-related benefits immediately before buying this property?" |
||||||
|
|
||||||
|
savings: |
||||||
|
joint_purchase: |
||||||
|
page_header: "" |
||||||
|
savingsnk: |
||||||
|
check_answer_label: "Buyers’ total savings known?" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Do you know how much the 'buyers' had in savings before they paid any deposit for the property?" |
||||||
|
savings: |
||||||
|
check_answer_label: "Buyers’ total savings before any deposit paid" |
||||||
|
hint_text: "Include any savings, investments, ISAs, premium bonds, shares, or money held in a bank or building society account." |
||||||
|
question_text: "Enter their total savings to the nearest £10" |
||||||
|
not_joint_purchase: |
||||||
|
page_header: "" |
||||||
|
savingsnk: |
||||||
|
check_answer_label: "Buyer’s total savings known?" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Do you know how much the buyer had in savings before they paid any deposit for the property?" |
||||||
|
savings: |
||||||
|
check_answer_label: "Buyer’s total savings before any deposit paid" |
||||||
|
hint_text: "Include any savings, investments, ISAs, premium bonds, shares, or money held in a bank or building society account." |
||||||
|
question_text: "Enter their total savings to the nearest £10" |
||||||
|
|
||||||
|
prevown: |
||||||
|
joint_purchase: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyers previously owned a property." |
||||||
|
hint_text: "" |
||||||
|
question_text: "Have any of the buyers previously owned a property?" |
||||||
|
not_joint_purchase: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer previously owned a property." |
||||||
|
hint_text: "" |
||||||
|
question_text: "Has the buyer previously owned a property?" |
||||||
|
|
||||||
|
prevshared: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Previous property shared ownership?" |
||||||
|
hint_text: "For any buyer" |
||||||
|
question_text: "Was the previous property under shared ownership?" |
@ -0,0 +1,60 @@ |
|||||||
|
en: |
||||||
|
forms: |
||||||
|
2024: |
||||||
|
sales: |
||||||
|
soft_validations: |
||||||
|
income1_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer 1 income confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure this is correct?" |
||||||
|
min: |
||||||
|
title_text: "You told us income was %{income}." |
||||||
|
informative_text: "This is less than we would expect for someone in this working situation." |
||||||
|
max: |
||||||
|
title_text: "You told us the income of buyer 1 is %{income}. This seems high. Are you sure this is correct?" |
||||||
|
income2_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Buyer 2 income confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure this is correct?" |
||||||
|
min: |
||||||
|
title_text: "You told us income was %{income}." |
||||||
|
informative_text: "This is less than we would expect for someone in this working situation." |
||||||
|
max: |
||||||
|
title_text: "You told us the income of buyer 2 is %{income}. This seems high. Are you sure this is correct?" |
||||||
|
combined_income_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Combined income confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure this is correct?" |
||||||
|
title_text: "You told us the combined income of this household is %{combined_income}. This seems high. Are you sure this is correct?" |
||||||
|
mortgage_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Mortgage confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure that the mortgage is more than 5 times the income used for the mortgage application?" |
||||||
|
title_text: "You told us that the mortgage amount is %{mortgage}." |
||||||
|
informative_text: "This is more than 5 times the income, which is higher than we would expect." |
||||||
|
savings_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Savings confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure the savings are higher than £100,000?" |
||||||
|
joint_purchase: |
||||||
|
title_text: You told us the buyers’ savings were %{savings}." |
||||||
|
informative_text: "This is higher than we would expect." |
||||||
|
not_joint_purchase: |
||||||
|
title_text: "You told us the buyer’s savings were %{savings}." |
||||||
|
informative_text: "This is higher than we would expect." |
||||||
|
deposit_value_check: |
||||||
|
page_header: "" |
||||||
|
check_answer_label: "Deposit confirmation" |
||||||
|
hint_text: "" |
||||||
|
question_text: "Are you sure that the deposit is this much higher than the buyer's savings?" |
||||||
|
joint_purchase: |
||||||
|
title_text: "You told us the buyers’ deposit was %{deposit} and their savings were %{savings}." |
||||||
|
informative_text: "The deposit amount is higher than we would expect for the amount of savings they have." |
||||||
|
not_joint_purchase: |
||||||
|
title_text: "You told us the buyer’s deposit was %{deposit} and their savings were %{savings}." |
||||||
|
informative_text: "The deposit amount is higher than we would expect for the amount of savings they have." |
Loading…
Reference in new issue