diff --git a/modules/visa/class/FastParapheurController.php b/modules/visa/class/FastParapheurController.php index 9251259afa95ba4d1152fac5f9f6e30d464d2d81..c80633b8277352d991b09cdb201a434014601bdf 100755 --- a/modules/visa/class/FastParapheurController.php +++ b/modules/visa/class/FastParapheurController.php @@ -165,7 +165,7 @@ class FastParapheurController $attachments = \Attachment\models\AttachmentModel::getOnView([ 'select' => ['res_id', 'res_id_version', 'title', 'attachment_type','path', 'res_id_master', 'format'], 'where' => ['res_id_master = ?', 'attachment_type not in (?)', "status not in ('DEL', 'OBS')", 'in_signature_book = TRUE', "format = 'pdf'"], - 'data' => [$aArgs['resIdMaster'], ['incoming_mail_attachment', 'print_folder']] + 'data' => [$aArgs['resIdMaster'], ['incoming_mail_attachment', 'print_folder', 'signed_response']] ]); $attachmentToFreeze = []; diff --git a/modules/visa/class/IParapheurController.php b/modules/visa/class/IParapheurController.php index 35330276a46dfea308c8c012660af8303adedb2f..d18fc8fe1880065dba1b079a1782882b6f468f5a 100755 --- a/modules/visa/class/IParapheurController.php +++ b/modules/visa/class/IParapheurController.php @@ -87,8 +87,8 @@ class IParapheurController $attachments = \Attachment\models\AttachmentModel::getOnView([ 'select' => ['res_id', 'res_id_version', 'title', 'attachment_type','path'], - 'where' => ['res_id_master = ?', 'attachment_type not in (?)', "status not in ('DEL', 'OBS')", 'in_signature_book = TRUE', "format = 'pdf'"], - 'data' => [$aArgs['resIdMaster'], ['incoming_mail_attachment', 'print_folder']] + 'where' => ['res_id_master = ?', 'attachment_type not in (?)', "status not in ('DEL', 'OBS')", 'in_signature_book = TRUE', "format = 'pdf'"], + 'data' => [$aArgs['resIdMaster'], ['incoming_mail_attachment', 'print_folder', 'signed_response']] ]); for($i = 0; $i < count($attachments); $i++){