Correción horarios

This commit is contained in:
AlexLara
2025-02-24 15:38:45 -06:00
5 changed files with 24 additions and 17 deletions

View File

@@ -55,7 +55,7 @@ try {
$RelevantColumns = implode(', ', $relevant_columns);
$_SESSION['fecha_inicio'] = $_GET['fecha'] ?? $_GET['fecha_inicio'] ?? date('Y-m-d');
$_SESSION['fecha_fin'] = date('Y-m-d H:i:s', strtotime($baseDate ?? 'now'));
$_SESSION['fecha_fin'] = date('Y-m-d 23:59:59', strtotime($baseDate ?? 'now'));
$fechas = [
'fecha_inicio' => $_SESSION['fecha_inicio'],
@@ -110,7 +110,7 @@ try {
CASE
WHEN registro.registro_retardo THEN 'warning'
ELSE 'primary'
END AS color
END AS color,
FROM horario
JOIN fechas USING (horario_id)
JOIN profesor USING (profesor_id)