Bul. HTML: desactive affichage min/max/moy du groupe (non calculé actuellement)

This commit is contained in:
Emmanuel Viennet 2022-11-01 16:05:05 +01:00
parent b9461fbe74
commit 6b0a65b090

View File

@ -219,8 +219,8 @@ class releveBUT extends HTMLElement {
<div>Moy. promo. :</div><div>${data.semestre.notes.moy}</div>
<div>Min. promo. :</div><div>${data.semestre.notes.min}</div>
</div>
${(()=>{
if(Object.keys(data.semestre.rang.groupes).length == 0){
${(() => {
if (Object.keys(data.semestre.rang.groupes).length == 0) {
return "";
}
let output = "";
@ -228,10 +228,10 @@ class releveBUT extends HTMLElement {
output += `<div>
<div class=enteteSemestre>${data.semestre.groupes[0]?.group_name}</div><div></div>
<div class=rang>Rang :</div><div class=rang>${dataGroupe.value} / ${dataGroupe.total}</div>
<div>Max. promo. :</div><div>${dataGroupe.max || "-"}</div>
<div>Moy. promo. :</div><div>${dataGroupe.moy || "-"}</div>
<div>Min. promo. :</div><div>${dataGroupe.min || "-"}</div>
</div>`;
// <div>Max. promo. :</div><div>${dataGroupe.max || "-"}</div>
// <div>Moy. promo. :</div><div>${dataGroupe.moy || "-"}</div>
// <div>Min. promo. :</div><div>${dataGroupe.min || "-"}</div>
return output;
})()}
<div class=absencesRecap>