Add the exemptions gestion and improve the navigation between requests

This commit is contained in:
2024-04-19 19:25:28 +02:00
parent 69fb4e881e
commit 4e14370d4f
8 changed files with 178 additions and 13 deletions

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)
}