From 8bbd6013a2f84b178922a2f4635c36034302bb8b Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 25 Mar 2025 14:59:11 -0600 Subject: [PATCH] =?UTF-8?q?Los=20horarios=20menores=20al=20d=C3=ADa=20de?= =?UTF-8?q?=20hoy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action/action_auditoria.php | 1 + 1 file changed, 1 insertion(+) diff --git a/action/action_auditoria.php b/action/action_auditoria.php index f0a8754..9f4999a 100644 --- a/action/action_auditoria.php +++ b/action/action_auditoria.php @@ -115,6 +115,7 @@ try { 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 horario.horario_id IN ($HorariosID) + AND (FECHAS.fecha + horario.horario_hora) < NOW() ORDER BY fechas.fecha, horario_hora, REGISTRO.estado_supervisor_id", $fechas );