add AR in user view - hide decision on second dossier tab

This commit is contained in:
Lisa Durand 2024-03-26 14:50:49 +01:00
parent 8eda069bfc
commit e486f789f6
9 changed files with 65 additions and 25 deletions

View file

@ -1180,6 +1180,10 @@ class Dossier < ApplicationRecord
end
end
def hide_info_with_accuse_lecture
procedure.accuse_lecture? && termine? && accuse_lecture_agreement_at.blank?
end
private
def champs_by_public_id