EZQMS-1317: authors signature on review and approval request & block review bypass (#7631)

Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
Victor Ilyushchenko
2025-01-13 15:19:47 +04:00
committed by GitHub
parent 71d72ba20c
commit b949744500
17 changed files with 130 additions and 18 deletions
@@ -87,12 +87,19 @@
return rawName !== undefined ? formatName(rawName) : ''
}
const authorSignDate =
reviewRequest !== undefined
? reviewRequest.createdOn
: approvalRequest !== undefined
? approvalRequest.createdOn
: $controlledDocument.createdOn
signers = [
{
id: $controlledDocument.author,
role: 'author',
name: getNameByEmployeeId($controlledDocument.author),
date: $controlledDocument.createdOn !== undefined ? formatSignatureDate($controlledDocument.createdOn) : ''
date: authorSignDate !== undefined ? formatSignatureDate(authorSignDate) : ''
}
]