From 309c1c93c6d2c9647879df0ee3930bc767440cda Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Wed, 29 Jul 2026 21:24:32 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20nombre=20y=20c=C3=A9dula=20del=20profesi?= =?UTF-8?q?onal=20en=20cada=20toma=20de=20muestras=20prolongada?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- ver_formulario_enviado.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php index 551dedf..87fb739 100644 --- a/ver_formulario_enviado.php +++ b/ver_formulario_enviado.php @@ -2328,7 +2328,17 @@ function _guardarFirmaMP(widget, svg, msgEl, entry, campoId) { var box = document.createElement('div'); box.className = 'firma-box'; box.style.borderColor = '#198754'; box.appendChild(img); - widget.replaceWith(box); + var wrap = document.createElement('div'); + wrap.appendChild(box); + if (window._profNombre || window._profDocumento) { + var ident = document.createElement('div'); + ident.className = 'firma-pro-ident'; + ident.style.cssText = 'font-size:13px;line-height:1.5;margin-top:4px'; + if (window._profNombre) { var s = document.createElement('strong'); s.textContent = window._profNombre; ident.appendChild(s); ident.appendChild(document.createElement('br')); } + if (window._profDocumento) { var sp = document.createElement('span'); sp.style.cssText = 'color:#6c757d;font-size:12px'; sp.textContent = 'C.C. ' + window._profDocumento; ident.appendChild(sp); } + wrap.appendChild(ident); + } + widget.replaceWith(wrap); // Actualizar tarjetas _mpRefreshCards(campoId, data.completado ? null : entry.next_firma_id);