PreorderBilling BMD Expot

This commit is contained in:
Frank Schubert
2025-04-10 13:26:56 +02:00
parent 4bc1a0c97b
commit 653b28aa5c
5 changed files with 300 additions and 12 deletions

View File

@@ -87,7 +87,7 @@ $pagination_entity_name = "Rechnungen";
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-6 border-left">
<div class="col-6">
<h4>Rechungsemails versenden</h4>
<form method="post" action="<?=self::getUrl("PreorderBillingInvoice", "createJob")?>">
<input type="hidden" name="task" value="send-preorder-invoice-email" />
@@ -124,6 +124,27 @@ $pagination_entity_name = "Rechnungen";
<?php endif; ?>
</form>
</div>
<div class="col-6 border-left">
<h4>BMD-Export</h4>
<h5>Personenkonten</h5>
<div class="row col">
<a class="btn btn-purple" href="<?=self::getUrl("PreorderBillingInvoice", "bmdExport", ["type" => "addresses"])?>"><i class="fas fa-fw fa-users"></i> Personenexport erstellen</a>
</div>
<div class="row col">
<small>Letzter Export: <?=($bmd_export["person"]) ? date("d.m.Y H:i:s", $bmd_export["person"]) : ""?> </small>
</div>
<h5>Rechnungsdaten</h5>
<div class="row col">
<a class="btn btn-purple" href="<?=self::getUrl("PreorderBillingInvoice", "bmdExport", ["type" => "invoice"])?>"><i class="fas fa-fw fa-file-invoice"></i> Rechnungsexport erstellen</a>
</div>
<div class="row col">
<small>Letzter Export: <?=($bmd_export["invoice"]) ? date("d.m.Y H:i:s", $bmd_export["invoice"]) : ""?></small>
</div>
</div>
</div>
@@ -152,7 +173,7 @@ $pagination_entity_name = "Rechnungen";
<th>Netto</th>
<th>Ust.</th>
<th>Brutto</th>
<th>Zustellung</th>
<th>Versendet</th>
<th>Erstellt</th>
</tr>
<?php foreach($invoices as $invoice): ?>