no message

This commit is contained in:
2025-12-05 15:04:05 +01:00
parent 3098547209
commit b46b09ba29

View File

@@ -154,10 +154,10 @@ class Abrechnung extends IPSModule
<hr>
<table width='100%' style='font-size:8px; margin-top:5px;'>
<table width='100%' style='font-size:10px;'>
<tr>
<td width='60%'>
<strong>Zählpunkte:</strong><br>";
<strong>Zählpunkte:</strong>";
// Alle Zählerpunkte des Users auflisten
foreach ($power as $m) {
@@ -197,8 +197,8 @@ class Abrechnung extends IPSModule
// Elektrizitätstarife anzeigen
$appliedTariffs = $this->CollectTariffsForUser($tariffs, ['Netztarif', 'Solartarif', 'Einspeisetarif']);
if (!empty($appliedTariffs)) {
$html .= "<p style='font-size:7px; margin-top:4px;'><strong>Angewendete Elektrizitätstarife:</strong></p>
<ul style='font-size:7px;'>";
$html .= "<p style='font-size:8px; margin-top:4px;'><strong>Angewendete Elektrizitätstarife:</strong></p>
<ul style='font-size:8px;'>";
foreach ($appliedTariffs as $t) {
$html .= "<li>"
. date('d.m.Y', $t['start']) . " " . date('d.m.Y', $t['end'])
@@ -366,7 +366,7 @@ class Abrechnung extends IPSModule
private function GetCalculatedPowerCosts($userId)
{
$html = "
<table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:5px;'>
<table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:4px;'>
<tr style='background-color:#f0f0f0;'>
<th>ID</th>
<th>Import</th>
@@ -428,7 +428,7 @@ class Abrechnung extends IPSModule
private function CalculateAdditionalCosts($waterMeters, $tariffs, $userId, $from, $to)
{
$html = "
<table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:5px;'>
<table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:4px;'>
<tr style='background-color:#f0f0f0;'>
<th>ID</th>
<th>Typ</th>