Browse Source

Fix top_guidance_partial method

pull/2547/head
Kat 2 years ago
parent
commit
f8d1f90f8b
  1. 4
      app/models/form/sales/questions/mortgage_amount.rb

4
app/models/form/sales/questions/mortgage_amount.rb

@ -25,7 +25,7 @@ class Form::Sales::Questions::MortgageAmount < ::Form::Question
end end
def top_guidance_partial def top_guidance_partial
return "financial_calculations_shared_ownership" if ownershipsch == 1 return "financial_calculations_shared_ownership" if @ownershipsch == 1
return "financial_calculations_discounted_ownership" if ownershipsch == 2 return "financial_calculations_discounted_ownership" if @ownershipsch == 2
end end
end end

Loading…
Cancel
Save