From 65100544167295ed428dcd2c0bdef63c0e42b0e1 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Mon, 22 Jun 2026 22:53:39 -0500 Subject: [PATCH] =?UTF-8?q?Historial:=20a=C3=B1adir=20notas/observaciones?= =?UTF-8?q?=20al=20detalle=20del=20registro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- modules/turnero/api/get_historial.php | 1 + modules/turnero/views/historial.php | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/turnero/api/get_historial.php b/modules/turnero/api/get_historial.php index b5e6019..cbf3d87 100644 --- a/modules/turnero/api/get_historial.php +++ b/modules/turnero/api/get_historial.php @@ -111,6 +111,7 @@ $sqlTurnos = " rd.nombre AS recepcion_desk_nombre, ur.full_name AS atendido_recepcion_nombre, ul.full_name AS atendido_lugar_nombre, + ts2.observaciones AS notas, ROUND(TIMESTAMPDIFF(SECOND, t.creado_at, COALESCE(t.inicio_recepcion_at, t.fin_recepcion_at)) / 60.0, 1) AS espera_min, diff --git a/modules/turnero/views/historial.php b/modules/turnero/views/historial.php index ae772bd..676b6aa 100644 --- a/modules/turnero/views/historial.php +++ b/modules/turnero/views/historial.php @@ -465,6 +465,7 @@ function renderDetalle(t) { { lbl:'Recepción (desk)', val: esc(t.recepcion_desk_nombre || '—') }, { lbl:'Atendió recepción', val: esc(t.atendido_recepcion_nombre || '—') }, { lbl:'Atendió muestras', val: esc(t.atendido_lugar_nombre || '—') }, + { lbl:'Notas', val: esc(t.notas || '—') }, ]; // Exámenes let examHtml = '';