Merge pull request #9953 from mfo/US/fix-archive-without-annotations
correctif: ETQ admin, je souhaite retrouver les annotations privées dans les archives
This commit is contained in:
commit
8d658c60d8
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class ProcedureArchiveService
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue