@ -2,8 +2,7 @@ class Form::Lettings::Pages::VoidDate < ::Form::Page
def initialize(id, hsh, subsection)
super
@id = "void_date"
@depends_on = [{ "is_renewal?" => false, "vacancy_reason_not_renewal_or_first_let?" => true },
{ "is_renewal?" => false, "has_first_let_vacancy_reason?" => true }]
@depends_on = [{ "is_renewal?" => false }]
end
def questions
@ -338,7 +338,7 @@ class LettingsLog < Log
def vacancy_reason_not_renewal_or_first_let?
[5, 6, 8, 9, 10, 11, 12, 13, 18, 19].include? rsnvac
[5, 6, 8, 9, 10, 11, 12, 13, 18, 19, 20].include? rsnvac
def previous_tenancy_was_temporary?