|
|
|
@ -3,7 +3,7 @@ class Form::Lettings::Subsections::PropertyInformation < ::Form::Subsection |
|
|
|
super |
|
|
|
super |
|
|
|
@id = "property_information" |
|
|
|
@id = "property_information" |
|
|
|
@label = "Property information" |
|
|
|
@label = "Property information" |
|
|
|
@depends_on = [{ "non_location_setup_questions_completed?" => true }] |
|
|
|
@depends_on = [{ "non_location_setup_questions_completed?" => true, "supported_housing_and_renewal?" => false }] |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def pages |
|
|
|
def pages |
|
|
|
@ -27,4 +27,8 @@ class Form::Lettings::Subsections::PropertyInformation < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PropertyMajorRepairsValueCheck.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyMajorRepairsValueCheck.new(nil, nil, self), |
|
|
|
].compact |
|
|
|
].compact |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def displayed_in_tasklist?(log) |
|
|
|
|
|
|
|
!log.supported_housing_and_renewal? |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|