From 18edbe06f0c7752c6ad9ad4673a6b0b9ba43f1c7 Mon Sep 17 00:00:00 2001 From: Aaron Spencer Date: Wed, 21 Jun 2023 11:00:48 +0100 Subject: [PATCH] CDLC-2545: Wip --- app/models/form/sales/questions/mortgageused.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/form/sales/questions/mortgageused.rb b/app/models/form/sales/questions/mortgageused.rb index 7f87b9230..2d0bc2dde 100644 --- a/app/models/form/sales/questions/mortgageused.rb +++ b/app/models/form/sales/questions/mortgageused.rb @@ -23,6 +23,10 @@ class Form::Sales::Questions::Mortgageused < ::Form::Question } end + def answer_options(_log, _user = null) + log.stairowned == 100 + end + def question_number case @ownershipsch when 1