Merge pull request #6728 from betagouv/main

2021-12-07-03
This commit is contained in:
Pierre de La Morinerie 2021-12-07 13:11:30 +01:00 committed by GitHub
commit c7b1549063
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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