Implements the backend and frontend methods to get some scholarshipRequests and exemptionsRequest

Extends the inscription.vue so that it also list scholarship and exemptions requests (not only inscription) this vue should be renamed later. Also implements some filters and parameters to select the data displayed in the list.
This commit is contained in:
LeoMoulin committed 2024-04-10 14:40:41 +02:00
1 parent 21a5dbdb22
commit 9d0b3da9d3
8 files changed
+199 -64

No files matched your search

+11 -3
View File
@@ -1,9 +1,17 @@
import {restPost} from "@/rest/restConsumer.js";
import {restGet, restPost} from "@/rest/restConsumer.js";
export async function createExemptionsRequest(exempReq){
return restPost("/exemptionreq", exempReq)
}
export async function createScholarshipRequest(scholReq){
return restPost("/scholarshipreq", scholReq)
export async function createScholarshipRequest(reqInfo){
return restPost("/scholarshipreq", reqInfo)
}
export async function getAllScholarShipsRequest(){
return restGet("/scholarshipreq")
}
export async function getAllExemptionsRequest(){
return restGet("/exemptionsreq")
}