Compare commits

...
6 changed files with 36 additions and 9 deletions
@@ -490,7 +490,7 @@ class Student extends FHCAPI_Controller
$this->PersonModel->addSelect(
'person_id, vorname, nachname, vornamen, wahlname, gebdatum, staatsbuergerschaft, geburtsnation, sprache, anrede,
titelpost, titelpre, gebort, gebzeit, homepage, geschlecht, matr_nr,
aktiv, unruly, tbl_geschlecht.bezeichnung_mehrsprachig AS geschlecht_bezeichnung'
aktiv, tbl_geschlecht.bezeichnung_mehrsprachig AS geschlecht_bezeichnung'
);
$this->PersonModel->addJoin('public.tbl_geschlecht', 'geschlecht');
@@ -122,7 +122,6 @@ class StudentListLib
) || ' (' || COALESCE(tbl_prestudent.priorisierung::text, ' '::text) || ')' AS priorisierung_relativ", false);
$this->addSelect('mentor');
$this->addSelect('b.aktiv AS bnaktiv');
$this->addSelect('unruly');
// Add default JOINs
$this->addJoin('public.tbl_studiengang stg', 'studiengang_kz', 'LEFT');
@@ -2,15 +2,16 @@ export default {
props: {
data: {
type: String,
}
},
},
data() {
return {}
return {};
},
template: /*html*/`
template: /*html*/ `
<div class="card">
<div class="card-body">
<span >{{$p.t('profil','fhAusweisStatus',[data])}}</span>
<span v-if="data">{{$p.t('profil','fhAusweisStatus',[data])}}</span>
<span v-else>{{$p.t('profil','fhAusweisStatusNichtAusgegeben')}}</span>
</div>
</div>`,
}
};
@@ -225,7 +225,8 @@ export default {
isLoading: false,
progress: -1,
total: -1,
processed: -1
processed: -1,
hiddenColumns: ['unruly']
}
},
computed: {
@@ -392,7 +393,7 @@ export default {
prestudent_id: capitalize(this.$p.t("ui/prestudent_id")),
priorisierung_relativ: capitalize(this.$p.t("lehre/prioritaet")),
mentor: capitalize(this.$p.t("stv/mentor")),
bnaktiv: capitalize(this.$p.t("person/aktiv")),
bnaktiv: capitalize(this.$p.t("person/aktiv"))
};
/** NOTE(chris):
@@ -820,6 +821,7 @@ export default {
@table-built="translateTabulator"
:useSelectionSpan="false"
@headerFilterOn="handleHeaderFilter"
:hidden-columns="hiddenColumns"
>
+5
View File
@@ -106,6 +106,10 @@ export const CoreFilterCmpt = {
type: Array,
default: [],
},
hiddenColumns: {
type: Array,
default: []
}
},
data: function () {
return {
@@ -216,6 +220,7 @@ export const CoreFilterCmpt = {
return this.$props.tabulatorOptions?.columns
?.filter((column) => column.formatter !== "responsiveCollapse")
?.filter((column) => !this.hiddenColumns.includes(column.field))
.map((column) => column.field) ?? [];
},
idExtra() {
+20
View File
@@ -29443,6 +29443,26 @@ array(
)
)
),
array(
'app' => 'core',
'category' => 'profil',
'phrase' => 'fhAusweisStatusNichtAusgegeben',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Der FH Ausweis wurde noch nicht ausgegeben.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'The FH ID card has not been issued yet.',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'profil',