[Docx] Monkey patch Primeros auxilios
This commit is contained in:
parent
f8e2391e39
commit
a0f4cf8f3e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user