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
375 B
18 lines
375 B
2 years ago
|
class Form::Sales::Subsections::OutrightSale < ::Form::Subsection
|
||
|
def initialize(id, hsh, section)
|
||
|
super
|
||
|
@id = "outright_sale"
|
||
|
@label = "Outright sale"
|
||
|
@section = section
|
||
|
@depends_on = [{ "ownershipsch" => 3, "setup_completed?" => true }]
|
||
|
end
|
||
|
|
||
|
def pages
|
||
|
@pages ||= []
|
||
|
end
|
||
|
|
||
|
def displayed_in_tasklist?(log)
|
||
|
log.ownershipsch == 3
|
||
|
end
|
||
|
end
|