From e53b6e4e7724dbced8611e119046edd0edbadcd3 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Mon, 18 Jul 2022 12:30:09 +0200 Subject: [PATCH] feat(export/pdf): list entreprise etat_administratif in "demandeur" section --- app/views/dossiers/show.pdf.prawn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/dossiers/show.pdf.prawn b/app/views/dossiers/show.pdf.prawn index d5326fcf5..e93c91f12 100644 --- a/app/views/dossiers/show.pdf.prawn +++ b/app/views/dossiers/show.pdf.prawn @@ -102,6 +102,10 @@ def add_identite_etablissement(pdf, etablissement) format_in_2_columns(pdf, "Code NAF ", etablissement.naf) format_in_2_columns(pdf, "Date de création ", try_format_date(etablissement.entreprise.date_creation)) + if etablissement.entreprise_etat_administratif.present? + format_in_2_columns(pdf, "État administratif", humanized_entreprise_etat_administratif(etablissement)) + end + if @include_infos_administration if etablissement.entreprise_effectif_mensuel.present? format_in_2_columns(pdf, "Effectif mensuel #{try_format_mois_effectif(etablissement)} (URSSAF) ", number_with_delimiter(etablissement.entreprise_effectif_mensuel.to_s))