10 changed files with 60 additions and 9 deletions
@ -0,0 +1,27 @@ |
|||||||
|
class Form::Sales::Pages::Buyer2IncomeMaxValueCheck < ::Form::Page |
||||||
|
def initialize(id, hsh, subsection) |
||||||
|
super |
||||||
|
@depends_on = [ |
||||||
|
{ |
||||||
|
"income2_over_soft_max?" => true, |
||||||
|
}, |
||||||
|
] |
||||||
|
@title_text = { |
||||||
|
"translation" => "soft_validations.income.over_soft_max_for_la", |
||||||
|
"arguments" => [ |
||||||
|
{ |
||||||
|
"key" => "field_formatted_as_currency", |
||||||
|
"arguments_for_key" => "income2", |
||||||
|
"i18n_template" => "income", |
||||||
|
}, |
||||||
|
], |
||||||
|
} |
||||||
|
@informative_text = {} |
||||||
|
end |
||||||
|
|
||||||
|
def questions |
||||||
|
@questions ||= [ |
||||||
|
Form::Sales::Questions::Buyer2IncomeValueCheck.new(nil, nil, self), |
||||||
|
] |
||||||
|
end |
||||||
|
end |
||||||
@ -1,4 +1,4 @@ |
|||||||
class Form::Sales::Pages::Buyer2IncomeValueCheck < ::Form::Page |
class Form::Sales::Pages::Buyer2IncomeMinValueCheck < ::Form::Page |
||||||
def initialize(id, hsh, subsection) |
def initialize(id, hsh, subsection) |
||||||
super |
super |
||||||
@header = "" |
@header = "" |
||||||
Loading…
Reference in new issue