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

View File

@@ -11,6 +11,12 @@
"name": "GetAmount",
"caption": "Betrag Abziehen",
"test": true
}
},
{
"type": "SelectVariable",
"name": "HTMLBox",
"caption": "HTMLBox",
"test": true
}
]
}

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)

View File

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