forked from ScoDoc/ScoDoc
Assiduites : bugfix justificatif create 2
This commit is contained in:
parent
f683e6a041
commit
f4c0ee38ba
@ -209,7 +209,7 @@ def justif_create(etudid: int = None, nip=None, ine=None):
|
||||
justifs.append(justi)
|
||||
scass.simple_invalidate_cache(data, etud.id)
|
||||
|
||||
compute_assiduites_justified(etud.etudid, justifs, True)
|
||||
compute_assiduites_justified(etud.etudid, justifs)
|
||||
return {"errors": errors, "success": success}
|
||||
|
||||
|
||||
@ -379,7 +379,7 @@ def justif_edit(justif_id: int):
|
||||
"après": compute_assiduites_justified(
|
||||
justificatif_unique.etudid,
|
||||
[justificatif_unique],
|
||||
True,
|
||||
False,
|
||||
),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user