fetch and show effectif mensuel

- fetch and store effectif mensuel (at the creation of the dossier or
when updating a siret field

- show effectif mensuel only for instructeurs
This commit is contained in:
Christophe Robillard 2020-04-07 19:29:14 +02:00
parent 599d8e33e8
commit db3ef195ad
8 changed files with 72 additions and 3 deletions

View file

@ -27,6 +27,12 @@
%tr
%th.libelle Date de création :
%td= try_format_date(etablissement.entreprise.date_creation)
- if profile == 'instructeur'
%tr
%th.libelle
Effectif mensuel
= try_format_mois_effectif(etablissement)
%td= etablissement.effectif_mensuel
%tr
%th.libelle Effectif de l'organisation :
%td= effectif(etablissement)