Supervisor Excel

This commit is contained in:
Your Name
2025-02-21 13:19:43 -06:00
parent 6e445bfbe6
commit 62f80e66e5

View File

@@ -47,7 +47,8 @@ $data = $db->query(
registro_retardo,
usuario_nombre,
registro_fecha_supervisor,
registro.estado_supervisor_id,
estado_supervisor.estado_supervisor_id,
estado_supervisor.nombre,
comentario,
justificacion
FROM horario
@@ -62,6 +63,7 @@ $data = $db->query(
LEFT JOIN REGISTRO USING (profesor_id, registro_fecha_ideal, horario_id)
LEFT JOIN usuario ON usuario.usuario_id = REGISTRO.supervisor_id
JOIN estado_supervisor ON estado_supervisor.estado_supervisor_id = COALESCE(REGISTRO.estado_supervisor_id, 0)
WHERE profesor_clave = COALESCE(:profesor_clave, profesor_clave)
AND horario.facultad_id = COALESCE(:facultad_id, horario.facultad_id)
ORDER BY fechas.registro_fecha_ideal, horario_hora",