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 = '';