[Docx] Monkey patch Primeros auxilios

master
Araozu 2023-09-15 17:01:26 -05:00
parent f8e2391e39
commit a0f4cf8f3e
1 changed files with 3 additions and 3 deletions

View File

@ -200,7 +200,7 @@ export async function primerosAuxiliosCert(props: CertData<null>): Promise<Docum
const certificateDate = new Paragraph({
frame: {
position: {
x: cmText(17),
x: cmText(18.75),
y: cmText(15.5),
},
width: cmText(9),
@ -212,12 +212,12 @@ export async function primerosAuxiliosCert(props: CertData<null>): Promise<Docum
},
children: [
new TextRun({
text: `Fecha de Emisión:\t${props.certDay} / ${props.certMonth} / ${props.certYear}`,
text: `Fecha de Emisión: ${props.certDay} / ${props.certMonth} / ${props.certYear}`,
font: "Times New Roman",
size: 20,
}),
new TextRun({
text: `Fecha de Expiración:\t${props.certDay} / ${props.certMonth} / ${parseInt(props.certYear, 10) + 1}`,
text: `Fecha de Expiración: ${props.certDay} / ${props.certMonth} / ${parseInt(props.certYear, 10) + 1}`,
font: "Times New Roman",
size: 20,
break: 1,