store attestation fiscale and display

This commit is contained in:
Christophe Robillard 2020-04-29 18:57:30 +02:00
parent 38c68b16e3
commit 3ddb5a4cb4
6 changed files with 45 additions and 6 deletions

View file

@ -71,6 +71,12 @@
%tr
%th.libelle Attestation sociale
%td= link_to "Consulter l'attestation", url_for(etablissement.entreprise_attestation_sociale)
- if etablissement.entreprise_attestation_fiscale.attached?
%tr
%th.libelle Attestation fiscale
%td= link_to "Consulter l'attestation", url_for(etablissement.entreprise_attestation_fiscale)
- if etablissement.association?
%tr
%th.libelle Numéro RNA :