diff --git a/.gitignore b/.gitignore index d9805409f..f0d36d9a4 100644 --- a/.gitignore +++ b/.gitignore @@ -256,3 +256,4 @@ /ReportImp/Taubblindendienst/obj/Debug /BeWoPlanerMobil/logs /Host/logs +/.vs/BeWoGit/v15 diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj index e4818c8dc..c649cfd05 100644 --- a/BeWo/BeWo.csproj +++ b/BeWo/BeWo.csproj @@ -29,7 +29,7 @@ 3.5 - D:\Projects\beyondsoft\BeWoPlaner\Publish\ + D:\Projects\beyondsoft\BeWoPlaner\Publish45\ true Web true @@ -39,16 +39,16 @@ false true false - http://fortis-bewoplaner.fortis-ev.org.local/ + http://app.beyondsoft.de/dev/ de-DE BeWoPlaner beyondSoft GmbH - 2.0.1.129 + 2.0.1.130 true publish.htm false true - 130 + 131 2.0.1.%2a false true diff --git a/BeWo/BeWoApp.xaml.cs b/BeWo/BeWoApp.xaml.cs index 9f7da0f05..d963e688e 100644 --- a/BeWo/BeWoApp.xaml.cs +++ b/BeWo/BeWoApp.xaml.cs @@ -39,7 +39,7 @@ namespace BeWo //public static string Version = "Version 2.0"; - public static string Version = "Version 2.3.4"; + public static string Version = "Version 2.4.1"; public static int RenderTier = 0; @@ -243,7 +243,7 @@ namespace BeWo { isOnlyYearMonthVisible = true; } - isOnlyYearMonthVisible = true; + val = GetSettingValue(_Mandator.Settings, "IsZeiterfassungInStdMin"); if (val != null && val.Equals("1")) { diff --git a/BeWo/SchulbegleitenderDienst/NewSchulbegleitenderDienstView.xaml.cs b/BeWo/SchulbegleitenderDienst/NewSchulbegleitenderDienstView.xaml.cs index c7f9f7879..bd8de940f 100644 --- a/BeWo/SchulbegleitenderDienst/NewSchulbegleitenderDienstView.xaml.cs +++ b/BeWo/SchulbegleitenderDienst/NewSchulbegleitenderDienstView.xaml.cs @@ -244,13 +244,41 @@ namespace BeWo.SchulbegleitenderDienst // hier den Tag merken um auch für WOCHEN bereich die spalte orange zu machen } - + if (item.isCustomerKrank) { xyc.IsCustomerKrank = true; xyc.IsKunde = 2; } - + + //hier bereich zu abfrage Vertretung Gewünscht / nicht gewünscht + //################## Besser auf Server auslagern ?? ############################################# + List custOid = new List(); + custOid.Add(customer.Key); + var cus = ServiceFacade.DoCustomerServiceSync(r => r.GetCustomersById(custOid)); + + foreach (var c in cus) + { + // 1 für Grün | 0 für Rot + if (c.VertretungDringendErforderlich == false && c.VertretungGewuenscht == false) + { + //anzeige Grün machen + xyc.IsKunde = 1; + } + //else if (c.VertretungDringendErforderlich == false && c.VertretungGewuenscht == true) + //{ + // // anzeige noral halten + // xyc.IsKunde = 2; + //} + //else if (c.VertretungDringendErforderlich == true && c.VertretungGewuenscht == true) + //{ + // //anzeige normal halten + // xyc.IsKunde = 2; + //} + } + + //############################ + _items.Add(xyc); } diff --git a/BeWo/ServiceProxy/Generated.cs b/BeWo/ServiceProxy/Generated.cs index f41f54e9f..c3872f444 100644 --- a/BeWo/ServiceProxy/Generated.cs +++ b/BeWo/ServiceProxy/Generated.cs @@ -4411,6 +4411,18 @@ namespace BeWo.ServiceProxy [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetLastVertreterBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] System.Collections.Generic.List GetLastVertreter(System.Nullable klientenOid); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetHandOutPdfForChat", ReplyAction="http://tempuri.org/IOperationsService/GetHandOutPdfForChatResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetHandOutPdfForChatBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.PdfChatHandoutDC GetHandOutPdfForChat(string customerId, string apikey); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeletEmloyeeChatCode", ReplyAction="http://tempuri.org/IOperationsService/DeletEmloyeeChatCodeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeletEmloyeeChatCodeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + bool DeletEmloyeeChatCode(string apikey, string kundennummer, long userOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeletCustomerChatCode", ReplyAction="http://tempuri.org/IOperationsService/DeletCustomerChatCodeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeletCustomerChatCodeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + bool DeletCustomerChatCode(string apikey, string kundennummer, long userOid); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateInvoices", ReplyAction="http://tempuri.org/IOperationsService/DeactivateInvoicesResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void DeactivateInvoices(System.Collections.Generic.List invoices); @@ -5226,6 +5238,21 @@ namespace BeWo.ServiceProxy return base.Channel.GetLastVertreter(klientenOid); } + public BS.Shared.DataContracts.PdfChatHandoutDC GetHandOutPdfForChat(string customerId, string apikey) + { + return base.Channel.GetHandOutPdfForChat(customerId, apikey); + } + + public bool DeletEmloyeeChatCode(string apikey, string kundennummer, long userOid) + { + return base.Channel.DeletEmloyeeChatCode(apikey, kundennummer, userOid); + } + + public bool DeletCustomerChatCode(string apikey, string kundennummer, long userOid) + { + return base.Channel.DeletCustomerChatCode(apikey, kundennummer, userOid); + } + public void DeactivateInvoices(System.Collections.Generic.List invoices) { base.Channel.DeactivateInvoices(invoices); diff --git a/BeWo/View/ChatServiceCustomer.xaml b/BeWo/View/ChatServiceCustomer.xaml index d39ab71eb..bea5ef48a 100644 --- a/BeWo/View/ChatServiceCustomer.xaml +++ b/BeWo/View/ChatServiceCustomer.xaml @@ -40,19 +40,33 @@ Height="21" x:Name="GenerateButon"/> - -