|
@@ -55,6 +55,7 @@ if($horario!= null && $tipo !=3)
|
|
|
|
|
|
|
|
$materia = $horario_rs["materia_id"];
|
|
$materia = $horario_rs["materia_id"];
|
|
|
$dia = $horario_rs["horario_dia"];
|
|
$dia = $horario_rs["horario_dia"];
|
|
|
|
|
+ $fecha_orig = $horario_rs["horario_fecha_inicio"];
|
|
|
$hora_orig = $horario_rs["horario_hora"];
|
|
$hora_orig = $horario_rs["horario_hora"];
|
|
|
}else{
|
|
}else{
|
|
|
$dia = date('w', strtotime($fecha));
|
|
$dia = date('w', strtotime($fecha));
|
|
@@ -99,7 +100,7 @@ switch($tipo){
|
|
|
$dia_new = date('w', strtotime($fecha_new));
|
|
$dia_new = date('w', strtotime($fecha_new));
|
|
|
|
|
|
|
|
$fecha_nueva = date('d/m/Y', 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;
|
|
break;
|
|
|
}
|
|
}
|
|
|
|
|
|