15 lines
615 B
15 lines
615 B
class Form::Lettings::Questions::SupchargValueCheck < ::Form::Question |
|
def initialize(id, hsh, page) |
|
super |
|
@id = "supcharg_value_check" |
|
@check_answer_label = "Support charge confirmation" |
|
@header = "Are you sure?" |
|
@type = "interruption_screen" |
|
@check_answers_card_number = 0 |
|
@answer_options = ANSWER_OPTIONS |
|
@hidden_in_check_answers = { "depends_on" => [{ "supcharg_value_check" => 0 }, { "supcharg_value_check" => 1 }] } |
|
@hint_text = I18n.t("soft_validations.charges.hint_text") |
|
end |
|
|
|
ANSWER_OPTIONS = { "0" => { "value" => "Yes" }, "1" => { "value" => "No" } }.freeze |
|
end
|
|
|