mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
uses the new fhcApi factory to make the roomInformation get request from the frontent/v1/stundenplan api and uses the CalendarDate class to get the first day of the week and the last day of the week to make the request for the room information over the whole week
This commit is contained in:
@@ -69,9 +69,6 @@ class Stundenplan extends Auth_Controller
|
||||
public function RoomInformation()
|
||||
{
|
||||
$this->load->model('ressource/Stundenplan_model', 'StundenplanModel');
|
||||
|
||||
|
||||
|
||||
|
||||
$result = $this->StundenplanModel->getRoomDataOnDay('EDV_A2.06','2024-05-21');
|
||||
$result = hasData($result) ? getData($result) : [];
|
||||
|
||||
Reference in New Issue
Block a user