|
|
|
class Form::Lettings::Questions::ReferralPrp < ::Form::Question
|
|
|
|
def initialize(id, hsh, page)
|
|
|
|
super
|
|
|
|
@id = "referral"
|
|
|
|
@check_answer_label = "Source of referral for letting"
|
|
|
|
@header = "What was the source of referral for this letting?"
|
|
|
|
@type = "radio"
|
|
|
|
@check_answers_card_number = 0
|
|
|
|
@hint_text = "You told us that the needs type is general needs. We have removed some options because of this."
|
|
|
|
@answer_options = ANSWER_OPTIONS
|
|
|
|
@question_number = 85
|
|
|
|
end
|
|
|
|
|
|
|
|
ANSWER_OPTIONS = {
|
|
|
|
"1" => {
|
|
|
|
"value" => "Internal transfer",
|
|
|
|
},
|
|
|
|
"2" => {
|
|
|
|
"value" => "Tenant applied directly (no nomination)",
|
|
|
|
},
|
|
|
|
"3" => {
|
|
|
|
"value" => "Nominated by a local housing authority",
|
|
|
|
},
|
|
|
|
"8" => {
|
|
|
|
"value" => "Re-located through official housing mobility scheme",
|
|
|
|
},
|
|
|
|
"10" => {
|
|
|
|
"value" => "Other social landlord",
|
|
|
|
},
|
|
|
|
"9" => {
|
|
|
|
"value" => "Community learning disability team",
|
|
|
|
},
|
|
|
|
"14" => {
|
|
|
|
"value" => "Community mental health team",
|
|
|
|
},
|
|
|
|
"15" => {
|
|
|
|
"value" => "Health service",
|
|
|
|
},
|
|
|
|
"12" => {
|
|
|
|
"value" => "Police, probation or prison",
|
|
|
|
},
|
|
|
|
"7" => {
|
|
|
|
"value" => "Voluntary agency",
|
|
|
|
},
|
|
|
|
"13" => {
|
|
|
|
"value" => "Youth offending team",
|
|
|
|
},
|
|
|
|
"16" => {
|
|
|
|
"value" => "Other",
|
|
|
|
},
|
|
|
|
}.freeze
|
|
|
|
end
|