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:
SimonGschnell
2024-06-04 08:24:58 +02:00
parent 39321dcde3
commit 3df1aaf371
7 changed files with 132 additions and 53 deletions
@@ -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) : [];