Merge pull request #9969 from demarches-simplifiees/fix-missing-local-in-partial-user-infos
Instructeur: fix bug pour imprimer un dossier rempli par un tiers
This commit is contained in:
commit
f15966bddb
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
%h2 Identité du demandeur
|
%h2 Identité du demandeur
|
||||||
|
|
||||||
= render partial: "shared/dossiers/user_infos", locals: { user_deleted: @dossier.user_deleted?, email: @dossier.user_email_for(:display), for_tiers: @dossier.for_tiers? }
|
= render partial: "shared/dossiers/user_infos", locals: { user_deleted: @dossier.user_deleted?, email: @dossier.user_email_for(:display), for_tiers: @dossier.for_tiers?, beneficiaire_mail: @dossier.for_tiers? ? @dossier.individual.email : "" }
|
||||||
|
|
||||||
- if @dossier.etablissement.present?
|
- if @dossier.etablissement.present?
|
||||||
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: @dossier.etablissement, profile: 'instructeur' }
|
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: @dossier.etablissement, profile: 'instructeur' }
|
||||||
|
|
Loading…
Reference in a new issue