Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCODOC_R6A06
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Milleville
SCODOC_R6A06
Commits
c459e94e
Commit
c459e94e
authored
2 months ago
by
Emmanuel Viennet
Browse files
Options
Downloads
Patches
Plain Diff
Ajout appréciations dans bulletins BUT json.
parent
a108c280
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/but/bulletin_but.py
+6
-1
6 additions, 1 deletion
app/but/bulletin_but.py
with
6 additions
and
1 deletion
app/but/bulletin_but.py
+
6
−
1
View file @
c459e94e
...
...
@@ -16,7 +16,7 @@ from flask import g, has_request_context, url_for
from
app
import
db
from
app.comp.moy_mod
import
ModuleImplResults
from
app.comp.res_but
import
ResultatsSemestreBUT
from
app.models
import
Evaluation
,
FormSemestre
,
Identite
,
ModuleImpl
from
app.models
import
BulAppreciations
,
Evaluation
,
FormSemestre
,
Identite
,
ModuleImpl
from
app.models.groups
import
GroupDescr
from
app.models.ues
import
UniteEns
from
app.scodoc
import
sco_bulletins
,
sco_utils
as
scu
...
...
@@ -466,6 +466,11 @@ class BulletinBUT:
semestre_infos
.
update
(
sco_bulletins_json
.
dict_decision_jury
(
etud
,
formsemestre
)
)
# Ajoute appréciations
appreciations
=
BulAppreciations
.
get_appreciations_list
(
formsemestre
.
id
,
etud
.
id
)
d
[
"
appreciation
"
]
=
[
appr
.
to_dict
()
for
appr
in
appreciations
]
if
d
[
"
etat_inscription
"
]
==
scu
.
INSCRIT
:
# moyenne des moyennes générales du semestre
semestre_infos
[
"
notes
"
]
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment