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:
commit
df8b35a9e0
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -295,7 +295,9 @@ describe ProcedureExportService do
|
|||
"Question / Introduction",
|
||||
"Réponse",
|
||||
"Créé le",
|
||||
"Répondu le"
|
||||
"Répondu le",
|
||||
"Instructeur",
|
||||
"Expert"
|
||||
])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue