Merge pull request #5860 from tchak/fix-annuaire-education

Make siren_siret on annuaire education optional
This commit is contained in:
Paul Chavard 2021-01-27 16:47:52 +01:00 committed by GitHub
commit 912e188402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

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

View file

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