feat: sistema de notas clínicas para enfermero (ficha + notas libres) y fix lab_reportes métricas

This commit is contained in:
Lizandro Guarnizo
2026-03-25 13:14:25 -05:00
parent 4ba890a0d5
commit 5f695b5604
8 changed files with 1180 additions and 1 deletions
+1 -1
View File
@@ -433,7 +433,7 @@ async function cargarMetricas(desde, hasta) {
const r = await fetch(`api/lab/get_metricas.php?desde=${desde}&hasta=${hasta}`);
const d = await r.json();
if (!d.success) return;
const m = d.data;
const m = d; // jsonOk() hace array_merge → datos en nivel raíz
// ── KPIs ──
const kpi = m.kpi || {};