From c8b0e0fed9f0ee4623a4374a73802d1ce1249a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Tue, 28 Jan 2025 16:08:07 +0100 Subject: [PATCH] err --- Belevo_Bezahl_Modul/module.php | 7 +++++-- library.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Belevo_Bezahl_Modul/module.php b/Belevo_Bezahl_Modul/module.php index 432fae6..6f3daa6 100644 --- a/Belevo_Bezahl_Modul/module.php +++ b/Belevo_Bezahl_Modul/module.php @@ -7,9 +7,12 @@ class Belevo_Bezahl_Modul extends IPSModule { // Die Standard-Create() Methode aufrufen parent::Create(); + $this->RegisterPropertyInteger("Reservate", 0); + $this->RegisterPropertyInteger("GetAmount", 0); + $this->RegisterPropertyInteger("HTMLBox", 0); + $this->RegisterVariableInteger("ReservationAmount", "ReservationAmount", '', 0); $this->RegisterVariableInteger("ReservationAmount", "ReservationAmount", '', 0); $this->RegisterVariableBoolean("AmountIsReserved", "AmountIsReserved", '', false); - $this->RegisterVariableString("HTMLContent", "HTMLContent", '', ''); // Initiales HTML setzen $this->SetHTMLContent(); @@ -104,7 +107,7 @@ class Belevo_Bezahl_Modul extends IPSModule '; - SetValue($this->GetIDForIdent("HTMLContent"), $html); // Baut das HTML auf + SetValue($this->ReadPropertyInteger("HTMLBox"), $html); // Baut das HTML auf } } ?> \ No newline at end of file diff --git a/library.json b/library.json index 23a79c2..aa840e4 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.014", + "version": "1.015", "build": 0, "date": 0 } \ No newline at end of file