modify dossier model
This commit is contained in:
parent
294cc8a5b4
commit
eda5f75ec3
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue