Add the gestion of scholarshipRequest (accept and refuse and select the amount)

This commit is contained in:
2024-04-15 16:17:27 +02:00
parent 05bff0fa77
commit a89d1b192c
8 changed files with 165 additions and 28 deletions

View File

@ -22,4 +22,12 @@ export async function editEquivalenceState(id, newstate){
export async function addUninscReq(userId, reason){
return restPost("/uninscriptionreq", {"userId" : userId, "reason" : reason})
}
export async function editScholarshipReq(body){
return restPatch("/scholarshipreq/", body)
}
export async function getScholarshipReqById(id){
return restGet("/scholarshipreq/"+id)
}