8 changed files with 32 additions and 32 deletions
@ -1,12 +0,0 @@ |
|||||||
class Form::Lettings::Pages::Referral < ::Form::Page |
|
||||||
def initialize(id, hsh, subsection) |
|
||||||
super |
|
||||||
@id = "referral" |
|
||||||
@copy_key = "lettings.household_situation.referral.general_needs.la" |
|
||||||
@depends_on = [{ "owning_organisation_provider_type" => "LA", "needstype" => 1, "renewal" => 0 }] |
|
||||||
end |
|
||||||
|
|
||||||
def questions |
|
||||||
@questions ||= [Form::Lettings::Questions::Referral.new(nil, nil, self)] |
|
||||||
end |
|
||||||
end |
|
@ -0,0 +1,12 @@ |
|||||||
|
class Form::Lettings::Pages::ReferralGeneralNeedsPrp < ::Form::Page |
||||||
|
def initialize(id, hsh, subsection) |
||||||
|
super |
||||||
|
@id = "referral_prp" |
||||||
|
@copy_key = "lettings.household_situation.referral.general_needs.prp" |
||||||
|
@depends_on = [{ "owning_organisation_provider_type" => "PRP", "needstype" => 1, "renewal" => 0 }] |
||||||
|
end |
||||||
|
|
||||||
|
def questions |
||||||
|
@questions ||= [Form::Lettings::Questions::ReferralGeneralNeedsPrp.new(nil, nil, self)] |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue