diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj index e5656c134..d9cc1558a 100644 --- a/BeWo/BeWo.csproj +++ b/BeWo/BeWo.csproj @@ -606,6 +606,7 @@ ProxyLoginView.xaml + SchulbegleitenderDienstEmployeeView.xaml diff --git a/BeWo/BeWoApp.xaml.cs b/BeWo/BeWoApp.xaml.cs index 52210e7c3..d5a355832 100644 --- a/BeWo/BeWoApp.xaml.cs +++ b/BeWo/BeWoApp.xaml.cs @@ -659,7 +659,6 @@ namespace BeWo } } - internal void FirePropertyChanged(string pPropertyName) { if (PropertyChanged != null) @@ -985,7 +984,7 @@ namespace BeWo #else Login login = new Login(BeWoApp.Tenant); #endif - chatServerURL = login._serverUrl; + chatServerURL = login.ServerUrl; } return chatServerURL; diff --git a/BeWo/Core/BeWoUtils.cs b/BeWo/Core/BeWoUtils.cs index 3e043849b..9b68ee089 100644 --- a/BeWo/Core/BeWoUtils.cs +++ b/BeWo/Core/BeWoUtils.cs @@ -52,6 +52,7 @@ using DevExpress.Xpf.Bars; using DevExpress.Xpf.DocumentViewer; using DevExpress.Xpf.Printing.PreviewControl.Bars; using DevExpress.XtraScheduler; +using Utils = BS.Shared.Core.Utils; namespace BeWo.Core { diff --git a/BeWo/MainControl.xaml.cs b/BeWo/MainControl.xaml.cs index e3b44636a..848b9f4f0 100644 --- a/BeWo/MainControl.xaml.cs +++ b/BeWo/MainControl.xaml.cs @@ -923,12 +923,12 @@ namespace BeWo //Hier das mit Chat Refreshen if (BeWoApp.MainControl != null && BeWoApp.MainControl.HomeView.ServiceChatView != null) { - if (BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl != null && - BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.newThread != null) + BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.GlobalListeningThreadtimer != null) { - BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.newThread = null; - BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.disableKontaktNachrichtenThread = true; + BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.GlobalListeningThreadtimer.Stop(); + BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.GlobalListeningThreadtimer = null; + BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.ShouldInterruptContactsThread = true; } if (BeWoApp.MainControl.HomeView.ServiceChatView.ServiceChat._emojiView != null) diff --git a/BeWo/MainWindow.xaml.cs b/BeWo/MainWindow.xaml.cs index 413e51823..dbcc36e9e 100644 --- a/BeWo/MainWindow.xaml.cs +++ b/BeWo/MainWindow.xaml.cs @@ -82,9 +82,10 @@ namespace BeWo if(BeWoApp.MainControl != null && BeWoApp.MainControl.HomeView.ServiceChatView != null) { if (BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl != null && - BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.newThread != null) + BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.GlobalListeningThreadtimer != null) { - BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.newThread = null; + BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.GlobalListeningThreadtimer.Stop(); + BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.GlobalListeningThreadtimer = null; //BeWoApp.MainControl.HomeView.ServiceChatView.ChatMainControl.disableKontaktNachrichtenThread = true; } diff --git a/BeWo/Scheduler/Utils/AppointmentExtensions.cs b/BeWo/Scheduler/Utils/AppointmentExtensions.cs index d04cd8980..af5f2c007 100644 --- a/BeWo/Scheduler/Utils/AppointmentExtensions.cs +++ b/BeWo/Scheduler/Utils/AppointmentExtensions.cs @@ -85,6 +85,11 @@ namespace BeWo.Scheduler.Utils return appointment.GetCustomFieldStorage()?.Originator; } + public static long? CF_SchedulerAppointmentOid(this Appointment appointment) + { + return appointment.GetCustomFieldStorage()?.SchedulerAppointmentOid; + } + diff --git a/BeWo/Scheduler/View/AbstractAppointmentEditForm.cs b/BeWo/Scheduler/View/AbstractAppointmentEditForm.cs index 6e9f9d438..018d08d29 100644 --- a/BeWo/Scheduler/View/AbstractAppointmentEditForm.cs +++ b/BeWo/Scheduler/View/AbstractAppointmentEditForm.cs @@ -15,7 +15,7 @@ namespace BeWo.Scheduler.View { public class AbstractAppointmentEditForm : UserControl { - protected AbstractAppointmentEditForm() { } + public AbstractAppointmentEditForm() { } public AbstractAppointmentEditForm(SchedulerControl schedulerControl, Appointment appointment) { diff --git a/BeWo/Scheduler/View/NewSchedulerView.xaml b/BeWo/Scheduler/View/NewSchedulerView.xaml index f2c17be99..97a7e6be4 100644 --- a/BeWo/Scheduler/View/NewSchedulerView.xaml +++ b/BeWo/Scheduler/View/NewSchedulerView.xaml @@ -23,7 +23,7 @@ - + @@ -265,8 +265,8 @@ + dxschint:VerticalAppointmentContentPanel.AlwaysOnNewRow="True" TextWrapping="Wrap" Margin="11,6,0,0" + Foreground="{Binding Path=CustomViewInfo[CustomFieldStorage].ForegroundColor}" /> @@ -282,16 +282,16 @@ - + - + - + @@ -320,17 +320,17 @@ - + - + + Visibility="{Binding Path=CustomViewInfo[CustomFieldStorage].ToolTipResourcesVisibility}" /> @@ -401,10 +401,10 @@ - + - + - +