forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -1798,7 +1798,13 @@ sco_publish(
|
|||||||
@permission_required(Permission.ScoView)
|
@permission_required(Permission.ScoView)
|
||||||
def evaluation_check_absences_html(evaluation_id: int):
|
def evaluation_check_absences_html(evaluation_id: int):
|
||||||
"Check absences sur une évaluation"
|
"Check absences sur une évaluation"
|
||||||
evaluation: Evaluation = Evaluation.query.get_or_404(evaluation_id)
|
evaluation: Evaluation = (
|
||||||
|
Evaluation.query.filter_by(id=evaluation_id)
|
||||||
|
.join(ModuleImpl)
|
||||||
|
.join(FormSemestre)
|
||||||
|
.filter_by(dept_id=g.scodoc_dept_id)
|
||||||
|
.first_or_404()
|
||||||
|
)
|
||||||
return sco_evaluation_check_abs.evaluation_check_absences_html(evaluation)
|
return sco_evaluation_check_abs.evaluation_check_absences_html(evaluation)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user