forked from ScoDoc/ScoDoc
Bul. BUT JSON: decisions jury selon option "Faire figurer les décisions sur les bulletins"
This commit is contained in:
parent
b9694b21b9
commit
9c81715139
@ -324,10 +324,13 @@ class BulletinBUT:
|
|||||||
ects_tot = sum([ue.ects or 0 for ue in res.ues]) if res.ues else 0.0
|
ects_tot = sum([ue.ects or 0 for ue in res.ues]) if res.ues else 0.0
|
||||||
ects_acquis = sum([d.get("ects", 0) for d in decisions_ues.values()])
|
ects_acquis = sum([d.get("ects", 0) for d in decisions_ues.values()])
|
||||||
semestre_infos["ECTS"] = {"acquis": ects_acquis, "total": ects_tot}
|
semestre_infos["ECTS"] = {"acquis": ects_acquis, "total": ects_tot}
|
||||||
|
if sco_preferences.get_preference("bul_show_decision", formsemestre.id):
|
||||||
semestre_infos.update(
|
semestre_infos.update(
|
||||||
sco_bulletins_json.dict_decision_jury(etud.id, formsemestre.id)
|
sco_bulletins_json.dict_decision_jury(etud.id, formsemestre.id)
|
||||||
)
|
)
|
||||||
semestre_infos.update(but_validations.dict_decision_jury(etud, formsemestre))
|
semestre_infos.update(
|
||||||
|
but_validations.dict_decision_jury(etud, formsemestre)
|
||||||
|
)
|
||||||
if etat_inscription == scu.INSCRIT:
|
if etat_inscription == scu.INSCRIT:
|
||||||
# moyenne des moyennes générales du semestre
|
# moyenne des moyennes générales du semestre
|
||||||
semestre_infos["notes"] = {
|
semestre_infos["notes"] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user