@ -2,9 +2,10 @@ class Form::Sales::Pages::BuyerLive < ::Form::Page
def initialize(id, hsh, subsection)
super
@id = "buyer_live"
@depends_on = [{
"companybuy" => 2,
}]
end
def depends_on
[{ "companybuy" => 2 }] unless form.start_year_2025_or_later?
def questions
@ -2,11 +2,21 @@ class Form::Sales::Pages::JointPurchase < ::Form::Page
@id = "joint_purchase"
@depends_on = [
{ "ownershipsch" => 1 },
{ "ownershipsch" => 2 },
{ "companybuy" => 2 },
]
if form.start_year_2025_or_later?
[
else