added CSV file generation for RML Billing
This commit is contained in:
@@ -118,12 +118,14 @@ $pagination_entity_name = "Rechnungen";
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<?=self::getUrl("PreorderBillingInvoice", "downloadInvoice", ["id" => $invoice->id])?>"><i class="fas fa-download fa-fw"></i> <?=$invoice->invoice_number?></a>
|
||||
<?php if($invoice->pdf): ?>
|
||||
<i class="fas fa-fw fa-check" title="PDF generiert"></i>
|
||||
<?php endif; ?>
|
||||
<?php if($invoice->date_delivered): ?>
|
||||
<i class="fas fa-fw fa-mail" title="per Email versendet am <?=date("d.m.Y H:i", $invoice->date_delivered)?>"></i>
|
||||
<?php endif; ?>
|
||||
<?php if($invoice->csv): ?>
|
||||
<a class="ml-2" href="<?=self::getUrl("PreorderBillingInvoice", "downloadCsv", ["id" => $invoice->id])?>">
|
||||
<i class="fas fa-fw fa-file-csv" title="CSV-Datei herunterladen"></i>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td><?=($invoice->invoice_date) ? (new DateTime($invoice->invoice_date))->format("d.m.Y") : ""?></td>
|
||||
<td><?=$invoice->fibu_account_number?></td>
|
||||
|
||||
Reference in New Issue
Block a user