Browse Source

feat: show in cya

pull/1225/head
natdeanlewissoftwire 2 years ago
parent
commit
c644c2307d
  1. 11
      app/models/form/sales/questions/about_price_shared_ownership_value_check.rb

11
app/models/form/sales/questions/about_price_shared_ownership_value_check.rb

@ -9,7 +9,16 @@ class Form::Sales::Questions::AboutPriceSharedOwnershipValueCheck < ::Form::Ques
"0" => { "value" => "Yes" },
"1" => { "value" => "No" },
}
@hidden_in_check_answers = true
@hidden_in_check_answers = {
"depends_on" => [
{
"value_value_check" => 0,
},
{
"value_value_check" => 1,
},
],
}
end
def value_is_high?(value)

Loading…
Cancel
Save