This commit is contained in:
Lizandro Guarnizo
2026-04-19 21:28:12 -05:00
parent 7573d82185
commit 81f8cfc77c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -245,7 +245,7 @@
const params = new URLSearchParams(location.search);
const area = params.get('display') || 'recepcion';
const lugarId = params.get('lugar_id') || '';
const BASE_API = '../api/';
const BASE_API = '<?= BASE_URL ?>modules/turnero/api/';
// Etiqueta de área
document.getElementById('lbl-area').textContent =
+1 -1
View File
@@ -288,7 +288,7 @@ unset($p);
let prioNombre = '';
let prioColor = '';
const API_URL = '../api/create_turno.php';
const API_URL = '<?= BASE_URL ?>modules/turnero/api/create_turno.php';
// ── Navegación entre pasos ────────────────────────────────
function mostrar(id) {
+1 -1
View File
@@ -350,7 +350,7 @@ let hayPendientes = false;
let pollingColaId = null;
let pollingConsentId = null;
const API = '../api/';
const API = '<?= BASE_URL ?>modules/turnero/api/';
const BASE_WA = '<?= BASE_URL ?>';
// ── Arranque ──────────────────────────────────────────────────
+1 -1
View File
@@ -361,7 +361,7 @@ let solicitudActiva = null;
let consentimientos = [];
let pollingColaId = null;
const API = '../api/';
const API = '<?= BASE_URL ?>modules/turnero/api/';
const API_PAC = '<?= BASE_URL ?>api/lab/get_pacientes.php';
// ── Arranque ──────────────────────────────────────────────────