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
def top_guidance_partial
return "financial_calculations_shared_ownership" if ownershipsch == 1
return "financial_calculations_discounted_ownership" if ownershipsch == 2
return "financial_calculations_shared_ownership" if @ownershipsch == 1
return "financial_calculations_discounted_ownership" if @ownershipsch == 2
end
end

Loading…
Cancel
Save