no message
This commit is contained in:
@@ -150,7 +150,7 @@ class Abrechnung extends IPSModule
|
||||
// Kopfbereich
|
||||
$html = "
|
||||
<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>
|
||||
|
||||
@@ -219,7 +219,7 @@ class Abrechnung extends IPSModule
|
||||
$grandTotal = $totalPower + $totalAdditional;
|
||||
$html .= "
|
||||
<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>
|
||||
";
|
||||
|
||||
@@ -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:6px;'>
|
||||
<table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:5px;'>
|
||||
<tr style='background-color:#f0f0f0;'>
|
||||
<th>ID</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'><b>" . number_format($sum, 2) . " CHF</b></td>
|
||||
<td align='right'><b>CHF " . number_format($sum, 2) . ".-</b></td>
|
||||
</tr>";
|
||||
|
||||
return ['html' => $html, 'sum' => $sum];
|
||||
@@ -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:6px;'>
|
||||
<table border='1' cellspacing='0' cellpadding='2' width='100%' style='font-size:5px;'>
|
||||
<tr style='background-color:#f0f0f0;'>
|
||||
<th>ID</th>
|
||||
<th>Typ</th>
|
||||
|
||||
Reference in New Issue
Block a user