This commit is contained in:
2025-01-28 15:42:20 +01:00
parent cbf12baa7b
commit 9a7f4cc3a7
3 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -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
</script>
<div id="payment-request-button"></div>';
SetValue($this->ReadPropertyInteger("Reservate"), $html); // Baut das HTML auf
SetValue($this->ReadPropertyInteger("HTMLBox"), $html); // Baut das HTML auf
}
public function GetAmount($amount)