diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj index a4efe3d12..61dcca35d 100644 --- a/BeWo/BeWo.csproj +++ b/BeWo/BeWo.csproj @@ -311,7 +311,7 @@ MSBuild:Compile Designer - + MSBuild:Compile Designer @@ -1008,8 +1008,8 @@ OwnChatSettingsView.xaml - - SchedulerEmployeeInformationView.xaml + + InformationView.xaml diff --git a/BeWo/Scheduler/View/NewSchedulerView.xaml b/BeWo/Scheduler/View/NewSchedulerView.xaml index 75c3cfdb3..921b8da2f 100644 --- a/BeWo/Scheduler/View/NewSchedulerView.xaml +++ b/BeWo/Scheduler/View/NewSchedulerView.xaml @@ -690,7 +690,7 @@ - + diff --git a/BeWo/Scheduler/View/NewSchedulerView.xaml.cs b/BeWo/Scheduler/View/NewSchedulerView.xaml.cs index 8e2011ad4..e524e63a6 100644 --- a/BeWo/Scheduler/View/NewSchedulerView.xaml.cs +++ b/BeWo/Scheduler/View/NewSchedulerView.xaml.cs @@ -2470,7 +2470,8 @@ namespace BeWo.Scheduler.View CompactEmployeeDC emp = (CompactEmployeeDC)datacontext; //popup_infos_employee.IsOpen = true; //Wird nicht gefunden - var control = new SchedulerEmployeeInformationView(); + var control = new InformationView(); + control.InitView(emp); var beWoWindow = new BeWoWindow(); control.ButtonCloseClicked += () => beWoWindow.Close(); @@ -2484,10 +2485,10 @@ namespace BeWo.Scheduler.View beWoWindow.ShowDialog(); } - private void popup_button_infos_employee_Click(object sender, RoutedEventArgs e) - { + //private void popup_button_infos_employee_Click(object sender, RoutedEventArgs e) + //{ - } + //} } #region Converter diff --git a/BeWo/ServiceProxy/Generated.cs b/BeWo/ServiceProxy/Generated.cs index 70d877786..2bbca4558 100644 --- a/BeWo/ServiceProxy/Generated.cs +++ b/BeWo/ServiceProxy/Generated.cs @@ -5192,6 +5192,13 @@ namespace BeWo.ServiceProxy "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] string GetColorForServiceRecordView2(); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAdditionalEmployeeInformationForSchedule" + + "r", ReplyAction="http://tempuri.org/IOperationsService/GetAdditionalEmployeeInformationForSchedule" + + "rResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAdditionalEmployeeInformationForSchedule" + + "rBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.Dictionary GetAdditionalEmployeeInformationForScheduler(long empOid); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookingsResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookingsBeWoFault" + "Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] @@ -6421,6 +6428,11 @@ namespace BeWo.ServiceProxy return base.Channel.GetColorForServiceRecordView2(); } + public System.Collections.Generic.Dictionary GetAdditionalEmployeeInformationForScheduler(long empOid) + { + return base.Channel.GetAdditionalEmployeeInformationForScheduler(empOid); + } + public System.Collections.Generic.List InsertNewAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings) { return base.Channel.InsertNewAdditionalServiceBookings(pAdditionalServiceBookings); diff --git a/BeWo/View/Detail/InformationView.xaml b/BeWo/View/Detail/InformationView.xaml new file mode 100644 index 000000000..5cd57e101 --- /dev/null +++ b/BeWo/View/Detail/InformationView.xaml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + +