mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Fix hour count and submit button
This commit is contained in:
@ -125,7 +125,7 @@ def uv_endpoint(request):
|
||||
res["hours_{}".format(activity)] = 0
|
||||
for activity in uv["activites"]:
|
||||
if activity["code"] in activities:
|
||||
res["hours_{}".format(activity["code"])] += activity["nbh"]
|
||||
res["hours_{}".format(activity["code"])] += activity["nbh"] // 60
|
||||
|
||||
res["manager"] = uv["automne"]["responsable"]
|
||||
|
||||
|
Reference in New Issue
Block a user