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

@@ -760,21 +760,20 @@ if($user->periodo_id!= ""){
$("#dlSalon").val("");
$("#modal_aprobar #rep-prof").text(result["profesor_nombre"]);
$("#modal_aprobar #rep-fac").text(result["facultad"]);
$("#modal_aprobar #rep-carr").parents(".row").show();
$("#modal_aprobar #rep-carr").text(result["carrera"]);
$("#modal_aprobar #rep-gpo").parents(".row").show();
$("#modal_aprobar #rep-gpo").text(result["grupo"]);
$("#modal_aprobar #rep-mat").parents(".row").show();
$("#modal_aprobar #rep-mat").text(result["materia_desc"]);
$("#modal_aprobar #rep-ciclo").parents(".row").show();
$("#modal_aprobar #rep-ciclo").text(result["ciclo"]);
$("#modal_aprobar #rep-bloque").text(result["bloque"]);
$("#modal_aprobar #rep-tipo").text(result["solicitudtipo"]);
$("#modal_aprobar #rep-aula").text(result["aula_desc"])
$("#modal_aprobar #rep-aula").data("aula",result["aula"]);
$("#modal_aprobar #rep-falta").parents(".row").show();
$("#modal_aprobar #rep-falta").text(result["fecha_clase"]);
if(tipo!=4){
$("#modal_aprobar #rep-falta").text(result["fecha_clase"]+" de "+result["hora_clase_ini"]+" a "+result["hora_clase_fin"]);
}else{
$("#modal_aprobar #rep-falta").text(result["dia"]+" de "+result["hora_clase_ini"]+" a "+result["hora_clase_fin"]);
}
$("#modal_aprobar #rep-fecha").text(result["fecha_nueva"]+" de "+result["hora_ini"]+":"+result["min_ini"]+" a "+result["hora_fin"]+":"+result["min_fin"]);
if(result["salon"] =="" || result["salon"] === undefined){
$('#salon').prop("selectedIndex", 0);
@@ -800,7 +799,7 @@ if($user->periodo_id!= ""){
}
if(edo == 1){// 1 ver
$("#modalLabel").text("Detalle de reposición");
$("#modalLabel").text("Detalle de solicitud");
$(".aprobar-block").hide();
/*if(parseInt($("#modal_aprobar #rep-aula").data("aula")) != 1){//tipo aula 1 (salon normal) - ver
@@ -814,7 +813,7 @@ if($user->periodo_id!= ""){
$("#salon-editar").hide();
}else{
$("#modalLabel").text("Aprobar reposición");
$("#modalLabel").text("Aprobar solicitud");
$(".aprobar-block").show();
if(edo == 2 && parseInt($("#modal_aprobar #rep-aula").data("aula")) == 1){//tipo aula 1 (salon normal) - ver