Submit social housing lettings and sales data (CORE)
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.
|
|
|
class Form::Sales::Questions::Postcode < ::Form::Question
|
|
|
|
def initialize(id, hsh, page)
|
|
|
|
super
|
|
|
|
@id = "postcode_full"
|
|
|
|
@check_answer_label = "Property’s postcode"
|
|
|
|
@header = "Postcode"
|
|
|
|
@type = "text"
|
|
|
|
@width = 5
|
|
|
|
@inferred_check_answers_value = [{
|
|
|
|
"condition" => {
|
|
|
|
"pcodenk" => 1,
|
|
|
|
},
|
|
|
|
"value" => "Not known",
|
|
|
|
}]
|
|
|
|
@inferred_answers = {
|
|
|
|
"la" => {
|
|
|
|
"is_la_inferred" => true,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|