Export dossiers v2

This commit is contained in:
Paul Chavard 2019-04-03 14:29:30 +02:00
parent 28e9fca02e
commit fb0ef15e3c
14 changed files with 424 additions and 11 deletions

View file

@ -37,6 +37,16 @@ class Avis < ApplicationRecord
Avis.find_by(id: avis_id)&.email == email
end
def spreadsheet_columns
[
['Dossier ID', dossier_id.to_s],
['Question / Introduction', :introduction],
['Réponse', :answer],
['Créé le', :created_at],
['Répondu le', :updated_at]
]
end
private
def notify_gestionnaire