dossier: make messagerie available on archived procedures
An Admin may archive a procedure to make it unavailable to the general public, but before all dossiers are handled. In this case, the messagerie needs to be available. Fix #4089
This commit is contained in:
parent
d3a7bc271e
commit
35c3795f56
2 changed files with 7 additions and 13 deletions
|
@ -225,7 +225,7 @@ class Dossier < ApplicationRecord
|
|||
end
|
||||
|
||||
def messagerie_available?
|
||||
!brouillon? && !archived && !procedure.archivee?
|
||||
!brouillon? && !archived
|
||||
end
|
||||
|
||||
def retention_end_date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue