This commit is contained in:
2025-01-28 16:08:07 +01:00
parent df84441089
commit c8b0e0fed9
2 changed files with 6 additions and 3 deletions

View File

@@ -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
</body>
</html>';
SetValue($this->GetIDForIdent("HTMLContent"), $html); // Baut das HTML auf
SetValue($this->ReadPropertyInteger("HTMLBox"), $html); // Baut das HTML auf
}
}
?>

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "1.014",
"version": "1.015",
"build": 0,
"date": 0
}