diff --git a/Layout/default/Billing/Index.php b/Layout/default/Billing/Index.php index 759810e5f..0e2671d4c 100644 --- a/Layout/default/Billing/Index.php +++ b/Layout/default/Billing/Index.php @@ -112,9 +112,10 @@ $pagination_entity_name = "Billingrecords";
- "> + +
@@ -249,5 +250,19 @@ $pagination_entity_name = "Billingrecords"; todayBtn: 'linked', autoclose: true }); + + function startBilling(e) { + e.preventDefault(); + + if(!confirm("Wirklich Billinglauf starten?")) { + return false; + } + + $('button, input').prop('disabled', true); + $('a').removeAttr("href"); + $("#billing-loader").show(); + window.location.href = ""; + return false; + } \ No newline at end of file