Zeiterfassungs Billing Update/Devices Parents

This commit is contained in:
Spitzer Daniel
2024-04-16 15:37:56 +02:00
parent 81251bf4dd
commit 63a9599943
2 changed files with 2 additions and 2 deletions

View File

@@ -134,7 +134,7 @@
window.open('<?= self::getUrl("TimerecordingBilling", "api", ['do' => 'generatebmdexportnlz']) ?>&month=' + $('#month').data('month'), '_blank');
});
$('body').on('click', '#month-complete', function () {
if (confirm('Buchung wirklich schen?')) {
if (confirm('Monat ' + $('#month').data('month') + ' wirklich abschließen?')) {
$.post("<?= self::getUrl("TimerecordingBilling", "api", ['do' => 'completemonth']) ?>", {
month: $.trim($('#month').data('month')),
ajax: 1

View File

@@ -212,7 +212,7 @@
window.open('<?= self::getUrl("TimerecordingBilling", "api", ['do' => 'generatebmdexportnlzclosed']) ?>&month=' + $('#month').data('month'), '_blank');
});
$('body').on('click', '#month-complete', function () {
if (confirm('Buchung wirklich schen?')) {
if (confirm('Monat wirklich abschließen?')) {
$.post("<?= self::getUrl("TimerecordingBilling", "api", ['do' => 'completemonth']) ?>", {
month: $.trim($('#month').data('month')),
ajax: 1