From 2babb59580c193e2ec1d610d0bb7d571d0d3db2e Mon Sep 17 00:00:00 2001 From: Kojo Date: Thu, 22 Feb 2024 10:21:05 +0100 Subject: [PATCH] GkvAbrechnung: Speichern von GKV-Abrechnung und IKs aus Kasse/Organisation --- BeWo/View/Detail/Accounting/GkvAbrechnungOverview.xaml.cs | 2 +- BeWo/View/Detail/Accounting/NewGkvAbrechnungPopUpView .xaml.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BeWo/View/Detail/Accounting/GkvAbrechnungOverview.xaml.cs b/BeWo/View/Detail/Accounting/GkvAbrechnungOverview.xaml.cs index ad36ec151..7a942a867 100644 --- a/BeWo/View/Detail/Accounting/GkvAbrechnungOverview.xaml.cs +++ b/BeWo/View/Detail/Accounting/GkvAbrechnungOverview.xaml.cs @@ -58,7 +58,7 @@ namespace BeWo.View.Detail.Accounting this._NewGkvAbrechnungPopUpView.CreateButtonClicked += (s, e) => { this.MainControl.CloseCurrentPopUp(); - //ServiceFacade.DoAccountingServiceSync(svc => svc.InsertNewGkvAbrechnungen(e.Data)); + ServiceFacade.DoAccountingServiceSync(svc => svc.InsertNewGkvAbrechnungen(e.Data)); }; this._EquityInvoiceItemEditView = new EquityInvoiceItemEditView(); diff --git a/BeWo/View/Detail/Accounting/NewGkvAbrechnungPopUpView .xaml.cs b/BeWo/View/Detail/Accounting/NewGkvAbrechnungPopUpView .xaml.cs index 2b27fc011..09b6deb37 100644 --- a/BeWo/View/Detail/Accounting/NewGkvAbrechnungPopUpView .xaml.cs +++ b/BeWo/View/Detail/Accounting/NewGkvAbrechnungPopUpView .xaml.cs @@ -133,7 +133,8 @@ namespace BeWo.View.Detail.Accounting { popup_organisation.IsOpen = false; gkvsearchview.ItemSelected -= gkvsearchview_OrganisationSelected; - this.ViewModel.IKEmpfang = e.Data.Name; + ViewModel.IKEmpfang = e.Data.IKKrankenkasse; + ViewModel.IKDatenannahmestelle = e.Data.IKDatenannahmestelle; popupedit_GkvSearch.Text = e.Data.ToString(); popupedit_GkvSearch.Focus();