Skip to content
Snippets Groups Projects
Verified Commit 354ef169 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #14489 TIME 0:10 no external_id updated if main document + attachment was...

FIX #14489 TIME 0:10 no external_id updated if main document + attachment was send to sign in signatoryBook
parent 8eb433da
No related branches found
No related tags found
No related merge requests found
......@@ -135,14 +135,13 @@ trait ExternalSignatoryBookTrait
'where' => ['res_id = ?'],
'data' => [$args['resId']]
]);
} else {
if (!empty($attachmentToFreeze['attachments_coll'])) {
foreach ($attachmentToFreeze['attachments_coll'] as $resId => $externalId) {
AttachmentModel::freezeAttachment([
'resId' => $resId,
'externalId' => $externalId
]);
}
}
if (!empty($attachmentToFreeze['attachments_coll'])) {
foreach ($attachmentToFreeze['attachments_coll'] as $resId => $externalId) {
AttachmentModel::freezeAttachment([
'resId' => $resId,
'externalId' => $externalId
]);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment