Kalender
Update: * Bugfix Kunden-Info
This commit is contained in:
@@ -427,7 +427,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
}
|
||||
if (data.data.customer_info_send.customer_info_send) {
|
||||
const obj = JSON.parse(data.data.customer_info_send.customer_info_send);
|
||||
$('#customer-info-check-info').html('<i class="fa-sharp-duotone fa-solid fa-circle-info"></i>');
|
||||
$('#customer-info-check-info').html('<i class="fa-sharp-duotone fa-solid fa-circle-info customer-info-point"></i>');
|
||||
const unixTime = obj.sendtime;
|
||||
const date = new Date(unixTime * 1000);
|
||||
const germanDateTime = date.toLocaleString('de-DE', {
|
||||
@@ -451,7 +451,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
<div class="text-left"><span class="font-weight-500">gesendet am:</span> ` + germanDateTime + `</div>
|
||||
|
||||
`;
|
||||
var tooltip = new Tooltip($('.fa-circle-info'), {
|
||||
console.log(title);
|
||||
var tooltip = new Tooltip($('.customer-info-point'), {
|
||||
title: title,
|
||||
placement: 'right',
|
||||
trigger: 'hover',
|
||||
@@ -850,8 +851,6 @@ if (typeof (EventSource) !== 'undefined') {
|
||||
} else {
|
||||
movable = false;
|
||||
}
|
||||
console.log(mycalendar_id);
|
||||
console.log(event.calendar_id_check.calendar_id);
|
||||
if (event.privateflag == '1' && mycalendar_id != event.calendar_id_check.calendar_id) {
|
||||
rights = false;
|
||||
movable = false;
|
||||
|
||||
Reference in New Issue
Block a user