diff --git a/BeWo/DebugConfig.cs b/BeWo/DebugConfig.cs index fcf3a8142..0ab92130f 100644 --- a/BeWo/DebugConfig.cs +++ b/BeWo/DebugConfig.cs @@ -35,6 +35,16 @@ namespace BeWo public bool AutoLogin { get; set; } public UIContext? SelectView { get; set; } + /// + /// Customer: + /// - Details: 0 + /// - ...: 1 + /// - ...: 2 + /// - ...: 3 + /// - VermittlungArbeit: 4 + /// - Wohnhilfe: 5 + /// + public int? SelectIndex { get; set; } public static DebugConfig SimpleAutoLogin => new DebugConfig() { @@ -46,7 +56,8 @@ namespace BeWo { DebugConfigMode = DebugConfigMode.FeatureCustomerWohnhilfe, AutoLogin = true, - SelectView = UIContext.Customer + SelectView = UIContext.Customer, + SelectIndex = 5 }; public static DebugConfig Feature_Wohnheim_Wohneinheit => new DebugConfig() diff --git a/BeWo/View/Controls/CustomerVermittlungArbeitControl.xaml b/BeWo/View/Controls/CustomerVermittlungArbeitControl.xaml index 24697f5da..9388b5fe9 100644 --- a/BeWo/View/Controls/CustomerVermittlungArbeitControl.xaml +++ b/BeWo/View/Controls/CustomerVermittlungArbeitControl.xaml @@ -113,7 +113,7 @@ IsEnabled="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, ElementName=root}" ItemsSource="{Binding Path=DataContext.Auftragsherkunfte, RelativeSource={RelativeSource AncestorType={x:Type GroupBox}, AncestorLevel=2, Mode=FindAncestor}}" SelectedValue="{Binding Path=Auftragsherkunft, Mode=TwoWay}" - Style="{StaticResource PrimaryNullItemComboBox}"/> + Style="{StaticResource PrimaryNullItemComboBox}" />