Revert "Merge pull request #6724 from tchak/fix-approximative_expiration_date"

This reverts commit c95a67d970, reversing
changes made to 032989a400.
This commit is contained in:
Paul Chavard 2021-12-07 13:32:39 +01:00
parent 436569b08c
commit 5615baa985

View file

@ -560,7 +560,7 @@ class Dossier < ApplicationRecord
approximative_expiration_date_reference,
conservation_extension,
procedure.duree_conservation_dossiers_dans_ds.months
].compact.sum - REMAINING_WEEKS_BEFORE_EXPIRATION.weeks
].sum - REMAINING_WEEKS_BEFORE_EXPIRATION.weeks
end
def close_to_expiration?