render csv bidf bilans

This commit is contained in:
Christophe Robillard 2020-04-30 11:25:22 +02:00
parent b12226c667
commit 22e2c2e133
4 changed files with 21 additions and 0 deletions

View file

@ -31,6 +31,10 @@ module Instructeurs
render 'admin/attestation_templates/show', formats: [:pdf]
end
def bilans_bdf
render csv: dossier.etablissement.entreprise_bilans_bdf_to_csv
end
def show
@demande_seen_at = current_instructeur.follows.find_by(dossier: dossier)&.demande_seen_at