Correcciones
This commit is contained in:
@@ -102,7 +102,11 @@ try {
|
||||
CASE
|
||||
WHEN registro.registro_retardo THEN 'warning'
|
||||
ELSE 'primary'
|
||||
END AS color
|
||||
END AS color,
|
||||
case
|
||||
when horario_fecha_fin is null then true
|
||||
else false
|
||||
end as horario_activo
|
||||
FROM horario
|
||||
JOIN horario_profesor USING (horario_id)
|
||||
JOIN fechas ON EXTRACT(DOW FROM fechas.fecha) = horario.horario_dia
|
||||
@@ -116,7 +120,7 @@ try {
|
||||
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) < COALESCE(horario.horario_fecha_fin, NOW())
|
||||
ORDER BY fechas.fecha, horario_hora, REGISTRO.estado_supervisor_id",
|
||||
ORDER BY fechas.fecha, horario_hora, horario_fin, REGISTRO.estado_supervisor_id",
|
||||
$fechas
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user