Commit Graph

12 Commits

Author SHA1 Message Date
alex 88e25524b3 person/Benutzerfunktion_model.php getBenutzerFunktionByUid method: added organisationseinheit_bezeichnung to Benutzerfunktionen, added sorting order (datumbis, datumvon) 2020-07-22 00:48:45 +02:00
alex 5b264bb6a9 codex/Bisverwendung_model:
- added getVerwendungen method
person/Benutzer_model
- added comment
person/Benutzerfunktion_model
- added getBenutzerFunktionByUid method
ressource/Mitarbeiter_model
- added getVorgesetzte method
- extended getPersonal method
2020-06-22 11:20:27 +02:00
Paolo 34b6581849 - Renamed BenutzerfunktionModel->getByPersonId to getActiveFunctionsByPersonId
- BenutzerfunktionModel->getActiveFunctionsByPersonId changed query to get only active functions
- Removed commented code
2020-02-26 17:22:59 +01:00
Cris 586c626ff0 Fixed: Corrected incorrect SQL query in Benutzerfunktion_model
Incorrect bracket was causing error message. This is fixed now.
2019-11-25 09:35:42 +01:00
Cris a81098f884 Added method getSTGLByUID(uid) to Benutzerfunktion_model
The method getSTGLByUID(uid) gets information of all STG of which a given
user is in charge of as a study course manager.
2019-08-01 15:38:33 +02:00
alex f907cd7292 - Benutzerfunktionen can be retrieved recursively by oe (oe and all oes below) 2018-09-28 17:03:26 +02:00
alex 0916a27ecb - replaced spaces by hyphens in lv group names
- updated comment for getBenutzerFunktionen
2018-09-13 09:55:06 +02:00
alex 1a675a9939 renamed and improved method for getting benutzerfunktionen 2018-08-27 18:25:12 +02:00
alex 5e00044b56 added function for retrieving Benutzerfunktionen by oe and Funktion 2018-08-24 17:57:07 +02:00
Paolo 45b4c84764 Task #1355:
- If the sender of a message is an admin: show all the vorlage with
mimetype = text/html
 - If the sender of a message is NOT an admin: show all the
vorlage that belongs to the organisation units of the user
and the parents of those organisation units until the root
of the organisation unit tree

Changes:
 - Added method isAdminByPersonId to model Benutzerrolle_model
 - Added method _getAllHTMLVorlage to Vorlage_widget
 - Added method _getUserVorlage to Vorlage_widget
2017-06-06 15:21:22 +02:00
Paolo b840352377 - Vorlage widget now works with oe_kurzbz
- Added method getByPersonId to model Benutzerfunktion_model
- Added method treeSearchEntire to library OrganisationseinheitLib
- Added method getOneLevelAlias to model Organisationseinheit_model
2017-05-23 17:00:03 +02:00
Paminger 6836c3608d Models 2016-05-04 07:05:23 +02:00