Mostrar día de cambio permanente

This commit is contained in:
2024-04-08 13:31:40 -06:00
parent 836719bff1
commit 340b23e7b6
3 changed files with 9 additions and 5 deletions

View File

@@ -717,7 +717,6 @@ if($user->periodo_id!= ""){
$("#rep-bloque").parents('.row').hide();
$("#rep-gpo").parents('.row').hide();
break;
gpo
case 4://cambio permanente
$('#rep-falta').parents('.row').show();
$('#rep-fecha').parents('.row').show();
@@ -772,7 +771,7 @@ if($user->periodo_id!= ""){
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["fecha_clase"]+"["+result["dia_nombre"]+"]"+" de "+result["hora_clase_ini"]+" a "+result["hora_clase_fin"]);
$("#modal_aprobar #rep-falta").text(result["fecha_clase"]+" 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){