From d7e2a6bf8dcb2c2efc3c9b8c8e3b3a2ed5766a87 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:49:00 +0100 Subject: [PATCH] Keep existing details for combined income check, common to other subsections --- .../form/sales/questions/combined_income_value_check.rb | 3 ++- config/locales/forms/2023/sales/property.en.yml | 6 ------ config/locales/forms/2024/sales/property.en.yml | 6 ------ 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/app/models/form/sales/questions/combined_income_value_check.rb b/app/models/form/sales/questions/combined_income_value_check.rb index 01377512f..47cafeaa2 100644 --- a/app/models/form/sales/questions/combined_income_value_check.rb +++ b/app/models/form/sales/questions/combined_income_value_check.rb @@ -2,7 +2,8 @@ class Form::Sales::Questions::CombinedIncomeValueCheck < ::Form::Question def initialize(id, hsh, page, check_answers_card_number:) super(id, hsh, page) @id = "combined_income_value_check" - @copy_key = "sales.property.combined_income_value_check" + @check_answer_label = "Combined income confirmation" + @header = "Are you sure this is correct?" @type = "interruption_screen" @answer_options = { "0" => { "value" => "Yes" }, diff --git a/config/locales/forms/2023/sales/property.en.yml b/config/locales/forms/2023/sales/property.en.yml index aaeb62bfd..6c647ea80 100644 --- a/config/locales/forms/2023/sales/property.en.yml +++ b/config/locales/forms/2023/sales/property.en.yml @@ -50,12 +50,6 @@ en: hint_text: "" question_text: "What is the property’s local authority?" - combined_income_value_check: - page_header: "" - check_answer_label: "Combined income confirmation" - hint_text: "" - question_text: "Are you sure this is correct?" - beds: page_header: "" check_answer_label: "Number of bedrooms" diff --git a/config/locales/forms/2024/sales/property.en.yml b/config/locales/forms/2024/sales/property.en.yml index 922690df6..5d5e787ce 100644 --- a/config/locales/forms/2024/sales/property.en.yml +++ b/config/locales/forms/2024/sales/property.en.yml @@ -73,12 +73,6 @@ en: hint_text: "" question_text: "What is the property’s local authority?" - combined_income_value_check: - page_header: "" - check_answer_label: "Combined income confirmation" - hint_text: "" - question_text: "Are you sure this is correct?" - beds: page_header: "" check_answer_label: "Number of bedrooms"