Added Columns to Invoice CSV Export and added csv to Address/Invoice

This commit is contained in:
Frank Schubert
2024-07-16 13:48:35 +02:00
parent 8e6bbaec54
commit 021ac2cd5a
3 changed files with 25 additions and 28 deletions

View File

@@ -49,6 +49,7 @@
<th>Betrag Brutto</th>
<th>Zahlungsart</th>
<th>Versand</th>
<th></th>
</tr>
<?php foreach($invoices as $invoice): ?>
<tr>
@@ -68,6 +69,7 @@
<td class="<?=($invoice->total_gross < 0) ? "text-danger" : ""?>">€ <?=number_format($invoice->total_gross, 2, ",", ".")?></td>
<td><?=($invoices->billing_type == "sepa") ? "Einzug" : "Einzahlung" ?></td>
<td><?=($invoices->billing_delivery == "email") ? "Email (".$invoice->email.")" : "Postversand" ?></td>
<td><a href="<?=self::getUrl("Invoice", "downloadInvoiceCsv", ["id" => $invoice->id])?>" title="CSV-Download"><i class="fas fa-file-csv fa-fw"></i></a></td>
</tr>
<?php endforeach; ?>