Revert "Merge pull request #6727 from tchak/fix-approximative_expiration_date-again"

This reverts commit 951f974478, reversing
changes made to c95a67d970.
This commit is contained in:
Paul Chavard 2021-12-07 13:32:27 +01:00
parent 951f974478
commit 436569b08c

View file

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