From 0650598706356794c03398b6cb90f0fa5af8a693 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 31 Jan 2024 10:20:27 +0100 Subject: [PATCH] fix(archive.content): include infos administratives in pj generation --- app/services/procedure_archive_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/procedure_archive_service.rb b/app/services/procedure_archive_service.rb index db87c0785e4..a2d86a51bc7 100644 --- a/app/services/procedure_archive_service.rb +++ b/app/services/procedure_archive_service.rb @@ -15,7 +15,7 @@ def make_and_upload_archive(archive) dossiers.processed_in_month(archive.month) 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| ArchiveUploader.new(procedure: @procedure, filename: archive.filename(@procedure), filepath: zip_filepath)