fix(dossier.pdf): code path not tested reached a typo

This commit is contained in:
Martin 2024-03-22 09:26:50 +01:00
parent 69d512ac00
commit 0cff8668fa

View file

@ -337,7 +337,7 @@ prawn_document(page_size: "A4") do |pdf|
add_title(pdf, "Identité du demandeur") add_title(pdf, "Identité du demandeur")
if @dossier.france_connected_with_one_identity? if @dossier.france_connected_with_one_identity?
format_in_2_columns(pdf, 'Informations FranceConnect', france_connect_information(@dossier.user.france_connect_informations.first)) format_in_2_columns(pdf, 'Informations FranceConnect', france_connect_informations(@dossier.user.france_connect_informations.first))
end end
format_in_2_columns(pdf, "Email", @dossier.user_email_for(:display)) format_in_2_columns(pdf, "Email", @dossier.user_email_for(:display))