forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -9,16 +9,15 @@
|
|||||||
Non spécifique au BUT.
|
Non spécifique au BUT.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import flask
|
from flask import flash, render_template
|
||||||
from flask import flash, render_template, url_for
|
|
||||||
from flask import g, request
|
from flask import g, request
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
from app import db
|
from app import db
|
||||||
|
|
||||||
from app.models import (
|
from app.models import (
|
||||||
ApcValidationAnnee,
|
ApcValidationAnnee,
|
||||||
ApcValidationRCUE,
|
ApcValidationRCUE,
|
||||||
FormSemestre,
|
|
||||||
Identite,
|
Identite,
|
||||||
UniteEns,
|
UniteEns,
|
||||||
ScolarAutorisationInscription,
|
ScolarAutorisationInscription,
|
||||||
@ -38,7 +37,12 @@ def jury_delete_manual(etud: Identite):
|
|||||||
ue_vals = (
|
ue_vals = (
|
||||||
ScolarFormSemestreValidation.query.filter_by(etudid=etud.id)
|
ScolarFormSemestreValidation.query.filter_by(etudid=etud.id)
|
||||||
.join(UniteEns)
|
.join(UniteEns)
|
||||||
.order_by(ScolarFormSemestreValidation.event_date, UniteEns.numero)
|
.order_by(
|
||||||
|
sa.extract("year", ScolarFormSemestreValidation.event_date),
|
||||||
|
UniteEns.semestre_idx,
|
||||||
|
UniteEns.numero,
|
||||||
|
UniteEns.acronyme,
|
||||||
|
)
|
||||||
)
|
)
|
||||||
autorisations = ScolarAutorisationInscription.query.filter_by(
|
autorisations = ScolarAutorisationInscription.query.filter_by(
|
||||||
etudid=etud.id
|
etudid=etud.id
|
||||||
|
@ -551,6 +551,7 @@ class RowRecap(tb.Row):
|
|||||||
"etud_codes": "Codes",
|
"etud_codes": "Codes",
|
||||||
"identite_detail": "",
|
"identite_detail": "",
|
||||||
"identite_court": "",
|
"identite_court": "",
|
||||||
|
"rang": "",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
# --- Codes (seront cachés, mais exportés en excel)
|
# --- Codes (seront cachés, mais exportés en excel)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.4.88"
|
SCOVERSION = "9.4.89"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user