Corrige la posicion de las lineas separadoras de la tabla de factura en el PDF (cortaban el texto de la fila siguiente)

This commit is contained in:
2026-10-04 16:27:51 +00:00
parent 545a0d17cb
commit 0520fc915e

View File

@@ -7782,7 +7782,7 @@ async function generarPdfComparativaLuz(leadOriginal, opts) {
drawText(label, MARGIN, y, { size: 9, color: PDF_COLOR_GRAY }); drawText(label, MARGIN, y, { size: 9, color: PDF_COLOR_GRAY });
drawText(value, MARGIN, y, { size: 9, bold: true, color: PDF_COLOR_DARK, align: "right", maxWidth: PAGE_W - MARGIN * 2 }); drawText(value, MARGIN, y, { size: 9, bold: true, color: PDF_COLOR_DARK, align: "right", maxWidth: PAGE_W - MARGIN * 2 });
y -= rowH; y -= rowH;
page.drawLine({ start: { x: MARGIN, y: y + 5 }, end: { x: PAGE_W - MARGIN, y: y + 5 }, thickness: 0.5, color: PDF_COLOR_LIGHT_GRAY }); page.drawLine({ start: { x: MARGIN, y: y + 11 }, end: { x: PAGE_W - MARGIN, y: y + 11 }, thickness: 0.5, color: PDF_COLOR_LIGHT_GRAY });
} }
y -= 16; y -= 16;