Leo/InscriptionDesEtudiants #164

Merged
LeoMoulin merged 5 commits from Leo/InscriptionDesEtudiants into master 2024-04-20 21:21:14 +02:00
3 changed files with 10 additions and 1 deletions
Showing only changes of commit e8917cd69e - Show all commits

View File

@ -309,4 +309,10 @@ public class RequestsController {
UserCurriculum userCurriculum = new UserCurriculum(u, toEdit.getDestinationCurriculum(), c.get(Calendar.YEAR), true);
userCurriculumRepository.save(userCurriculum);
}
@GetMapping("/exemptionreq/{userId}")
public ResponseEntity<ArrayList<ExemptionsRequest>> getExReqByuser(@PathVariable long userId){
User u = userRepository.findById(userId);
return new ResponseEntity<>(HttpStatus.OK);
}
}

View File

@ -8,7 +8,6 @@ import {getExternalCurriculumByInscrReq} from "@/rest/externalCurriculum.js";
import {ref} from "vue";
import ExternalCurriculumList from "@/Apps/Inscription/ExternalCurriculumList.vue";
import {editEquivalenceState} from "@/rest/requests.js";
import {downloadPdf} from "@/rest/uploads.js";
const props = defineProps(['target']);
const request = await getRegisters(props.target);

View File

@ -30,6 +30,10 @@ const exemptReq = reactive({
courseId : null,
justifDocument : "",
})
async function getExemptions(){
}
</script>
<template style="margin-top:5%;">