no message
This commit is contained in:
@@ -14,6 +14,11 @@
|
|||||||
"name": "FooterText",
|
"name": "FooterText",
|
||||||
"caption": "Fusszeile"
|
"caption": "Fusszeile"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "ValidationTextBox",
|
||||||
|
"name": "PropertyText",
|
||||||
|
"caption": "Liegenschaft"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
|
|
||||||
"type": "List",
|
"type": "List",
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ class Abrechnung extends IPSModule
|
|||||||
$this->RegisterPropertyString('WaterMeters', '[]');
|
$this->RegisterPropertyString('WaterMeters', '[]');
|
||||||
$this->RegisterPropertyString('Tariffs', '[]');
|
$this->RegisterPropertyString('Tariffs', '[]');
|
||||||
$this->RegisterPropertyInteger('LogoMediaID', 0);
|
$this->RegisterPropertyInteger('LogoMediaID', 0);
|
||||||
|
$this->RegisterPropertyString('PropertyText', 'Liegenschaft');
|
||||||
$this->RegisterPropertyString('FooterText', 'Belevo AG • 6122 Menznau • www.belevo.ch');
|
$this->RegisterPropertyString('FooterText', 'Belevo AG • 6122 Menznau • www.belevo.ch');
|
||||||
|
|
||||||
$this->RegisterVariableInteger('FromDate', 'Startdatum', '~UnixTimestamp', 1);
|
$this->RegisterVariableInteger('FromDate', 'Startdatum', '~UnixTimestamp', 1);
|
||||||
@@ -149,7 +150,10 @@ class Abrechnung extends IPSModule
|
|||||||
// Kopfbereich
|
// Kopfbereich
|
||||||
$html = "
|
$html = "
|
||||||
<h1 style='text-align:center; margin-bottom:0;'>Elektro- und Nebenkostenabrechnung</h1>
|
<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>
|
<hr>
|
||||||
|
<br>
|
||||||
<table width='100%' style='font-size:8px; margin-top:5px;'>
|
<table width='100%' style='font-size:8px; margin-top:5px;'>
|
||||||
<tr>
|
<tr>
|
||||||
<td width='60%'>
|
<td width='60%'>
|
||||||
@@ -201,7 +205,7 @@ class Abrechnung extends IPSModule
|
|||||||
. " — <strong>" . number_format($t['price'], 2) . " Rp/kWh</strong>"
|
. " — <strong>" . number_format($t['price'], 2) . " Rp/kWh</strong>"
|
||||||
. "</li>";
|
. "</li>";
|
||||||
}
|
}
|
||||||
$html .= "</ul><br><hr>";
|
$html .= "</ul><br><hr><br>";
|
||||||
}
|
}
|
||||||
|
|
||||||
// ========================= Nebenkosten =========================
|
// ========================= Nebenkosten =========================
|
||||||
|
|||||||
Reference in New Issue
Block a user