From a2864eb47a08888461c44507c062bd1528d56aa2 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 1 Mar 2018 16:05:23 +0100 Subject: [PATCH] added notizen (Anmerkungen) zur Bewerbung --- .../system/infocenter/InfoCenter.php | 8 + .../infocenter/anmerkungenZurBewerbung.php | 26 +++ .../system/infocenter/infocenterDetails.php | 36 ++-- .../views/system/infocenter/stammdaten.php | 201 +++++++++--------- 4 files changed, 153 insertions(+), 118 deletions(-) create mode 100644 application/views/system/infocenter/anmerkungenZurBewerbung.php diff --git a/application/controllers/system/infocenter/InfoCenter.php b/application/controllers/system/infocenter/InfoCenter.php index 4cd6a0e07..216aa0619 100644 --- a/application/controllers/system/infocenter/InfoCenter.php +++ b/application/controllers/system/infocenter/InfoCenter.php @@ -641,6 +641,13 @@ class InfoCenter extends VileSci_Controller show_error($notizen->retval); } + $notizen_bewerbung = $this->NotizModel->getNotizByTitel($person_id, 'Anmerkung zur Bewerbung'); + + if (isError($notizen_bewerbung)) + { + show_error($notizen_bewerbung->retval); + } + $user_person = $this->PersonModel->getByUid($this->uid); if (isError($user_person)) @@ -659,6 +666,7 @@ class InfoCenter extends VileSci_Controller 'messages' => $messages->retval, 'logs' => $logs, 'notizen' => $notizen->retval, + 'notizenbewerbung' => $notizen_bewerbung->retval, 'messagelink' => $messagelink ); diff --git a/application/views/system/infocenter/anmerkungenZurBewerbung.php b/application/views/system/infocenter/anmerkungenZurBewerbung.php new file mode 100644 index 000000000..565db79db --- /dev/null +++ b/application/views/system/infocenter/anmerkungenZurBewerbung.php @@ -0,0 +1,26 @@ + 0): ?> +
+
+
+ + + + + + + + + + + + + + +
Anmerkungen zur Bewerbung
+ insertamum), 'd.m.Y H:i:s') ?> + + text) ?> +
+
+
+ \ No newline at end of file diff --git a/application/views/system/infocenter/infocenterDetails.php b/application/views/system/infocenter/infocenterDetails.php index 299138e5c..07075773f 100644 --- a/application/views/system/infocenter/infocenterDetails.php +++ b/application/views/system/infocenter/infocenterDetails.php @@ -37,35 +37,35 @@
-
+
- +
wird bearbeitet von: -    -  Freigeben + if (isset($lockedby)): + echo $lockedby; + ?> +    +  Freigeben
-
+

Stammdaten

-
- load->view('system/infocenter/stammdaten.php'); ?> -
+ load->view('system/infocenter/stammdaten.php'); ?> + load->view('system/infocenter/anmerkungenZurBewerbung.php'); ?>
@@ -109,9 +109,9 @@
- load->view('system/messageList.php', $messages); - ?> + load->view('system/messageList.php', $messages); + ?>
@@ -130,10 +130,10 @@
- load->view('system/infocenter/addNotiz.php'); ?> + load->view('system/infocenter/addNotiz.php'); ?>
- load->view('system/infocenter/notizen.php'); ?> + load->view('system/infocenter/notizen.php'); ?>
diff --git a/application/views/system/infocenter/stammdaten.php b/application/views/system/infocenter/stammdaten.php index 6aae1c9f6..eaf27de0b 100644 --- a/application/views/system/infocenter/stammdaten.php +++ b/application/views/system/infocenter/stammdaten.php @@ -1,108 +1,109 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Vornamevorname ?>
Nachname - nachname ?>
Geburtsdatum - gebdatum), 'd.m.Y') ?>
Sozialversicherungsnr - svnr ?>
Staatsbürgerschaft - staatsbuergerschaft ?>
Geschlecht - geschlecht ?>
Geburtsnation - geburtsnation ?>
Geburtsortgebort ?>
-
-
- - - - - - - - - - - - - kontakte as $kontakt): ?> - +
+
+
Kontakte
TypKontaktAnmerkung
- - - + + - - adressen as $adresse): ?> + - - + nachname ?> - - -
kontakttyp); ?> - kontakttyp === 'email'): ?> - - kontakt; - if ($kontakt->kontakttyp === 'email'): - ?> - - - anmerkung; ?>Vornamevorname ?>
Nachname - Adresse - - strasse.', '.$adresse->plz.' '.$adresse->ort : '' ?> - - heimatadresse === true ? 'Heimatadresse' : ''). - ($adresse->heimatadresse === true && $adresse->rechnungsadresse === true ? ', ' : ''). - ($adresse->rechnungsadresse === true ? 'Rechnungsadresse' : ''); ?> -
-
-
-
- -  Nachricht senden -
-
- zugangscode)): ?> -
-  Zugang Bewerbung + + Geburtsdatum + + gebdatum), 'd.m.Y') ?> + + + Sozialversicherungsnr + + svnr ?> + + + Staatsbürgerschaft + + staatsbuergerschaft ?> + + + Geschlecht + + geschlecht ?> + + + Geburtsnation + + geburtsnation ?> + + + Geburtsort + gebort ?> + + +
+
+ + + + + + + + + + + + + kontakte as $kontakt): ?> + + + + + + + adressen as $adresse): ?> + + + + + + + +
Kontakte
TypKontaktAnmerkung
kontakttyp); ?> + kontakttyp === 'email'): ?> + + kontakt; + if ($kontakt->kontakttyp === 'email'): + ?> + + + anmerkung; ?>
+ Adresse + + strasse.', '.$adresse->plz.' '.$adresse->ort : '' ?> + + heimatadresse === true ? 'Heimatadresse' : ''). + ($adresse->heimatadresse === true && $adresse->rechnungsadresse === true ? ', ' : ''). + ($adresse->rechnungsadresse === true ? 'Rechnungsadresse' : ''); ?> +
+
+ - + zugangscode)): ?> + + +
\ No newline at end of file