You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
423 B
18 lines
423 B
2 years ago
|
class Form::Sales::Pages::UprnConfirmation < ::Form::Page
|
||
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "uprn_confirmation"
|
||
|
@header = "We found an address that might be this property"
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [
|
||
|
Form::Sales::Questions::UprnConfirmation.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
|
||
|
def routed_to?(log, _current_user = nil)
|
||
|
log.uprn.present? && log.uprn_known == 1
|
||
|
end
|
||
|
end
|