2 changed files with 0 additions and 65 deletions
@ -1,42 +0,0 @@ |
|||||||
class Form::Sales::Pages::AboutPriceSharedOwnershipValueCheck < ::Form::Page |
|
||||||
def initialize(id, hsh, subsection) |
|
||||||
super |
|
||||||
@depends_on = [ |
|
||||||
{ |
|
||||||
"purchase_price_out_of_soft_range?" => true, |
|
||||||
}, |
|
||||||
] |
|
||||||
@title_text = { |
|
||||||
"translation" => "soft_validations.purchase_price.title_text", |
|
||||||
"arguments" => [ |
|
||||||
{ |
|
||||||
"key" => "value", |
|
||||||
"label" => true, |
|
||||||
"i18n_template" => "value", |
|
||||||
}, |
|
||||||
], |
|
||||||
} |
|
||||||
@informative_text = { |
|
||||||
"translation" => "soft_validations.purchase_price.hint_text", |
|
||||||
"arguments" => [ |
|
||||||
{ |
|
||||||
"key" => "purchase_price_soft_min_or_soft_max", |
|
||||||
"label" => false, |
|
||||||
"i18n_template" => "soft_min_or_soft_max", |
|
||||||
"currency" => true, |
|
||||||
}, |
|
||||||
{ |
|
||||||
"key" => "purchase_price_min_or_max_text", |
|
||||||
"label" => false, |
|
||||||
"i18n_template" => "min_or_max", |
|
||||||
}, |
|
||||||
], |
|
||||||
} |
|
||||||
end |
|
||||||
|
|
||||||
def questions |
|
||||||
@questions ||= [ |
|
||||||
Form::Sales::Questions::AboutPriceSharedOwnershipValueCheck.new(nil, nil, self), |
|
||||||
] |
|
||||||
end |
|
||||||
end |
|
||||||
@ -1,23 +0,0 @@ |
|||||||
class Form::Sales::Questions::AboutPriceSharedOwnershipValueCheck < ::Form::Question |
|
||||||
def initialize(id, hsh, page) |
|
||||||
super |
|
||||||
@id = "value_value_check" |
|
||||||
@check_answer_label = "Purchase price confirmation" |
|
||||||
@header = "Are you sure?" |
|
||||||
@type = "interruption_screen" |
|
||||||
@answer_options = { |
|
||||||
"0" => { "value" => "Yes" }, |
|
||||||
"1" => { "value" => "No" }, |
|
||||||
} |
|
||||||
@hidden_in_check_answers = { |
|
||||||
"depends_on" => [ |
|
||||||
{ |
|
||||||
"value_value_check" => 0, |
|
||||||
}, |
|
||||||
{ |
|
||||||
"value_value_check" => 1, |
|
||||||
}, |
|
||||||
], |
|
||||||
} |
|
||||||
end |
|
||||||
end |
|
||||||
Loading…
Reference in new issue