modify dossier model

This commit is contained in:
Kara Diaby 2022-03-17 11:21:35 +01:00
parent 294cc8a5b4
commit eda5f75ec3

View file

@ -528,7 +528,7 @@ class Dossier < ApplicationRecord
end
def messagerie_available?
!brouillon? && !user_deleted? && !archived
visible_by_administration? && !hidden_by_user? && !user_deleted? && !archived
end
def expirable?