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.
24 lines
703 B
24 lines
703 B
class Form::Lettings::Pages::PschargeValueCheck < ::Form::Page |
|
def initialize(id, hsh, subsection) |
|
super |
|
@id = "pscharge_value_check" |
|
@depends_on = [{ "pscharge_over_soft_max?" => true }] |
|
@title_text = { |
|
"translation" => "soft_validations.pscharge.over_soft_max_title", |
|
"arguments" => [{ |
|
"key" => "pscharge", |
|
"label" => true, |
|
"i18n_template" => "pscharge", |
|
}], |
|
} |
|
@informative_text = I18n.t("soft_validations.charges.informative_text") |
|
end |
|
|
|
def questions |
|
@questions ||= [Form::Lettings::Questions::PschargeValueCheck.new(nil, nil, self)] |
|
end |
|
|
|
def interruption_screen_question_ids |
|
%w[period needstype pscharge] |
|
end |
|
end
|
|
|