diff --git a/application/views/lehre/anrechnung/requestAnrechnung.php b/application/views/lehre/anrechnung/requestAnrechnung.php
index e507d3846..978dd5606 100644
--- a/application/views/lehre/anrechnung/requestAnrechnung.php
+++ b/application/views/lehre/anrechnung/requestAnrechnung.php
@@ -26,7 +26,8 @@ $this->load->view(
'neu',
'maxZeichen',
'errorBestaetigungFehlt',
- 'systemfehler'
+ 'systemfehler',
+ 'errorDokumentZuGross'
),
'anrechnung' => array(
'deadlineUeberschritten',
@@ -179,7 +180,7 @@ $this->load->view(
load->view(
+ 'templates/FHC-Header',
+ array(
+ 'title' => 'Zeitverfuegbarkeit verwalten',
+ 'jquery' => true,
+ 'jqueryui' => true,
+ 'bootstrap' => true,
+ 'fontawesome' => true,
+ 'momentjs' => true,
+ 'ajaxlib' => true,
+ 'tabulator' => true,
+ 'tablewidget' => true,
+ 'navigationwidget' => true,
+ 'sbadmintemplate' => true,
+ 'phrases' => array(
+ 'global' => array(
+ 'bis',
+ 'notiz'
+ ),
+ 'ui' => array(
+ 'systemfehler',
+ 'keineDatenVorhanden',
+ 'von',
+ 'bitteWaehlen',
+ 'speichern',
+ 'loeschen',
+ 'abbrechen'
+ ),
+ 'lehre' => array(
+ 'lektor'
+ )
+ ),
+ 'widgets' => true,
+ 'dialoglib' => true,
+ 'customJSs' => array(
+ 'public/js/bootstrapper.js',
+ 'public/js/lehre/lvplanung/zverfueg.js'
+ )
+ )
+);
+?>
+
+
+widgetlib->widget('NavigationWidget'); ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ load->view('lehre/lvplanung/adminZeitverfuegbarkeitData.php'); ?>
+
+
+
+
+
+
+
+
+load->view('templates/FHC-Footer'); ?>
diff --git a/application/views/lehre/lvplanung/adminZeitverfuegbarkeitData.php b/application/views/lehre/lvplanung/adminZeitverfuegbarkeitData.php
new file mode 100644
index 000000000..81a683cff
--- /dev/null
+++ b/application/views/lehre/lvplanung/adminZeitverfuegbarkeitData.php
@@ -0,0 +1,70 @@
+= ss.start
+ AND zeitsperretyp_kurzbz = \'ZVerfueg\'
+ ORDER BY zeitsperre_id, zsp.mitarbeiter_uid
+ ) as tmp
+ ORDER BY vondatum DESC
+';
+
+$filterWidgetArray = array(
+ 'query' => $qry,
+ 'tableUniqueId' => 'adminZeitverfuegbarkeit',
+ 'requiredPermissions' => 'lehre/zeitverfuegbarkeit',
+ 'datasetRepresentation' => 'tabulator',
+ 'columnsAliases' => array(
+ 'ZeitsperreID',
+ 'UID',
+ ucfirst($this->p->t('lehre', 'lektor')),
+ ucfirst($this->p->t('ui', 'von')),
+ 'VonStunde',
+ ucfirst($this->p->t('global', 'bis')),
+ 'BisStunde',
+ ucfirst($this->p->t('global', 'notiz'))
+ ),
+ 'datasetRepOptions' => '{
+ layout: "fitColumns", // fit columns to width of table
+ autoResize: false, // prevent auto resizing of table (false to allow adapting table size when cols are (de-)activated
+ headerFilterPlaceholder: " ",
+ index: "zeitsperre_id", // assign specific column as unique id (important for row indexing)
+ selectable: 1, // allow row selection
+ tableWidgetHeader: false,
+ rowSelected: function(row) {
+ func_rowSelected(row);
+ },
+ rowDeselected: function(row) {
+ func_rowDeselected(row);
+ }
+ }', // tabulator properties
+ 'datasetRepFieldsDefs' => '{
+ zeitsperre_id: {visible:false},
+ mitarbeiter_uid: {visible: true, headerFilter:"input"},
+ lektor: {visible: true, headerFilter:"input"},
+ vondatum: {visible: true, headerFilter:"input"},
+ vonstunde: {visible: true, headerFilter:"input"},
+ bisdatum: {visible: true, headerFilter:"input"},
+ bisstunde: {visible: true, headerFilter:"input"},
+ bezeichnung: {visible: true, headerFilter:"input"}
+ }', // col properties
+);
+
+echo $this->widgetlib->widget('TableWidget', $filterWidgetArray);
+
+?>
diff --git a/application/views/person/bpk/bpkData.php b/application/views/person/bpk/bpkData.php
index 3580ed4bc..1c70b44a6 100644
--- a/application/views/person/bpk/bpkData.php
+++ b/application/views/person/bpk/bpkData.php
@@ -3,7 +3,8 @@
'query' => '
SELECT
person_id, vorname, nachname, geschlecht, svnr, ersatzkennzeichen, matr_nr,
- staatsbuergerschaft, gebdatum, false AS mitarbeiter
+ staatsbuergerschaft, gebdatum, false AS mitarbeiter,
+ (SELECT count(*) FROM public.tbl_akte WHERE person_id=tbl_person.person_id) AS anzahl_dokumente
FROM
public.tbl_person
WHERE
@@ -14,7 +15,8 @@
UNION
SELECT
person_id, vorname, nachname, geschlecht, svnr, ersatzkennzeichen, matr_nr,
- staatsbuergerschaft, gebdatum, true AS mitarbeiter
+ staatsbuergerschaft, gebdatum, true AS mitarbeiter,
+ (SELECT count(*) FROM public.tbl_akte WHERE person_id=tbl_person.person_id) AS anzahl_dokumente
FROM
public.tbl_person
JOIN public.tbl_benutzer USING(person_id)
@@ -36,7 +38,8 @@
ucfirst($this->p->t('person', 'matrikelnummer')),
ucfirst($this->p->t('person', 'staatsbuergerschaft')),
ucfirst($this->p->t('person', 'geburtsdatum')),
- 'Mitarbeiter'
+ 'Mitarbeiter',
+ 'Anzahl Dokumente'
),
'formatRow' => function($datasetRaw) {
diff --git a/application/views/system/infocenter/dokpruefung.php b/application/views/system/infocenter/dokpruefung.php
index 95e383569..b184b9a0b 100644
--- a/application/views/system/infocenter/dokpruefung.php
+++ b/application/views/system/infocenter/dokpruefung.php
@@ -22,7 +22,7 @@
titel) ? $dokument->bezeichnung : $dokument->titel ?>
- |