commit
c7b1549063
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…
Reference in a new issue