Cambio de horas de cambio permanente

This commit is contained in:
2024-03-22 11:51:13 -06:00
parent edff4fc2d5
commit 384dfd741c
3 changed files with 16 additions and 10 deletions

View File

@@ -58,6 +58,7 @@ if($horario!= null && $tipo !=3)
$materia = $horario_rs["materia_id"];
$dia = $horario_rs["horario_dia"];
$fecha_orig = $horario_rs["horario_fecha_inicio"];
$hora_orig = $horario_rs["horario_hora"];
}else{
$dia = date('w', strtotime($fecha));
@@ -102,7 +103,7 @@ switch($tipo){
$dia_new = date('w', strtotime($fecha_new));
$fecha_nueva = date('d/m/Y', strtotime($fecha_new));
$fecha_clase = date('d/m/Y', strtotime($fecha_cambio));
$fecha_clase = date('d/m/Y', strtotime($fecha_orig));
break;
}