|
|
|
@ -44,11 +44,11 @@ class Log < ApplicationRecord |
|
|
|
def managing_organisation_provider_type |
|
|
|
def managing_organisation_provider_type |
|
|
|
managing_organisation&.provider_type |
|
|
|
managing_organisation&.provider_type |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def collection_period_open? |
|
|
|
def collection_period_open? |
|
|
|
form.end_date > Time.zone.today |
|
|
|
form.end_date > Time.zone.today |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
private |
|
|
|
private |
|
|
|
|
|
|
|
|
|
|
|
def update_status! |
|
|
|
def update_status! |
|
|
|
|