Kalender Update

* spin bei Termine eingebaut
This commit is contained in:
Daniel Spitzer
2025-02-18 19:20:46 +01:00
parent 4b2613653f
commit 9e92613b72

View File

@@ -1864,7 +1864,10 @@ $(document).ready(function () {
$('#customer-info-type-text').val(data.mobilenumber);
}
}
if ($("#customer").select2('data')[0].spin) {
if ($("#customer").select2('data')[0].spin) {// ID deines Editors
var currentContent = tinymce.activeEditor.getContent();
tinymce.activeEditor.setContent(currentContent + '<p style="margin-bottom: 0"><b>Service Pin: </b>' + $("#customer").select2('data')[0].spin + '</p>');
$('#description').val('Service Pin: ' + $("#customer").select2('data')[0].spin + '\n');
}