Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit f4c0ee38ba - Show all commits

View File

@ -209,7 +209,7 @@ def justif_create(etudid: int = None, nip=None, ine=None):
justifs.append(justi) justifs.append(justi)
scass.simple_invalidate_cache(data, etud.id) 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} return {"errors": errors, "success": success}
@ -379,7 +379,7 @@ def justif_edit(justif_id: int):
"après": compute_assiduites_justified( "après": compute_assiduites_justified(
justificatif_unique.etudid, justificatif_unique.etudid,
[justificatif_unique], [justificatif_unique],
True, False,
), ),
} }
} }