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();