@ -219,8 +219,12 @@ class Scheme < ApplicationRecord
end
def available_from
if FormHandler.instance.in_crossover_period?(now: created_at)
FormHandler.instance.collection_start_date(created_at) - 1.year
else
FormHandler.instance.collection_start_date(created_at)
def open_deactivation
scheme_deactivation_periods.deactivations_without_reactivation.first