@ -8,17 +8,23 @@ class Form::Sales::Questions::PurchasePrice < ::Form::Question
@min=0
@min=0
@width=5
@width=5
@prefix="£"
@prefix="£"
@hint_text="For all schemes, including Right to Acquire (RTA), Right to Buy (RTB), Voluntary Right to Buy (VRTB) or Preserved Right to Buy (PRTB) sales, enter the full price of the property without any discount"
@hint_text=hint_text
@ownership_sch=ownershipsch
@ownership_sch=ownershipsch
@question_number=question_number
@question_number=question_number
end
end
defquestion_number
defquestion_number
case@ownership_sch
case@ownership_sch
when2
when2# discounted ownership scheme
100
100
when3
when3# outright sale
110
110
end
end
end
end
defhint_text
returnif@ownership_sch==3# outright sale
"For all schemes, including Right to Acquire (RTA), Right to Buy (RTB), Voluntary Right to Buy (VRTB) or Preserved Right to Buy (PRTB) sales, enter the full price of the property without any discount"
"For all schemes, including Right to Acquire (RTA), Right to Buy (RTB), Voluntary Right to Buy (VRTB) or Preserved Right to Buy (PRTB) sales, enter the full price of the property without any discount",