fix(dossier): fix approximative_expiration_date again
This commit is contained in:
parent
c95a67d970
commit
48ee830586
1 changed files with 1 additions and 2 deletions
|
@ -564,8 +564,7 @@ class Dossier < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def close_to_expiration?
|
def close_to_expiration?
|
||||||
return false if en_instruction?
|
return false
|
||||||
approximative_expiration_date < Time.zone.now
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def expiration_date
|
def expiration_date
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue