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.
18 lines
502 B
18 lines
502 B
4 weeks ago
|
class Form::Sales::Pages::StaircaseSale < ::Form::Page
|
||
|
def initialize(id, hsh, subsection)
|
||
|
super(id, hsh, subsection)
|
||
|
@id = "staircase_sale"
|
||
|
@copy_key = form.start_year_2025_or_later? ? "sales.sale_information.staircasesale" : "sales.sale_information.about_staircasing.staircasesale"
|
||
|
@depends_on = [{
|
||
|
"staircase" => 1,
|
||
|
"stairowned" => 100,
|
||
|
}]
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [
|
||
|
Form::Sales::Questions::StaircaseSale.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
end
|