Make siren_siret on annuaire education optional

This commit is contained in:
Paul Chavard 2021-01-27 15:25:58 +01:00
parent c7c2ebd201
commit df475dc306
2 changed files with 4 additions and 4 deletions

View file

@ -170,7 +170,6 @@
"type_contrat_prive", "type_contrat_prive",
"nom_commune", "nom_commune",
"code_commune", "code_commune",
"siren_siret",
"libelle_academie", "libelle_academie",
"code_academie", "code_academie",
"libelle_nature", "libelle_nature",

View file

@ -9,9 +9,10 @@
%tr %tr
%th.libelle Lidentifiant de letablissement : %th.libelle Lidentifiant de letablissement :
%td= champ.data['identifiant_de_l_etablissement'] %td= champ.data['identifiant_de_l_etablissement']
%tr - if champ.data['siren_siret'].present?
%th.libelle SIREN/SIRET : %tr
%td= champ.data['siren_siret'] %th.libelle SIREN/SIRET :
%td= champ.data['siren_siret']
%tr %tr
%th.libelle Commune : %th.libelle Commune :
%td= "#{champ.data['nom_commune']} (#{champ.data['code_commune']})" %td= "#{champ.data['nom_commune']} (#{champ.data['code_commune']})"