OrganisationSearchView wird neu geladen bei bereits geladener Gkv Ansicht

This commit is contained in:
2024-11-18 09:42:39 +01:00
parent a583e35285
commit e462cc47de
4 changed files with 12 additions and 5 deletions

View File

@@ -119,9 +119,9 @@ namespace BeWo
AutoLogin = false,
//SelectView = UIContext.Finance,
SelectIndex = 8,
Username = "m1",
Password = "bewobewo",
Profilename = "5000000000"
//Username = "m1",
//Password = "bewobewo",
//Profilename = "5000000000"
});
return name2config;

View File

@@ -364,6 +364,9 @@ namespace BeWo.View.Detail.Accounting
{
_Viewmodel.FirePropertyChangedItself();
if (_NewGkvAbrechnungPopUpView.PopupObjectList is object)
_NewGkvAbrechnungPopUpView.PopupObjectList = null;
RefreshGkvAbrechnungenList();
}
}

View File

@@ -294,8 +294,6 @@
Width="370"
Height="250"
Margin="10"
Closed="popup_Closed"
Opened="popup_Opened"
Placement="MousePoint"
StaysOpen="False">
<localSearchView:OrganisationSearchView x:Name="gkvsearchview" SearchMode="OnlyValidGkvOrganisations" />

View File

@@ -60,6 +60,12 @@ namespace BeWo.View.Detail.Accounting
}
}
public object PopupObjectList
{
get => gkvsearchview.ObjectList;
set => gkvsearchview.ObjectList = value as List<CompactOrganisationDC>;
}
public DateTime FilterStart
{
get => ViewModel.AbrechnungsZeitraumStart.Value;