Los horarios menores al día de hoy

This commit is contained in:
2025-03-25 14:59:11 -06:00
parent 39ded69a91
commit 8bbd6013a2

View File

@@ -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
);