feat: implementacion de flujo n8n en el formulario principal

This commit is contained in:
2026-07-07 16:55:11 -04:00
parent f2e914dbfa
commit dfa0d63061
3 changed files with 79 additions and 13 deletions
+2 -2
View File
@@ -221,7 +221,7 @@ export async function downloadIDCards(config) {
`;
if (photoSrc) {
photoTagHtml = `<img src="${photoSrc}" crossorigin="anonymous" style="width:100%; height:100%; object-fit:cover; display:block;" />`;
photoTagHtml = `<div style="width:100%; height:100%; background-image:url('${photoSrc}'); background-size:cover; background-position:center; background-repeat:no-repeat;"></div>`;
}
vFront.innerHTML = `
@@ -356,7 +356,7 @@ export async function downloadBulkIDCards({ employees, baseUrl, onStateChange, o
`;
if (validatedPhotoUrl) {
photoTagHtml = `<img src="${validatedPhotoUrl}" crossorigin="anonymous" style="width:100%; height:100%; object-fit:cover; display:block;" />`;
photoTagHtml = `<div style="width:100%; height:100%; background-image:url('${validatedPhotoUrl}'); background-size:cover; background-position:center; background-repeat:no-repeat;"></div>`;
}
vFront.innerHTML = `