fix(archive.content): include infos administratives in pj generation
This commit is contained in:
parent
3ea718a3f5
commit
0650598706
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class ProcedureArchiveService
|
||||||
dossiers.processed_in_month(archive.month)
|
dossiers.processed_in_month(archive.month)
|
||||||
end
|
end
|
||||||
|
|
||||||
attachments = ActiveStorage::DownloadableFile.create_list_from_dossiers(dossiers, with_bills: true, with_champs_private: true)
|
attachments = ActiveStorage::DownloadableFile.create_list_from_dossiers(dossiers, with_bills: true, include_infos_administration: true, with_champs_private: true)
|
||||||
|
|
||||||
DownloadableFileService.download_and_zip(@procedure, attachments, zip_root_folder(archive)) do |zip_filepath|
|
DownloadableFileService.download_and_zip(@procedure, attachments, zip_root_folder(archive)) do |zip_filepath|
|
||||||
ArchiveUploader.new(procedure: @procedure, filename: archive.filename(@procedure), filepath: zip_filepath)
|
ArchiveUploader.new(procedure: @procedure, filename: archive.filename(@procedure), filepath: zip_filepath)
|
||||||
|
|
Loading…
Reference in a new issue