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.
13 lines
420 B
13 lines
420 B
2 years ago
|
class Form::Lettings::Pages::VoidDate < ::Form::Page
|
||
2 years ago
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
2 years ago
|
@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 }]
|
||
2 years ago
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [Form::Lettings::Questions::Voiddate.new(nil, nil, self)]
|
||
|
end
|
||
|
end
|