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
525 B
18 lines
525 B
2 years ago
|
class Form::Sales::Questions::OwnershipScheme < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "ownershipsch"
|
||
|
@check_answer_label = "Purchase made under ownership scheme"
|
||
|
@header = "Was this purchase made through an ownership scheme?"
|
||
|
@type = "radio"
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
@page = page
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = {
|
||
|
"1" => { "value" => "Shared ownership" },
|
||
|
"2" => { "value" => "Discounted ownership" },
|
||
|
"3" => { "value" => "Outright or other" },
|
||
|
}.freeze
|
||
|
end
|