Revert "Revert "Claimant type to avis table""

This reverts commit f4fd220d43.
This commit is contained in:
kara Diaby 2021-03-09 15:39:51 +01:00
parent 873cea8c86
commit 6383e6b9e7
5 changed files with 49 additions and 2 deletions

View file

@ -27,6 +27,7 @@ module CreateAvisConcern
introduction: create_avis_params[:introduction],
introduction_file: create_avis_params[:introduction_file],
claimant: current_instructeur,
claimant_type: current_instructeur.dossiers.present? ? 'Instructeur' : 'Expert',
dossier: dossier,
confidentiel: confidentiel,
experts_procedure: experts_procedure

View file

@ -4,6 +4,7 @@
#
# id :integer not null, primary key
# answer :text
# claimant_type :string
# confidentiel :boolean default(FALSE), not null
# email :string
# introduction :text