From d7d605c6a3d40f56289392d2e493dc7fcb70dbee Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:49:35 +0100 Subject: [PATCH] Keep existing details for monthly charged check, common to other subsections --- .../form/sales/questions/monthly_charges_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/monthly_charges_value_check.rb b/app/models/form/sales/questions/monthly_charges_value_check.rb index 71abc1888..90fcf4545 100644 --- a/app/models/form/sales/questions/monthly_charges_value_check.rb +++ b/app/models/form/sales/questions/monthly_charges_value_check.rb @@ -2,7 +2,8 @@ class Form::Sales::Questions::MonthlyChargesValueCheck < ::Form::Question def initialize(id, hsh, page) super @id = "monthly_charges_value_check" - @copy_key = "sales.property.monthly_charges_value_check" + @check_answer_label = "Monthly charges 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 6c647ea80..444f2e9f5 100644 --- a/config/locales/forms/2023/sales/property.en.yml +++ b/config/locales/forms/2023/sales/property.en.yml @@ -62,12 +62,6 @@ en: hint_text: "" question_text: "What type of unit is the property?" - monthly_charges_value_check: - page_header: "" - check_answer_label: "Monthly charges confirmation" - hint_text: "" - question_text: "Are you sure this is correct?" - percentage_discount_value_check: page_header: "" check_answer_label: "Percentage discount confirmation" diff --git a/config/locales/forms/2024/sales/property.en.yml b/config/locales/forms/2024/sales/property.en.yml index 5d5e787ce..b3020ce2a 100644 --- a/config/locales/forms/2024/sales/property.en.yml +++ b/config/locales/forms/2024/sales/property.en.yml @@ -85,12 +85,6 @@ en: hint_text: "" question_text: "What type of unit is the property?" - monthly_charges_value_check: - page_header: "" - check_answer_label: "Monthly charges confirmation" - hint_text: "" - question_text: "Are you sure this is correct?" - percentage_discount_value_check: page_header: "" check_answer_label: "Percentage discount confirmation"