From ce27964df968a9d5f9a26529721debef077e3867 Mon Sep 17 00:00:00 2001 From: ma0068 Date: Mon, 16 Feb 2026 16:46:46 +0100 Subject: [PATCH] Detailheader VV and StudV: show - if no value for Tile --- .../Stv/Studentenverwaltung/Details.js | 20 +++++++++++++++---- .../Vertraege/Vertragsverwaltung.js | 14 +++++++++++-- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/public/js/components/Stv/Studentenverwaltung/Details.js b/public/js/components/Stv/Studentenverwaltung/Details.js index 198f403ac..493806d0e 100644 --- a/public/js/components/Stv/Studentenverwaltung/Details.js +++ b/public/js/components/Stv/Studentenverwaltung/Details.js @@ -39,7 +39,19 @@ export default { return Object.fromEntries(Object.entries(this.configStudents).filter(([ , value ]) => !value.showOnlyWithUid)); } return Object.fromEntries(Object.entries(this.configStudents).filter(([ , value ]) => !value.showOnlyWithUid && !value.showOnlyWithUid)); - } + }, + tile_PersId(){ + let tile = this.students[0].person_id != null ? this.students[0].person_id : '-'; + return tile; + }, + tile_MatrNr(){ + let tile = this.students[0].matr_nr != null ? this.students[0].matr_nr : '-'; + return tile; + }, + tile_PersKz(){ + let tile = this.students[0].matrikelnr != null ? this.students[0].matrikelnr : '-'; + return tile; + }, }, watch: { '$p.user_language.value'(n, o) { @@ -86,11 +98,11 @@ export default { fotoEditable > - + - + - + - + - +