diff --git a/Belevo_Bezahl_Modul/form.json b/Belevo_Bezahl_Modul/form.json index a0f3b46..94901e5 100644 --- a/Belevo_Bezahl_Modul/form.json +++ b/Belevo_Bezahl_Modul/form.json @@ -11,6 +11,12 @@ "name": "GetAmount", "caption": "Betrag Abziehen", "test": true - } + }, + { + "type": "SelectVariable", + "name": "HTMLBox", + "caption": "HTMLBox", + "test": true + } ] } \ No newline at end of file diff --git a/Belevo_Bezahl_Modul/module.php b/Belevo_Bezahl_Modul/module.php index ef91df8..16d41c8 100644 --- a/Belevo_Bezahl_Modul/module.php +++ b/Belevo_Bezahl_Modul/module.php @@ -9,6 +9,7 @@ class Belevo_Bezahl_Modul extends IPSModule parent::Create(); $this->RegisterPropertyInteger("Reservate", 0); $this->RegisterPropertyInteger("GetAmount", 0); + $this->RegisterPropertyInteger("HTMLBox", 0); $this->RegisterVariableInteger("ReservationAmount", "ReservationAmount", '', 0); $this->RegisterVariableBoolean("AmountIsReserved", "AmountIsReserved", '', false); @@ -103,7 +104,7 @@ class Belevo_Bezahl_Modul extends IPSModule
'; - SetValue($this->ReadPropertyInteger("Reservate"), $html); // Baut das HTML auf + SetValue($this->ReadPropertyInteger("HTMLBox"), $html); // Baut das HTML auf } public function GetAmount($amount) diff --git a/library.json b/library.json index cfcb75c..588bf4d 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.009", + "version": "1.010", "build": 0, "date": 0 } \ No newline at end of file