Add the exemptions gestion and improve the navigation between requests

This commit is contained in:
LeoMoulin committed 2024-04-19 19:25:28 +02:00
1 parent 69fb4e881e
commit 4e14370d4f
8 files changed
+178 -13

No files matched your search

+8
View File
@@ -66,4 +66,12 @@ export async function editChangeCurrReq(id, newState){
export async function editChangeCurrReqTeacherState(id, newState){
return restPatch("/changecurriculumreqteacher/"+id+"/"+newState)
}
export async function getExempReq(id){
return restGet("/exemptionsreq/"+id)
}
export async function editExempReqState(id, newstate){
return restPatch("/exemptionsreq/"+id+"/"+newstate)
}