[FE][Certs] Add the cert ID to the generated filename
This commit is contained in:
parent
0d58e930ed
commit
21c1184e2a
@ -309,7 +309,7 @@ function generateCert(person: Person, register: Register) {
|
|||||||
|
|
||||||
const certCode = register.register_is_preview ? "0000" : register.register_code.toString().padStart(4, "0");
|
const certCode = register.register_is_preview ? "0000" : register.register_code.toString().padStart(4, "0");
|
||||||
|
|
||||||
generator(`${courseN} - ${personFullName}.docx`, {
|
generator(`${courseN} - ${personFullName} [${register.register_id.toString(16).toUpperCase()}].docx`, {
|
||||||
matpel: null,
|
matpel: null,
|
||||||
personFullName,
|
personFullName,
|
||||||
personDni: person.person_dni.toString(),
|
personDni: person.person_dni.toString(),
|
||||||
|
Loading…
Reference in New Issue
Block a user