mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
displaying student personal identity number and matriculation number
This commit is contained in:
@@ -22,8 +22,9 @@ unset($config['student']['searchfields']['email']);
|
||||
unset($config['student']['searchfields']['tel']);
|
||||
$config['student']['resultfields'] = [
|
||||
"s.student_uid AS uid",
|
||||
"s.matrikelnr",
|
||||
"s.matrikelnr AS personenkennzeichen",
|
||||
"p.person_id",
|
||||
"p.matr_nr AS matrikelnummer",
|
||||
"(p.vorname || ' ' || p.nachname) AS name",
|
||||
"ARRAY[s.student_uid || '@' || '" . DOMAIN . "'] AS email",
|
||||
"CASE
|
||||
|
||||
@@ -230,6 +230,10 @@ export default {
|
||||
label: `${this.$p.t('person','personenkennzeichen')}`,
|
||||
value: this.data.personenkennzeichen
|
||||
},
|
||||
matrikelnummer: {
|
||||
label: this.$p.t('person/matrikelnummer'),
|
||||
value: this.data.matrikelnummer
|
||||
},
|
||||
studiengang: {
|
||||
label: `${this.$p.t('lehre','studiengang')}`,
|
||||
value: this.data.studiengang
|
||||
|
||||
@@ -64,6 +64,10 @@ export default {
|
||||
label: `${this.$p.t("person", "personenkennzeichen")}`,
|
||||
value: this.data.personenkennzeichen,
|
||||
},
|
||||
matrikelnummer: {
|
||||
label: this.$p.t('person/matrikelnummer'),
|
||||
value: this.data.matrikelnummer
|
||||
},
|
||||
studiengang: {
|
||||
label: `${this.$p.t("lehre", "studiengang")}`,
|
||||
value: this.data.studiengang,
|
||||
|
||||
@@ -25,7 +25,7 @@ export default {
|
||||
return new Set(this.res.email);
|
||||
}
|
||||
},
|
||||
template: `
|
||||
template: /*html*/ `
|
||||
<template-frame
|
||||
class="searchbar-result-student"
|
||||
:res="res"
|
||||
@@ -48,10 +48,16 @@ export default {
|
||||
{{ res.person_id }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="searchbar_tablerow">
|
||||
<div class="searchbar_tablecell searchbar_label">{{ $p.t('abschlusspruefung/personenkennzeichen') }}</div>
|
||||
<div class="searchbar_tablecell searchbar_value">
|
||||
{{ res.personenkennzeichen }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="searchbar_tablerow">
|
||||
<div class="searchbar_tablecell searchbar_label">{{ $p.t('person/matrikelnummer') }}</div>
|
||||
<div class="searchbar_tablecell searchbar_value">
|
||||
{{ res.matrikelnr }}
|
||||
{{ res.matrikelnummer }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="searchbar_tablerow">
|
||||
|
||||
Reference in New Issue
Block a user