Skip to content

Commit

Permalink
Merge pull request #9969 from demarches-simplifiees/fix-missing-local…
Browse files Browse the repository at this point in the history
…-in-partial-user-infos

Instructeur: fix bug pour imprimer un dossier rempli par un tiers
  • Loading branch information
colinux authored Feb 7, 2024
2 parents c37d2e3 + a14d587 commit f15966b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/instructeurs/dossiers/print.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

%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?
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: @dossier.etablissement, profile: 'instructeur' }
Expand Down

0 comments on commit f15966b

Please sign in to comment.