|
|
@@ -39,8 +39,8 @@ $user = unserialize($_SESSION['user']);
|
|
|
}
|
|
|
|
|
|
|
|
|
- $return["fecha_clase"] = date('d/m/Y', strtotime($rs["fecha_clase"]));
|
|
|
- $return["fecha_nueva"] = date('d/m/Y', strtotime($rs["fecha_nueva"]));
|
|
|
+ $return["fecha_clase"] = $rs["fecha_clase"] == null?'': date('d/m/Y', strtotime($rs["fecha_clase"]));
|
|
|
+ $return["fecha_nueva"] = $rs["fecha_nueva"] == null? '': date('d/m/Y', strtotime($rs["fecha_nueva"]));
|
|
|
$hora_nueva = explode(":",$rs["hora_nueva"]);
|
|
|
$return["hora_ini"] = $hora_nueva[0];
|
|
|
$return["min_ini"] = $hora_nueva[1];
|
|
|
@@ -63,15 +63,13 @@ $user = unserialize($_SESSION['user']);
|
|
|
}
|
|
|
$return["salon_desc"] = join(" / ",$salon_json);
|
|
|
}
|
|
|
-
|
|
|
- //$return["salon_desc"] = $rs["salon"]=="" ? "-Pendiente-": $rs["salon"];
|
|
|
$return["ciclo"] = $rs["ciclo"];
|
|
|
$return["bloque"] = $rs["bloque"];
|
|
|
$return["profesor"] = $rs["profesor_id"];
|
|
|
$return["profesor_nombre"] = $rs["profesor_nombre"];
|
|
|
$return["comentario"] = $rs["descripcion"];
|
|
|
$return["alumnos"] = $rs["alumnos"];
|
|
|
- $return["tipo"] = $rs["es_reposicion"];
|
|
|
+ $return["tipo"] = $rs["solicitudtipo_id"];
|
|
|
$return["aula"] = $rs["tipoaula_id"];
|
|
|
$return["aula_desc"] = $rs["tipoaula_nombre"];
|
|
|
$return["aula_supervisor"] = $rs["tipoaula_supervisor"];
|