asdf
This commit is contained in:
@@ -11,6 +11,12 @@
|
|||||||
"name": "GetAmount",
|
"name": "GetAmount",
|
||||||
"caption": "Betrag Abziehen",
|
"caption": "Betrag Abziehen",
|
||||||
"test": true
|
"test": true
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"type": "SelectVariable",
|
||||||
|
"name": "HTMLBox",
|
||||||
|
"caption": "HTMLBox",
|
||||||
|
"test": true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -9,6 +9,7 @@ class Belevo_Bezahl_Modul extends IPSModule
|
|||||||
parent::Create();
|
parent::Create();
|
||||||
$this->RegisterPropertyInteger("Reservate", 0);
|
$this->RegisterPropertyInteger("Reservate", 0);
|
||||||
$this->RegisterPropertyInteger("GetAmount", 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->RegisterVariableBoolean("AmountIsReserved", "AmountIsReserved", '', false);
|
||||||
|
|
||||||
@@ -103,7 +104,7 @@ class Belevo_Bezahl_Modul extends IPSModule
|
|||||||
</script>
|
</script>
|
||||||
<div id="payment-request-button"></div>';
|
<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)
|
public function GetAmount($amount)
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "1.009",
|
"version": "1.010",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user