1
0
forked from ScoDoc/ScoDoc

Fix: désactive etat_abs_date si évaluation sans date de fin

This commit is contained in:
Emmanuel Viennet 2024-01-22 13:38:04 +01:00
parent 505f5e5f1c
commit 2ad77428a5

View File

@ -134,7 +134,8 @@ def moduleimpl_evaluation_menu(evaluation: Evaluation, nbnotes: int = 0) -> str:
if evaluation.date_fin
else "",
},
"enabled": evaluation.date_debut is not None,
"enabled": evaluation.date_debut is not None
and evaluation.date_fin is not None,
},
{
"title": "Vérifier notes vs absents",