1
0
forked from PGL/Clyde

Small changes

This commit is contained in:
LeoMoulin 2024-04-20 13:17:32 +02:00
parent cdc3772384
commit e8917cd69e
3 changed files with 10 additions and 1 deletions

View File

@ -309,4 +309,10 @@ public class RequestsController {
UserCurriculum userCurriculum = new UserCurriculum(u, toEdit.getDestinationCurriculum(), c.get(Calendar.YEAR), true); UserCurriculum userCurriculum = new UserCurriculum(u, toEdit.getDestinationCurriculum(), c.get(Calendar.YEAR), true);
userCurriculumRepository.save(userCurriculum); 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 {ref} from "vue";
import ExternalCurriculumList from "@/Apps/Inscription/ExternalCurriculumList.vue"; import ExternalCurriculumList from "@/Apps/Inscription/ExternalCurriculumList.vue";
import {editEquivalenceState} from "@/rest/requests.js"; import {editEquivalenceState} from "@/rest/requests.js";
import {downloadPdf} from "@/rest/uploads.js";
const props = defineProps(['target']); const props = defineProps(['target']);
const request = await getRegisters(props.target); const request = await getRegisters(props.target);

View File

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