Merge pull request #6727 from tchak/fix-approximative_expiration_date-again
Désactivation temporaire de l'expiration des dossiers
This commit is contained in:
commit
951f974478
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue