@@ -1873,8 +1873,7 @@ class Admin {
<thead>
<tr>
<th><?php echo esc_html__( 'Kostenposten', KGVVM_TEXT_DOMAIN ); ?></th>
<th><?php echo esc_html__( 'Gesamtkosten ', KGVVM_TEXT_DOMAIN ); ?></th>
<th><?php echo esc_html__( 'Anteil', KGVVM_TEXT_DOMAIN ); ?></th>
<th style='width:140px; white-space:nowrap;' ><?php echo esc_html__( 'Anteil ', KGVVM_TEXT_DOMAIN ); ?></th>
</tr>
</thead>
<tbody>
@@ -1885,8 +1884,7 @@ class Admin {
<br /><span class="kgvvm-help"><?php echo esc_html( sprintf( __( '%1$s × %2$s zu je %3$s', KGVVM_TEXT_DOMAIN ), $item['distribution_label'], number_format_i18n( (int) $item['units'], 0 ), $this->format_currency( $item['unit_amount'] ) ) ); ?></span>
<?php echo $item['note'] ? '<br /><span class="kgvvm-help">' . esc_html( $item['note'] ) . '</span>' : ''; ?>
</td>
<td><?php echo esc_html( $this->format_currency( $item['total '] ) ); ?></td>
<td><?php echo esc_html( $this->format_currency( $item['share'] ) ); ?></td>
<td style='width:140px; white-space:nowrap; text-align:right;' ><?php echo esc_html( $this->format_currency( $item['share '] ) ); ?></td>
</tr>
<?php endforeach; ?>
</tbody>
@@ -2072,24 +2070,24 @@ class Admin {
<h2><?php echo esc_html__( 'Zusammenfassung', KGVVM_TEXT_DOMAIN ); ?></h2>
<table cellpadding="5" cellspacing="0" border="1">
<tr>
<th><strong><?php echo esc_html__( 'Position', KGVVM_TEXT_DOMAIN ); ?></strong></th>
<th><strong><?php echo esc_html__( 'Betrag', KGVVM_TEXT_DOMAIN ); ?></strong></th>
<th style="width:76%;" ><strong><?php echo esc_html__( 'Position', KGVVM_TEXT_DOMAIN ); ?></strong></th>
<th style="width:24%; text-align:right; white-space:nowrap;" ><strong><?php echo esc_html__( 'Betrag', KGVVM_TEXT_DOMAIN ); ?></strong></th>
</tr>
<tr>
<td><?php echo esc_html__( 'Anteilige Grundkosten', KGVVM_TEXT_DOMAIN ); ?></td>
<td><?php echo esc_html( $this->format_currency( $statement['fixed_total'] ) ); ?></td>
<td style="text-align:right; white-space:nowrap;" ><?php echo esc_html( $this->format_currency( $statement['fixed_total'] ) ); ?></td>
</tr>
<tr>
<td><?php echo esc_html__( 'Wasserkosten', KGVVM_TEXT_DOMAIN ); ?></td>
<td><?php echo esc_html( $this->format_currency( $statement['water_cost_total'] ) ); ?></td>
<td style="text-align:right; white-space:nowrap;" ><?php echo esc_html( $this->format_currency( $statement['water_cost_total'] ) ); ?></td>
</tr>
<tr>
<td><?php echo esc_html__( 'Stromkosten', KGVVM_TEXT_DOMAIN ); ?></td>
<td><?php echo esc_html( $this->format_currency( $statement['power_cost_total'] ) ); ?></td>
<td style="text-align:right; white-space:nowrap;" ><?php echo esc_html( $this->format_currency( $statement['power_cost_total'] ) ); ?></td>
</tr>
<tr>
<td><strong><?php echo esc_html__( 'Gesamtbetrag', KGVVM_TEXT_DOMAIN ); ?></strong></td>
<td><strong><?php echo esc_html( $this->format_currency( $statement['grand_total'] ) ); ?></strong></td>
<td style="text-align:right; white-space:nowrap;" ><strong><?php echo esc_html( $this->format_currency( $statement['grand_total'] ) ); ?></strong></td>
</tr>
</table>
@@ -2099,15 +2097,13 @@ class Admin {
<?php else : ?>
<table cellpadding="5" cellspacing="0" border="1">
<tr>
<th><strong><?php echo esc_html__( 'Kostenposten', KGVVM_TEXT_DOMAIN ); ?></strong></th>
<th><strong><?php echo esc_html__( 'Gesamtkosten ', KGVVM_TEXT_DOMAIN ); ?></strong></th>
<th><strong><?php echo esc_html__( 'Anteil', KGVVM_TEXT_DOMAIN ); ?></strong></th>
<th style="width:76%;" ><strong><?php echo esc_html__( 'Kostenposten', KGVVM_TEXT_DOMAIN ); ?></strong></th>
<th style="width:24%; text-align:right; white-space:nowrap;" ><strong><?php echo esc_html__( 'Anteil ', KGVVM_TEXT_DOMAIN ); ?></strong></th>
</tr>
<?php foreach ( $statement['fixed_items'] as $item ) : ?>
<tr>
<td><?php echo esc_html( $item['name'] . ' – ' . sprintf( __( '%1$s × %2$s zu je %3$s', KGVVM_TEXT_DOMAIN ), $item['distribution_label'], number_format_i18n( (int) $item['units'], 0 ), $this->format_currency( $item['unit_amount'] ) ) ); ?></td>
<td><?php echo esc_html( $this->format_currency( $item['total '] ) ); ?></td>
<td><?php echo esc_html( $this->format_currency( $item['share'] ) ); ?></td>
<td style="width:76%;" ><?php echo esc_html( $item['name'] . ' – ' . sprintf( __( '%1$s × %2$s zu je %3$s', KGVVM_TEXT_DOMAIN ), $item['distribution_label'], number_format_i18n( (int) $item['units'], 0 ), $this->format_currency( $item['unit_amount'] ) ) ); ?></td>
<td style="width:24%; text-align:right; white-space:nowrap;" ><?php echo esc_html( $this->format_currency( $item['share '] ) ); ?></td>
</tr>
<?php endforeach; ?>
</table>