From 0161cd2d543a97629e8f6d8a35127f9ada720436 Mon Sep 17 00:00:00 2001
From: AlexLara
Date: Wed, 26 Mar 2025 13:19:33 -0600
Subject: [PATCH 1/2] No veo diferencias
---
horarios_historicos.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/horarios_historicos.php b/horarios_historicos.php
index ea4e512..2d1fbc8 100644
--- a/horarios_historicos.php
+++ b/horarios_historicos.php
@@ -186,7 +186,7 @@
profesores: [],
async buscarHorarios(profesor_clave) {
- // if existe la clave del profesor
+ // if existe la clave del profesor
if (!this.profesores.find(profesor => profesor.profesor_clave === profesor_clave)) {
this.horarios = []
return
From ccf1eb8531208faf46534059813faa0380a19d52 Mon Sep 17 00:00:00 2001
From: AlexLara
Date: Wed, 26 Mar 2025 13:35:03 -0600
Subject: [PATCH 2/2] =?UTF-8?q?Cambio=20Excel=20de=20auditor=C3=ADa?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
export/supervisor_excel.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/export/supervisor_excel.php b/export/supervisor_excel.php
index d7e2036..5dad877 100644
--- a/export/supervisor_excel.php
+++ b/export/supervisor_excel.php
@@ -48,7 +48,10 @@ $data = $db->query(
FROM horario
NATURAL JOIN horario_profesor
NATURAL JOIN profesor
- JOIN fechas ON EXTRACT(DOW FROM fechas.registro_fecha_ideal) = horario_dia
+ JOIN fechas
+ ON EXTRACT(DOW FROM fechas.registro_fecha_ideal) = horario_dia
+ AND fechas.registro_fecha_ideal >= horario_fecha_inicio::date
+ AND (horario_fecha_fin IS NULL OR fechas.registro_fecha_ideal < horario_fecha_fin::date)
NATURAL JOIN salon_view_mat
JOIN facultad ON facultad.facultad_id = COALESCE(horario.facultad_id, 0)