From 6895dbf5eabc8b2c7a1f7c11b6f668171aceeef2 Mon Sep 17 00:00:00 2001 From: Paige-Robbins <149089826+Paige-Robbins@users.noreply.github.com> Date: Mon, 20 Jan 2025 12:12:35 +0000 Subject: [PATCH] Changes to Q5 (ownershipsch) question and hint text (#2904) * Changes to Q5 (ownershipsch) question and hint text * Marked hint text for removal Q5 * Update question option text --------- Co-authored-by: Kat <54268893+kosiakkatrina@users.noreply.github.com> --- app/models/form/sales/questions/ownership_scheme.rb | 4 ++-- config/locales/forms/2025/sales/setup.en.yml | 4 ++-- spec/models/form/sales/questions/ownership_scheme_spec.rb | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/models/form/sales/questions/ownership_scheme.rb b/app/models/form/sales/questions/ownership_scheme.rb index 5eacb8f26..09d96c2fe 100644 --- a/app/models/form/sales/questions/ownership_scheme.rb +++ b/app/models/form/sales/questions/ownership_scheme.rb @@ -9,8 +9,8 @@ class Form::Sales::Questions::OwnershipScheme < ::Form::Question 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/config/locales/forms/2025/sales/setup.en.yml b/config/locales/forms/2025/sales/setup.en.yml index c4cc9a42c..e1642c5bc 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" #Remove this hint text for 2026 + question_text: "Is this a shared ownership or a discounted ownership sale?" staircasing: page_header: "" diff --git a/spec/models/form/sales/questions/ownership_scheme_spec.rb b/spec/models/form/sales/questions/ownership_scheme_spec.rb index 647de9621..656adc0e5 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 @@ RSpec.describe Form::Sales::Questions::OwnershipScheme, type: :model do 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