Added confirmation before generating PreorderBilling Invoices
This commit is contained in:
@@ -127,7 +127,7 @@ $pagination_entity_name = "Billingrecords";
|
||||
<?php if(PreorderBilling::count(["invoice_id" => false])): ?>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<a class="btn btn-primary mb-2" href="<?=self::getUrl("PreorderBillingInvoice", "create")?>">
|
||||
<a class="btn btn-primary mb-2" href="<?=self::getUrl("PreorderBillingInvoice", "create")?>" onclick="if(!confirm('Rechnungen jetzt erstellen? Dieser Schritt kann nicht rückgängig gemacht werden!')) return false;">
|
||||
<i class="far fa-fw fa-file-invoice"></i> Rechnungen erstellen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user