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