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.
25 lines
626 B
25 lines
626 B
2 years ago
|
class Form::Sales::Questions::SavingsValueCheck < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "savings_value_check"
|
||
|
@check_answer_label = "Savings confirmation"
|
||
|
@header = "Are you sure the savings are higher than £100,000?"
|
||
|
@type = "interruption_screen"
|
||
|
@answer_options = {
|
||
|
"0" => { "value" => "Yes" },
|
||
|
"1" => { "value" => "No" },
|
||
|
}
|
||
|
@hidden_in_check_answers = {
|
||
|
"depends_on" => [
|
||
|
{
|
||
|
"savings_value_check" => 0,
|
||
|
},
|
||
|
{
|
||
|
"savings_value_check" => 1,
|
||
|
},
|
||
|
],
|
||
|
}
|
||
|
@check_answers_card_number = 0
|
||
|
end
|
||
|
end
|