Export dossiers v2
This commit is contained in:
parent
28e9fca02e
commit
fb0ef15e3c
14 changed files with 424 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue