From a3455ea16252353cfd527e22e8b4010cba8a8735 Mon Sep 17 00:00:00 2001 From: Paige-Robbins <149089826+Paige-Robbins@users.noreply.github.com> Date: Thu, 16 Jan 2025 16:41:51 +0000 Subject: [PATCH 1/3] Changes to Q5 (ownershipsch) question and hint text --- config/locales/forms/2025/sales/setup.en.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/forms/2025/sales/setup.en.yml b/config/locales/forms/2025/sales/setup.en.yml index c4cc9a42ca..c1438d6c03 100644 --- a/config/locales/forms/2025/sales/setup.en.yml +++ b/config/locales/forms/2025/sales/setup.en.yml @@ -36,8 +36,8 @@ en: ownershipsch: page_header: "" check_answer_label: "Purchase made under ownership scheme" - hint_text: "" - question_text: "Was this purchase made through an ownership scheme?" + hint_text: "Sales logs are no longer required for outright and other sales FROM 1 APRIL 2025" + question_text: "Is this a shared ownership or a discounted ownership sale?" staircasing: page_header: "" From cbe9e591a6b09eeb2a916f8f590fa94c5716a8c3 Mon Sep 17 00:00:00 2001 From: Paige-Robbins <149089826+Paige-Robbins@users.noreply.github.com> Date: Fri, 17 Jan 2025 08:14:46 +0000 Subject: [PATCH 2/3] Marked hint text for removal Q5 --- config/locales/forms/2025/sales/setup.en.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/forms/2025/sales/setup.en.yml b/config/locales/forms/2025/sales/setup.en.yml index c1438d6c03..e1642c5bc6 100644 --- a/config/locales/forms/2025/sales/setup.en.yml +++ b/config/locales/forms/2025/sales/setup.en.yml @@ -36,7 +36,7 @@ en: ownershipsch: page_header: "" check_answer_label: "Purchase made under ownership scheme" - hint_text: "Sales logs are no longer required for outright and other sales FROM 1 APRIL 2025" + hint_text: "Sales logs are no longer required for outright and other sales FROM 1 APRIL 2025" #Remove this hint text for 2026 question_text: "Is this a shared ownership or a discounted ownership sale?" staircasing: From 4f3c1d36e84603d9e910e70fd12ec9d64da784df Mon Sep 17 00:00:00 2001 From: Kat <54268893+kosiakkatrina@users.noreply.github.com> Date: Fri, 17 Jan 2025 08:35:26 +0000 Subject: [PATCH 3/3] Update question option text --- app/models/form/sales/questions/ownership_scheme.rb | 4 ++-- spec/models/form/sales/questions/ownership_scheme_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/form/sales/questions/ownership_scheme.rb b/app/models/form/sales/questions/ownership_scheme.rb index 5eacb8f269..09d96c2fe3 100644 --- a/app/models/form/sales/questions/ownership_scheme.rb +++ b/app/models/form/sales/questions/ownership_scheme.rb @@ -9,8 +9,8 @@ def initialize(id, hsh, page) def answer_options if form.start_year_2025_or_later? { - "1" => { "value" => "Yes - a shared ownership scheme", "hint" => "When the purchaser buys an initial share of up to 75% of the property value and pays rent to the Private Registered Provider (PRP) on the remaining portion, or a subsequent staircasing transaction" }, - "2" => { "value" => "Yes - a discounted ownership scheme" }, + "1" => { "value" => "Shared Ownership", "hint" => "When the purchaser buys an initial share of up to 75% of the property value and pays rent to the Private Registered Provider (PRP) on the remaining portion, or a subsequent staircasing transaction" }, + "2" => { "value" => "Discounted Ownership" }, }.freeze elsif form.start_year_2024_or_later? { diff --git a/spec/models/form/sales/questions/ownership_scheme_spec.rb b/spec/models/form/sales/questions/ownership_scheme_spec.rb index 647de9621c..656adc0e59 100644 --- a/spec/models/form/sales/questions/ownership_scheme_spec.rb +++ b/spec/models/form/sales/questions/ownership_scheme_spec.rb @@ -62,8 +62,8 @@ it "has the correct answer_options" do expect(question.answer_options).to eq({ - "1" => { "value" => "Yes - a shared ownership scheme", "hint" => "When the purchaser buys an initial share of up to 75% of the property value and pays rent to the Private Registered Provider (PRP) on the remaining portion, or a subsequent staircasing transaction" }, - "2" => { "value" => "Yes - a discounted ownership scheme" }, + "1" => { "value" => "Shared Ownership", "hint" => "When the purchaser buys an initial share of up to 75% of the property value and pays rent to the Private Registered Provider (PRP) on the remaining portion, or a subsequent staircasing transaction" }, + "2" => { "value" => "Discounted Ownership" }, }) end end