Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
class Form::Sales::Questions::Buyer2IncomeKnown < ::Form::Question
|
|
|
|
def initialize(id, hsh, page)
|
|
|
|
super
|
|
|
|
@id = "income2nk"
|
|
|
|
@check_answer_label = "Buyer 2’s gross annual income"
|
|
|
|
@header = "Do you know buyer 2’s annual income?"
|
|
|
|
@type = "radio"
|
|
|
|
@answer_options = ANSWER_OPTIONS
|
|
|
|
@guidance_position = GuidancePosition::BOTTOM
|
|
|
|
@guidance_partial = "what_counts_as_income_sales"
|
|
|
|
@conditional_for = {
|
|
|
|
"income2" => [0],
|
|
|
|
}
|
|
|
|
@check_answers_card_number = 2
|
|
|
|
end
|
|
|
|
|
|
|
|
ANSWER_OPTIONS = {
|
|
|
|
"0" => { "value" => "Yes" },
|
|
|
|
"1" => { "value" => "No" },
|
|
|
|
}.freeze
|
|
|
|
end
|