fix(dossier): fix approximative_expiration_date
This commit is contained in:
parent
032989a400
commit
60d4bcc4f7
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ class Dossier < ApplicationRecord
|
|||
approximative_expiration_date_reference,
|
||||
conservation_extension,
|
||||
procedure.duree_conservation_dossiers_dans_ds.months
|
||||
].sum - REMAINING_WEEKS_BEFORE_EXPIRATION.weeks
|
||||
].compact.sum - REMAINING_WEEKS_BEFORE_EXPIRATION.weeks
|
||||
end
|
||||
|
||||
def close_to_expiration?
|
||||
|
|
Loading…
Reference in a new issue