includes stuff

This commit is contained in:
simon lehericey 2022-04-07 15:13:34 +02:00
parent 2c195e3ce2
commit 4c0b157383

View file

@ -114,7 +114,11 @@ class PiecesJustificativesService
procedure = dossiers.first.procedure
dossiers.find_each do |dossier|
dossiers
.includes(:champs, :champs_private, :commentaires, :individual,
:traitement, :etablissement,
user: :france_connect_information, avis: :expert)
.find_each do |dossier|
pdf = ApplicationController
.render(template: 'dossiers/show', formats: [:pdf],
assigns: {