Merge branch 'spidev' into 'master'

Kalender Bugfix

See merge request fronk/thetool!997
This commit is contained in:
Daniel Spitzer
2025-02-05 19:51:00 +00:00
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -409,7 +409,11 @@ document.addEventListener('DOMContentLoaded', function () {
$('#customer').html('<option></option>');
}
if (data.data.customer_info_reminder.customer_info_reminder) {
$('#customer-info-reminder-check').prop('checked', true);
if (data.data.customer_info_reminder.customer_info_reminder == 1) {
$('#customer-info-reminder-check').prop('checked', true);
} else {
$('#customer-info-reminder-check').prop('checked', false);
}
}
$('#customer').select2({
placeholder: "Kunden Suche",