fix(user/dossiers#show): ne fait pas apparaitre les champs conditionnel non visible dans l'export pdf d'un dossier

This commit is contained in:
Martin 2023-01-23 11:26:30 +01:00 committed by mfo
parent 1926aa283d
commit 4b895b71c4

View file

@ -135,6 +135,7 @@ end
def add_single_champ(pdf, champ)
tdc = champ.type_de_champ
return if champ.conditional? && !champ.visible?
case champ.type
when 'Champs::PieceJustificativeChamp', 'Champs::TitreIdentiteChamp'