includes stuff
This commit is contained in:
parent
2c195e3ce2
commit
4c0b157383
1 changed files with 5 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue