Merge pull request #4716 from tchak/add-more-info-to-avis-export

Ajouter les informations de l’instructeur et de l’expert dans l’export des avis
This commit is contained in:
Paul Chavard 2020-01-28 15:18:28 +01:00 committed by GitHub
commit df8b35a9e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -43,7 +43,9 @@ class Avis < ApplicationRecord
['Question / Introduction', :introduction],
['Réponse', :answer],
['Créé le', :created_at],
['Répondu le', :updated_at]
['Répondu le', :updated_at],
['Instructeur', claimant&.email],
['Expert', instructeur&.email]
]
end

View file

@ -295,7 +295,9 @@ describe ProcedureExportService do
"Question / Introduction",
"Réponse",
"Créé le",
"Répondu le"
"Répondu le",
"Instructeur",
"Expert"
])
end