no message
This commit is contained in:
@@ -14,6 +14,11 @@
|
||||
"name": "FooterText",
|
||||
"caption": "Fusszeile"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "PropertyText",
|
||||
"caption": "Liegenschaft"
|
||||
},
|
||||
{
|
||||
|
||||
"type": "List",
|
||||
|
||||
@@ -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 = "
|
||||
<h1 style='text-align:center; margin-bottom:0;'>Elektro- und Nebenkostenabrechnung</h1>
|
||||
<h3 style='text-align:center; margin-bottom:0;'>Betrifft Liegenschaft: " . $this->ReadPropertyString("PropertyText") . " </h1>
|
||||
|
||||
<hr>
|
||||
<br>
|
||||
<table width='100%' style='font-size:8px; margin-top:5px;'>
|
||||
<tr>
|
||||
<td width='60%'>
|
||||
@@ -201,7 +205,7 @@ class Abrechnung extends IPSModule
|
||||
. " — <strong>" . number_format($t['price'], 2) . " Rp/kWh</strong>"
|
||||
. "</li>";
|
||||
}
|
||||
$html .= "</ul><br><hr>";
|
||||
$html .= "</ul><br><hr><br>";
|
||||
}
|
||||
|
||||
// ========================= Nebenkosten =========================
|
||||
|
||||
Reference in New Issue
Block a user