Turnero: toma progresiva por examen, Rubeola solo-profesional, kiosko
- configurar_tomas.php: merge config por examen en lugar de overwrite - ver_formulario_enviado.php: auto-abrir panel de tiempos al cargar; soporte formularios solo_profesional con botón Guardar y completar - get_consentimientos.php: leer campo solo_profesional de lab_formularios - recepcion.php: formularios sin firma paciente muestran badge "Completa en laboratorio" - lugar.php: botón "Completar" para formularios solo_profesional DB: ALTER TABLE lab_formularios ADD solo_profesional; UPDATE Rubeola id=8; UPDATE descripcion Niños kiosko Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
4012ae97be
commit
a3c19bf4e7
@@ -41,7 +41,9 @@ if ($tc['datos_respuestas']) {
|
||||
if (is_array($d)) $dr = $d;
|
||||
}
|
||||
|
||||
$dr['_tomas_config'] = $cfg;
|
||||
// Merge: preserve config from other exams already saved
|
||||
if (!isset($dr['_tomas_config']) || !is_array($dr['_tomas_config'])) $dr['_tomas_config'] = [];
|
||||
foreach ($cfg as $k => $v) $dr['_tomas_config'][$k] = $v;
|
||||
if ($examType !== '') $dr['_c8j2g16'] = $examType;
|
||||
if ($otroHora !== '') $dr['_otro_hora'] = $otroHora;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user