Kalender Bugfix

* 1 day Reminder Checkbox Bug behoben
This commit is contained in:
Daniel Spitzer
2025-02-05 20:44:33 +01:00
parent c6d3a98b3d
commit f8d0264d6b
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",