forked from ScoDoc/ScoDoc
Fix #569 front: ADJR
This commit is contained in:
parent
e0f6b022b1
commit
75b87b24de
@ -1057,7 +1057,7 @@ class DecisionsProposeesRCUE(DecisionsProposees):
|
||||
flash(
|
||||
f"""UEs du RCUE "{dec_ue.ue.niveau_competence.competence.titre}" passées en ADJR"""
|
||||
)
|
||||
dec_ue.record("ADJR")
|
||||
dec_ue.record(sco_codes.ADJR)
|
||||
|
||||
# Valide les niveaux inférieurs de la compétence (code ADSUP)
|
||||
# TODO
|
||||
|
@ -26,8 +26,10 @@ function change_menu_code(elt) {
|
||||
let ue_selects = elt.parentElement.parentElement.parentElement.querySelectorAll(
|
||||
"select.ue_rcue_" + elt.dataset.niveau_id);
|
||||
ue_selects.forEach(select => {
|
||||
if (select.value != "ADM") {
|
||||
select.value = "ADJR";
|
||||
change_menu_code(select); // pour changer les styles
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user