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

@@ -152,9 +152,7 @@ $pagination_entity_name = "Rechnungen";
<td><?=($invoice->billing_type == "sepa") ? "SEPA" : "Überweisung"?></td>
<td><?=($invoice->billing_delivery == "email") ? "Email" : "Papier"?></td>
<td>
<?php if($invoice->total < 0): ?>
<a class="text-danger" href="<?=self::getUrl("Invoice", "downloadInvoiceCsv", ["id" => $invoice->id])?>"><i class="fas fa-file-csv fa-fw"></i></a>
<?php endif; ?>
<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; ?>