no message

This commit is contained in:
2025-12-05 13:51:34 +01:00
parent 920bd27e9e
commit f5ddc77d36
2 changed files with 13 additions and 12 deletions

View File

@@ -9,16 +9,17 @@
"name": "LogoMediaID",
"caption": "Logo auswählen"
},
{
"type": "ValidationTextBox",
"name": "FooterText",
"caption": "Fusszeile"
},
{
"type": "ValidationTextBox",
"name": "PropertyText",
"caption": "Liegenschaft"
},
{
"type": "ValidationTextBox",
"name": "FooterText",
"caption": "Fusszeile"
},
{
"type": "List",

View File

@@ -157,7 +157,7 @@ class Abrechnung extends IPSModule
<table width='100%' style='font-size:8px; margin-top:5px;'>
<tr>
<td width='60%'>
<strong>Zählpunkte:</strong><br>";
<br><strong>Zählpunkte:</strong><br>";
// Alle Zählerpunkte des Users auflisten
foreach ($power as $m) {
@@ -174,7 +174,7 @@ class Abrechnung extends IPSModule
$html .= "
</td>
<td width='40%'>
<strong>Rechnungsadresse:</strong><br>
<br><strong>Rechnungsadresse:</strong><br>
{$user['name']}<br>
{$user['address']}<br>
{$user['city']}<br>
@@ -188,7 +188,7 @@ class Abrechnung extends IPSModule
";
// ========================= Elektrizität =========================
$html .= "<h2 style='margin-bottom:3px; font-size:10px;'>Elektrizität</h2>";
$html .= "<br><h2 style='margin-bottom:3px; font-size:10px;'>Elektrizität</h2>";
$powerResult = $this->GetCalculatedPowerCosts($user['id']);
$html .= $powerResult['html'];
@@ -209,7 +209,7 @@ class Abrechnung extends IPSModule
}
// ========================= Nebenkosten =========================
$html .= "<h2 style='margin-bottom:3px; font-size:10px;'>Nebenkosten</h2>";
$html .= "<br><h2 style='margin-bottom:3px; font-size:10px;'>Nebenkosten</h2>";
$additionalResult = $this->CalculateAdditionalCosts($water, $tariffs, $user['id'], $from, $to);
$html .= $additionalResult['html'];
@@ -453,10 +453,10 @@ class Abrechnung extends IPSModule
</tr></table><br>";
if (!empty($usedTariffs)) {
$html .= "<p><strong>Angewendete Nebenkostentarife:</strong></p><ul>";
$html .= "<p><strong>Angewendete Nebenkostentarife</strong></p><ul>";
foreach ($usedTariffs as $t) {
$html .= "<li>" . date('d.m.Y', $t['start']) . " " . date('d.m.Y', $t['end']) . ": " .
number_format($t['price'], 2) . " Rp</li>";
$html .= "<li>" . date('d.m.Y', $t['start']) . " " . date('d.m.Y', $t['end']) . " — <strong> " .
number_format($t['price'], 2) . " Rp</strong></li>";
}
$html .= "</ul><br><hr>";
}