Cambio de campos formulario

This commit is contained in:
2024-03-15 14:21:04 -06:00
parent 76679ce670
commit 62402e7d4e
2 changed files with 4 additions and 3 deletions

View File

@@ -678,12 +678,12 @@ if(!is_null($user->periodo_id)){
$("#materiaBlock").hide();
break;
case 4:
$('#fecha_cambio').parents('.row').show();
$('#fecha_cambio').parents('.row').hide();
$('#fecha_falta').parents('.row').hide();
$('#fecha_nueva').parents('.row').show();
$("#hora_nombre").parents('.row').show();
$('#fecha_cambio').attr("required", true);
$('#fecha_cambio').removeAttr("required");
$('#fecha_falta').removeAttr("required");
$('#fecha_nueva').attr("required", true);