forked from ScoDoc/ScoDoc
exports bul xml
This commit is contained in:
parent
6d65626ce2
commit
9114c6bad5
@ -175,8 +175,8 @@ def make_xml_formsemestre_bulletinetud(
|
|||||||
doc.append(
|
doc.append(
|
||||||
Element(
|
Element(
|
||||||
"rang_group",
|
"rang_group",
|
||||||
group_type=partition["partition_name"],
|
group_type=partition["partition_name"] or "",
|
||||||
group_name=gr_name[partition["partition_id"]],
|
group_name=gr_name[partition["partition_id"]] or "",
|
||||||
value=str(rang_gr[partition["partition_id"]]),
|
value=str(rang_gr[partition["partition_id"]]),
|
||||||
ninscrits=str(ninscrits_gr[partition["partition_id"]]),
|
ninscrits=str(ninscrits_gr[partition["partition_id"]]),
|
||||||
)
|
)
|
||||||
@ -311,7 +311,7 @@ def make_xml_formsemestre_bulletinetud(
|
|||||||
description=scu.quote_xml_attr(e["description"]),
|
description=scu.quote_xml_attr(e["description"]),
|
||||||
incomplete="1",
|
incomplete="1",
|
||||||
# notes envoyées sur 20, ceci juste pour garder trace:
|
# notes envoyées sur 20, ceci juste pour garder trace:
|
||||||
note_max_origin=e["note_max"],
|
note_max_origin=str(e["note_max"] or ""),
|
||||||
)
|
)
|
||||||
x_mod.append(x_eval)
|
x_mod.append(x_eval)
|
||||||
# UE capitalisee (listee seulement si meilleure que l'UE courante)
|
# UE capitalisee (listee seulement si meilleure que l'UE courante)
|
||||||
@ -364,7 +364,7 @@ def make_xml_formsemestre_bulletinetud(
|
|||||||
decision = dpv["decisions"][0]
|
decision = dpv["decisions"][0]
|
||||||
etat = decision["etat"]
|
etat = decision["etat"]
|
||||||
if decision["decision_sem"]:
|
if decision["decision_sem"]:
|
||||||
code = decision["decision_sem"]["code"]
|
code = decision["decision_sem"]["code"] or ""
|
||||||
else:
|
else:
|
||||||
code = ""
|
code = ""
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user