From d5e6f9a794d63776824db770cd7752fdf7bd95fe Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 16 Jul 2026 21:34:45 -0500 Subject: [PATCH] F-LAB-28: simplificar panel configurar tomas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Texto: "Marque las tomas que va a realizar." - Título de grupo solo aparece cuando hay más de un grupo; con un solo grupo (caso habitual) los checkboxes salen directamente Co-Authored-By: Claude Sonnet 4.6 --- ver_formulario_enviado.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php index adea505..52f2d61 100644 --- a/ver_formulario_enviado.php +++ b/ver_formulario_enviado.php @@ -807,9 +807,7 @@ function _addExamWizardHtml(string $cid): string {
-

- Seleccione las tomas a realizar. Desmárquelas si el médico indicó un protocolo reducido. -

+

Marque las tomas que va a realizar.

@@ -1349,10 +1347,13 @@ function _mpGuardarConfig(config, examType, onOk, onErr) { function _mpShowCfgPanel(examName, groups) { // Construir checkboxes var html = ''; + var multiGrupo = Object.keys(groups).length > 1; for (var gk in groups) { var secs = groups[gk]; var title = secs[0] ? (secs[0].display || gk) : gk; - html += '
' + title + '
'; + html += '
' + + (multiGrupo ? '
' + title + '
' : '') + + '
'; for (var i = 0; i < secs.length; i++) { var s = secs[i]; html += '
'