Added sums to Invoice/Index

This commit is contained in:
Frank Schubert
2024-08-07 20:38:29 +02:00
parent df1904ec96
commit 3284b6c42f
4 changed files with 208 additions and 4 deletions

View File

@@ -122,6 +122,63 @@ $pagination_entity_name = "Rechnungen";
</div>
</div>
<div class="row justify-content-end">
<div class="col-4">
<div>
<table class="table table-sm table-striped table-bordered">
<tr>
<th class="text-right">
Summe Rechnungen Netto:<br/>
Summe Rechnungen Brutto:
</th>
<td class="text-monospace">
€ <?=number_format($sum_price, 2, ",", ".")?><br />
€ <?=number_format($sum_price_gross, 2, ",", ".")?>
</td>
</tr><tr>
<th class="text-right">
Summe Rechnungen Bankeinzug Netto:<br />
Summe Rechnungen Bankeinzug Brutto:
</th>
<td class="text-monospace">
€ <?=number_format($sum_price_sepa, 2, ",", ".")?><br />
€ <?=number_format($sum_price_sepa_gross, 2, ",", ".")?>
</td>
</tr><tr>
<th class="text-right">
Summe Gutschriften Netto:<br />
Summe Gutschriften Brutto:
</th>
<td class="text-monospace">
€ <?=number_format($sum_credit_price, 2, ",", ".")?><br />
€ <?=number_format($sum_credit_price_gross, 2, ",", ".")?>
</td>
</tr><tr>
<th class="text-right">
Summe Gesprächsgebühren Netto:<br />
Summe Gesprächsgebühren Brutto:
</th>
<td class="text-monospace">
€ <?=number_format($sum_voicecalls_price, 2, ",", ".")?><br />
€ <?=number_format($sum_voicecalls_price_gross, 2, ",", ".")?>
</td>
</tr><tr>
<th class="text-right">
Summe Gesprächsgebühren Bankeinzug Netto:<br />
Summe Gesprächsgebühren Bankeinzug Brutto:
</th>
<td class="text-monospace">
€ <?=number_format($sum_voicecalls_price_sepa, 2, ",", ".")?><br />
€ <?=number_format($sum_voicecalls_price_sepa_gross, 2, ",", ".")?>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<?php include(realpath(dirname(__FILE__)."/../")."/tpl/pagination.php"); ?>