mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
modifies how the slot template from the Calendar Page is passed to the CalendarApp and prints the reservierungen differently (but the reservierungen are not grouped yet)
This commit is contained in:
@@ -22,7 +22,13 @@ class Reservierung_model extends DB_Model
|
||||
{
|
||||
|
||||
$raum_reservierungen= $this->execReadOnlyQuery("
|
||||
SELECT res.*, mit.kurzbz as person_kurzbz , CONCAT(studg.typ,studg.kurzbz,'-') as stg
|
||||
SELECT res.*, mit.kurzbz as person_kurzbz ,
|
||||
CASE
|
||||
WHEN res.verband IS NOT NULL OR res.semester IS NOT NULL THEN
|
||||
CONCAT(UPPER(studg.typ),UPPER(studg.kurzbz),'-',res.verband,res.semester)
|
||||
ELSE
|
||||
CONCAT(UPPER(studg.typ),UPPER(studg.kurzbz))
|
||||
END AS stg
|
||||
FROM lehre.vw_reservierung res
|
||||
JOIN public.tbl_mitarbeiter mit ON mit.mitarbeiter_uid=res.uid
|
||||
JOIN public.tbl_studiengang studg ON studg.studiengang_kz=res.studiengang_kz
|
||||
|
||||
Reference in New Issue
Block a user