fix(dossier): fix approximative_expiration_date again

This commit is contained in:
Paul Chavard 2021-12-07 13:02:43 +01:00
parent c95a67d970
commit 48ee830586

View file

@ -564,8 +564,7 @@ class Dossier < ApplicationRecord
end
def close_to_expiration?
return false if en_instruction?
approximative_expiration_date < Time.zone.now
return false
end
def expiration_date