diff --git a/Abrechnung/form.json b/Abrechnung/form.json index 68f389e..304fcb9 100644 --- a/Abrechnung/form.json +++ b/Abrechnung/form.json @@ -14,6 +14,11 @@ "name": "FooterText", "caption": "Fusszeile" }, + { + "type": "ValidationTextBox", + "name": "PropertyText", + "caption": "Liegenschaft" + }, { "type": "List", diff --git a/Abrechnung/module.php b/Abrechnung/module.php index 423a4bd..7e1a361 100644 --- a/Abrechnung/module.php +++ b/Abrechnung/module.php @@ -41,6 +41,7 @@ class Abrechnung extends IPSModule $this->RegisterPropertyString('WaterMeters', '[]'); $this->RegisterPropertyString('Tariffs', '[]'); $this->RegisterPropertyInteger('LogoMediaID', 0); + $this->RegisterPropertyString('PropertyText', 'Liegenschaft'); $this->RegisterPropertyString('FooterText', 'Belevo AG • 6122 Menznau • www.belevo.ch'); $this->RegisterVariableInteger('FromDate', 'Startdatum', '~UnixTimestamp', 1); @@ -149,7 +150,10 @@ class Abrechnung extends IPSModule // Kopfbereich $html = "
|
@@ -201,7 +205,7 @@ class Abrechnung extends IPSModule
. " — " . number_format($t['price'], 2) . " Rp/kWh"
. "";
}
- $html .= " "; + $html .= " "; } // ========================= Nebenkosten ========================= |