2023-11-18 08:55:23 +01:00
|
|
|
##############################################################################
|
|
|
|
# ScoDoc
|
|
|
|
# Copyright (c) 1999 - 2023 Emmanuel Viennet. All rights reserved.
|
|
|
|
# See LICENSE
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
"""Feuille d'export Jury BUT
|
|
|
|
"""
|
|
|
|
import datetime
|
|
|
|
|
2023-11-20 13:49:01 +01:00
|
|
|
from flask import render_template, url_for
|
2023-11-18 08:55:23 +01:00
|
|
|
|
2023-11-20 13:49:01 +01:00
|
|
|
import app
|
2023-11-18 08:55:23 +01:00
|
|
|
from app.models import FormSemestre, FormSemestreInscription
|
|
|
|
from app.views import ScoData
|
|
|
|
|
|
|
|
|
|
|
|
def feuille_preparation_jury_but(formsemestre_id: int):
|
|
|
|
formsemestre: FormSemestre = FormSemestre.query.filter_by(
|
|
|
|
id=formsemestre_id
|
|
|
|
).first_or_404()
|
2023-11-20 13:49:01 +01:00
|
|
|
breakpoint()
|
2023-11-18 08:55:23 +01:00
|
|
|
return render_template(
|
|
|
|
"but/jury_export.j2",
|
|
|
|
datetime=datetime,
|
|
|
|
formsemestre=formsemestre,
|
|
|
|
sco=ScoData(formsemestre=formsemestre),
|
|
|
|
)
|