1
0
forked from PGL/Clyde

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

@ -53,7 +53,7 @@
setTimeout(() => {
window.location.href="#/home";
}, "500");
}
}
function verifyInputs(pass){
if(pass==passwordConfirm.value){
page.value++;
@ -83,13 +83,6 @@
}
}
async function getCurriculumYear(curriculumId){
const curriculum = await getcurriculum(curriculumId);
return parseInt(curriculum.year);
}
//Post the register request and return the id of the newly created request and also post the external curriculum list in the database
async function postRegisterReq(){
const val = await register(outputs.firstname, outputs.surname, outputs.birthday, outputs.password, outputs.email, outputs.address, outputs.country, outputs.curriculum, ppData, null, new Date(), outputs.equivalenceState);