no message

This commit is contained in:
dh
2025-12-05 14:56:41 +01:00
parent 3180ac7922
commit 3098547209
+5 -5
View File
@@ -150,7 +150,7 @@ 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>
<h4 style='text-align:center; margin-bottom:0;'>Betrifft Liegenschaft: " . $this->ReadPropertyString("PropertyText") . " </h1> <h4 style='text-align:center; margin-bottom:0;'>Betrifft Liegenschaft: " . $this->ReadPropertyString("PropertyText") . " </h4>
<hr> <hr>
@@ -219,7 +219,7 @@ class Abrechnung extends IPSModule
$grandTotal = $totalPower + $totalAdditional; $grandTotal = $totalPower + $totalAdditional;
$html .= " $html .= "
<h2 style='text-align:right; margin:5px 0 0 0; font-size:11px;'> <h2 style='text-align:right; margin:5px 0 0 0; font-size:11px;'>
Gesamttotal: <strong>" . number_format($grandTotal, 2) . " CHF</strong> Gesamttotal: <strong>CHF " . number_format($grandTotal, 2) . ".-</strong>
</h2> </h2>
"; ";
@@ -366,7 +366,7 @@ class Abrechnung extends IPSModule
private function GetCalculatedPowerCosts($userId) private function GetCalculatedPowerCosts($userId)
{ {
$html = " $html = "
<table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:6px;'> <table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:5px;'>
<tr style='background-color:#f0f0f0;'> <tr style='background-color:#f0f0f0;'>
<th>ID</th> <th>ID</th>
<th>Import</th> <th>Import</th>
@@ -417,7 +417,7 @@ class Abrechnung extends IPSModule
<td align='right'></td> <td align='right'></td>
<td align='right'></td> <td align='right'></td>
<td align='right'></td> <td align='right'></td>
<td align='right'><b>" . number_format($sum, 2) . " CHF</b></td> <td align='right'><b>CHF " . number_format($sum, 2) . ".-</b></td>
</tr>"; </tr>";
return ['html' => $html, 'sum' => $sum]; return ['html' => $html, 'sum' => $sum];
@@ -428,7 +428,7 @@ class Abrechnung extends IPSModule
private function CalculateAdditionalCosts($waterMeters, $tariffs, $userId, $from, $to) private function CalculateAdditionalCosts($waterMeters, $tariffs, $userId, $from, $to)
{ {
$html = " $html = "
<table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:6px;'> <table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:5px;'>
<tr style='background-color:#f0f0f0;'> <tr style='background-color:#f0f0f0;'>
<th>ID</th> <th>ID</th>
<th>Typ</th> <th>Typ</th>