Fixed billing type and delivery in Address/Invoice

This commit is contained in:
Frank Schubert
2025-01-07 20:39:46 +01:00
parent 0e0a321ca7
commit dc4787f9c6

View File

@@ -67,8 +67,8 @@
<td><?=date("d.m.Y", $invoice->invoice_date)?></td>
<td class="<?=($invoice->total < 0) ? "text-danger" : ""?>">€ <?=number_format($invoice->total, 2, ",", ".")?></td>
<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><?=($invoice->billing_type == "sepa") ? "Einzug" : "Einzahlung" ?></td>
<td><?=($invoice->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>