[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({
|
const certificateDate = new Paragraph({
|
||||||
frame: {
|
frame: {
|
||||||
position: {
|
position: {
|
||||||
x: cmText(17),
|
x: cmText(18.75),
|
||||||
y: cmText(15.5),
|
y: cmText(15.5),
|
||||||
},
|
},
|
||||||
width: cmText(9),
|
width: cmText(9),
|
||||||
@ -212,12 +212,12 @@ export async function primerosAuxiliosCert(props: CertData<null>): Promise<Docum
|
|||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
new TextRun({
|
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",
|
font: "Times New Roman",
|
||||||
size: 20,
|
size: 20,
|
||||||
}),
|
}),
|
||||||
new TextRun({
|
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",
|
font: "Times New Roman",
|
||||||
size: 20,
|
size: 20,
|
||||||
break: 1,
|
break: 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user