show different options for address types if the user is a mitarbeiter or a student

This commit is contained in:
SimonGschnell
2024-02-12 16:29:19 +01:00
parent 9ac523c087
commit 24b467cd90
3 changed files with 41 additions and 19 deletions
+3 -3
View File
@@ -3,11 +3,11 @@ export default {
isMitarbeiterOrStudent: function (uid) {
getMitarbeiter: function (student_id) {
const url =
FHC_JS_DATA_STORAGE_OBJECT.app_root +
`cis.php/Cis/Profil/isMitarbeiterOrStudent/${uid}`;
return axios.get(url);
`cis.php/api/v1/crm/Student/getStudent`;
return axios.get(url,{student_id:student_id});
},
getView: function (uid) {