Customer Wohnhilfe Control ausgelagert
DebugConfig - SimpleAutoLogin + FeatureWohnhilfe Translation vervollständigt
This commit is contained in:
164
BeWo/BeWo.csproj
164
BeWo/BeWo.csproj
@@ -319,6 +319,10 @@
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="View\Controls\Wohnhilfe\CustomerWohnhilfeControl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="View\Detail\CustomerWohnhilfeView.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
@@ -917,6 +921,7 @@
|
||||
<Compile Include="Core\ReportPreviewModelLandscapeBugWorkaround.cs" />
|
||||
<Compile Include="Core\SupportConceptGoalTreeItem.cs" />
|
||||
<Compile Include="Core\TextModuleTreeItem.cs" />
|
||||
<Compile Include="DebugConfig.cs" />
|
||||
<Compile Include="EnterTenantDialog.xaml.cs">
|
||||
<DependentUpon>EnterTenantDialog.xaml</DependentUpon>
|
||||
</Compile>
|
||||
@@ -1203,6 +1208,9 @@
|
||||
<Compile Include="ViewModel\OrganisationPersonRelationVM.cs" />
|
||||
<Compile Include="ViewModel\TextModuleVM.cs" />
|
||||
<Compile Include="ViewModel\VerordnungslistenVM.cs" />
|
||||
<Compile Include="View\Controls\Wohnhilfe\CustomerWohnhilfeControl.xaml.cs">
|
||||
<DependentUpon>CustomerWohnhilfeControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\Detail\CustomerWohnhilfeView.xaml.cs">
|
||||
<DependentUpon>CustomerWohnhilfeView.xaml</DependentUpon>
|
||||
</Compile>
|
||||
@@ -2783,392 +2791,392 @@
|
||||
<ItemGroup>
|
||||
<PublishFile Include="Blacklight.Wpf.Controls">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Charts.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Data.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Data.v23.2.Linq">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Office.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.PivotGrid.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Printing.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.RichEdit.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.RichEdit.v23.2.Export">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Sparkline.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Utils.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Accordion.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Charts.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Core.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Docking.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Grid.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Grid.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Layout.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Mvvm.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Printing.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Printing.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Ribbon.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Scheduler.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.LightGray.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2007Black.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2010Black.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2013.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2016White.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraBars.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraCharts.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraEditors.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraNavBar.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraPivotGrid.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraPrinting.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraReports.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Reporting">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraTreeList.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
</ItemGroup>
|
||||
|
||||
50
BeWo/DebugConfig.cs
Normal file
50
BeWo/DebugConfig.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BeWo
|
||||
{
|
||||
public enum DebugConfigMode
|
||||
{
|
||||
SimpleAutoLogin,
|
||||
FeatureWohnhilfe
|
||||
}
|
||||
|
||||
public class DebugConfig
|
||||
{
|
||||
public static DebugConfig CurrentConfig
|
||||
{
|
||||
get
|
||||
{
|
||||
#if DEBUG
|
||||
|
||||
return FeatureWohnhilfe;
|
||||
|
||||
#endif
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public DebugConfigMode DebugConfigMode { get; set; }
|
||||
|
||||
public bool AutoLogin { get; set; }
|
||||
public UIContext? SelectView { get; set; }
|
||||
|
||||
public static DebugConfig SimpleAutoLogin => new DebugConfig()
|
||||
{
|
||||
DebugConfigMode = DebugConfigMode.SimpleAutoLogin,
|
||||
AutoLogin = true
|
||||
};
|
||||
|
||||
public static DebugConfig FeatureWohnhilfe => new DebugConfig()
|
||||
{
|
||||
DebugConfigMode = DebugConfigMode.FeatureWohnhilfe,
|
||||
AutoLogin = true,
|
||||
SelectView = UIContext.Customer
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -701,6 +701,11 @@ namespace BeWo
|
||||
{
|
||||
TextBox_Username.Focus();
|
||||
}
|
||||
|
||||
if(DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.AutoLogin)
|
||||
{
|
||||
button_login_Click(this, new RoutedEventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
private void ShowModalBackground()
|
||||
|
||||
@@ -78,10 +78,17 @@ namespace BeWo
|
||||
KeyDown += MainControl_KeyDown;
|
||||
NavigateToHomeView();
|
||||
|
||||
#if DEBUG
|
||||
if (DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.SelectView is UIContext context)
|
||||
{
|
||||
NavigateTo(GetViewForUIContext(context));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// ToDo: Neuer Kalender nur im Debug-Modus!
|
||||
#if DEBUG
|
||||
ButtonScheduling.Visibility = Visibility.Visible;
|
||||
ButtonScheduling.Visibility = Visibility.Visible;
|
||||
#else
|
||||
ButtonScheduling.Visibility = Visibility.Collapsed;
|
||||
#endif
|
||||
@@ -133,7 +140,7 @@ namespace BeWo
|
||||
|
||||
AufOffeneTerminePruefen();
|
||||
|
||||
//BeWoApp.InitBlubb();
|
||||
//BeWoApp.InitBlubb();
|
||||
|
||||
#if !DEBUG
|
||||
if (this.button_Scheduler.Visibility == Visibility.Visible && !BeWoApp.AppSettings.IsSchedulerAllowed)
|
||||
@@ -156,10 +163,10 @@ namespace BeWo
|
||||
this.button_Dokumente.Visibility = Visibility.Collapsed;
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
//DebugHelperViewButton.Visibility = Visibility.Visible;
|
||||
#if DEBUG
|
||||
//DebugHelperViewButton.Visibility = Visibility.Visible;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
public List<ModalViewWindow> OpenedModalViewWindows { get; set; }
|
||||
|
||||
|
||||
327
BeWo/View/Controls/Wohnhilfe/CustomerWohnhilfeControl.xaml
Normal file
327
BeWo/View/Controls/Wohnhilfe/CustomerWohnhilfeControl.xaml
Normal file
@@ -0,0 +1,327 @@
|
||||
<UserControl x:Class="BeWo.View.Controls.Wohnhilfe.CustomerWohnhilfeControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:BeWo.View.Controls.Wohnhilfe"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:CustomerWohnhilfeVM, IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="1450" d:DesignWidth="1800">
|
||||
<UserControl.Resources>
|
||||
<Style TargetType="GroupBox" BasedOn="{StaticResource ObjectEditGroupBox}">
|
||||
<Setter Property="Margin" Value="10"/>
|
||||
</Style>
|
||||
<Style x:Key="TitleLabel" TargetType="Label">
|
||||
<Setter Property="TextElement.FontSize" Value="16" />
|
||||
<Setter Property="TextElement.Foreground" Value="{StaticResource TabItemHotTextBrush}" />
|
||||
<Setter Property="TextElement.FontFamily" Value="Microsoft Sans Serif" />
|
||||
<Setter Property="Padding" Value="3,0,3,0" />
|
||||
<Setter Property="MinHeight" Value="20" />
|
||||
<Setter Property="HorizontalAlignment" Value="Center"/>
|
||||
<Setter Property="Margin" Value="3, 4, 3, 6"/>
|
||||
</Style>
|
||||
<DataTemplate x:Key="ListItemView">
|
||||
<TextBlock Text="{Binding Path=., Converter={StaticResource EnumTranslationConverter}}"/>
|
||||
</DataTemplate>
|
||||
<Style TargetType="uc:NullItemComboBox" BasedOn="{StaticResource {x:Type uc:NullItemComboBox}}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}"/>
|
||||
</Style>
|
||||
<Style TargetType="ComboBox" BasedOn="{StaticResource {x:Type ComboBox}}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="MinHeight" Value="23"/>
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}"/>
|
||||
</Style>
|
||||
<Style TargetType="RadioButton" BasedOn="{StaticResource {x:Type RadioButton}}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
</Style>
|
||||
<Style TargetType="dxe:DateEdit" BasedOn="{StaticResource {x:Type dxe:DateEdit}}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="Height" Value="23"/>
|
||||
</Style>
|
||||
<Style TargetType="CheckBox" BasedOn="{StaticResource {x:Type CheckBox}}">
|
||||
<Setter Property="Margin" Value="20, 3, 3, 3"/>
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!--<GroupBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4" x:Name="EintraegeGrid" Style="{StaticResource ObjectEditGroupBox}" Header="Notizen">
|
||||
|
||||
</GroupBox>-->
|
||||
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" DataContext="{Binding BereichBundVM}" Header="Bereich Bund">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0">Verbandszugehörigkeit der Eintrichtung</Label>
|
||||
<uc:NullItemComboBox Grid.Row="0" Grid.Column="1" SelectedValue="{Binding Verbandszugehorigkeit}" ItemsSource="{Binding VerbandszugehorigkeitTypes}"/>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">Geschlecht nach Personenstandsurkunde</Label>
|
||||
<uc:NullItemComboBox Grid.Row="1" Grid.Column="1" SelectedValue="{Binding Geschlecht}" ItemsSource="{Binding GeschlechtTypes}"/>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="0">Alter am Stichtag</Label>
|
||||
<dxe:TextEdit Grid.Row="2" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=AlterAmStichtag, UpdateSourceTrigger=PropertyChanged}" Mask="#########"/>
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">Haushaltsgröße</Label>
|
||||
<dxe:TextEdit Grid.Row="3" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True" Mask="N0"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Haushaltsgrosse, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">BerichtseinheitID</Label>
|
||||
<dxe:TextEdit Grid.Row="4" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True" Mask="00000000000"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=BerichtseinheitID, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">Unterbringungsort</Label>
|
||||
<uc:NullItemComboBox Grid.Row="5" Grid.Column="1" SelectedValue="{Binding Unterbringungsart}" ItemsSource="{Binding UnterbringungsartTypes}"/>
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">Ort der Unterbringung</Label>
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0">Angebot</Label>
|
||||
<uc:NullItemComboBox Grid.Row="7" Grid.Column="1" SelectedValue="{Binding Angebot}" ItemsSource="{Binding AngebotTypes}"/>
|
||||
</Grid>
|
||||
|
||||
<!--<Label Grid.Row="0" Grid.Column="0" Content="Eigenes Aktenzeichen" />
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Margin="3" Height="23" Text="{Binding Path=EigenesAktenzeichen, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Auftragseingang" IsEnabled="True" />
|
||||
<dxe:DateEdit Grid.Row="1" Grid.Column="1" Margin="3" Height="23" ShowClearButton="False" EditValue="{Binding Path=Auftragseingang, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>
|
||||
<Label Grid.Row="2" Grid.Column="0" Content="Auftragsherkunft" />
|
||||
<uc:NullItemComboBox x:Name="comboBox_Auftragsherkunft" Grid.Row="2" Grid.Column="1" Margin="3" Height="23" SelectedValue="{Binding Path=Auftragsherkunft, Mode=TwoWay}"
|
||||
ItemsSource="{Binding Path=Auftragsherkunfte}" MinWidth="30" HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>-->
|
||||
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" DataContext="{Binding BereichEinkommenUndArbeitVM}" Header="Bereich Einkommen und Arbeit">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Style="{StaticResource TitleLabel}">zu Beginn</Label>
|
||||
<Rectangle Grid.Row="0" Grid.Column="2" Grid.RowSpan="20" VerticalAlignment="Stretch" Fill="Black" Width="1" Margin="5,0,5,0"/>
|
||||
<Label Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2" Style="{StaticResource TitleLabel}">am Ende</Label>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">W2010 Einkommenssituation</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" SelectedValue="{Binding BeginnEinkommenssituation}" ItemsSource="{Binding EinkommenssituationTypes}"/>
|
||||
<Label Grid.Row="1" Grid.Column="3">W2030 Einkommenssituation</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="4" SelectedValue="{Binding EndeEinkommenssituation}" ItemsSource="{Binding EinkommenssituationTypes}"/>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="0">W2020 Aufstockung des Einkommens</Label>
|
||||
<ComboBox Grid.Row="2" Grid.Column="1" SelectedValue="{Binding BeginnAufstockungEinkommen}" ItemsSource="{Binding AufstockungEinkommenTypes}"/>
|
||||
<Label Grid.Row="2" Grid.Column="3">W2040 Aufstockung des Einkommens</Label>
|
||||
<ComboBox Grid.Row="2" Grid.Column="4" SelectedValue="{Binding EndeAufstockungEinkommen}" ItemsSource="{Binding AufstockungEinkommenTypes}"/>
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">W2050 Eigenes Bankkonto</Label>
|
||||
<ComboBox Grid.Row="3" Grid.Column="1" SelectedValue="{Binding BeginnEigenesBankkonto}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
<Label Grid.Row="3" Grid.Column="3">W2060 Eigenes Bankkonto</Label>
|
||||
<ComboBox Grid.Row="3" Grid.Column="4" SelectedValue="{Binding EndeEigenesBankkonto}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">W2070 Überschuldung</Label>
|
||||
<ComboBox Grid.Row="4" Grid.Column="1" SelectedValue="{Binding Uberschuldung}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">G2080 Höchster erreichter Berufsabschluss</Label>
|
||||
<ComboBox Grid.Row="5" Grid.Column="1" SelectedValue="{Binding Berufsabschluss}" ItemsSource="{Binding BerufsschulabschlussTypes}"/>
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">W2090 Erwerbsfähigkeit im Sinne des SGB:</Label>
|
||||
<ComboBox Grid.Row="6" Grid.Column="1" SelectedValue="{Binding ErwerbsfahigkeitSinnSGB}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0">W2100 Arbeits- und Beschäftigungssituation</Label>
|
||||
<ComboBox Grid.Row="7" Grid.Column="1" SelectedValue="{Binding BeginnBeschaftigungsstatus}" ItemsSource="{Binding BeschaftigungsstatusTypes}"/>
|
||||
<Label Grid.Row="7" Grid.Column="3">W2110 Arbeits- und Beschäftigungssituation</Label>
|
||||
<ComboBox Grid.Row="7" Grid.Column="4" SelectedValue="{Binding EndeBeschaftigungsstatus}" ItemsSource="{Binding BeschaftigungsstatusTypes}"/>
|
||||
|
||||
<Label Grid.Row="8" Grid.Column="0">W2120 Dauer der Arbeitslosigkeit</Label>
|
||||
<ComboBox Grid.Row="8" Grid.Column="1" SelectedValue="{Binding DauerArbeitslosigkeit}" ItemsSource="{Binding DauerArbeitslosigkeitTypes}"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" DataContext="{Binding BereichSozialeKontakteVM}" Header="Bereich Soziale Kontakte" >
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Style="{StaticResource TitleLabel}">zu Beginn</Label>
|
||||
<Rectangle Grid.Row="0" Grid.Column="2" Grid.RowSpan="20" VerticalAlignment="Stretch" Fill="Black" Width="1" Margin="5,0,5,0"/>
|
||||
<Label Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2" Style="{StaticResource TitleLabel}">am Ende</Label>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">W4010 Soziale Kontakte</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" SelectedValue="{Binding BeginnSozialeKontakte}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
<Label Grid.Row="1" Grid.Column="3">W4020 Soziale Kontakte</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="4" SelectedValue="{Binding EndeSozialeKontakte}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<CheckBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="20, -3, 3, 3" IsChecked="{Binding BeginnKontaktPartner}">zu Partner/Partnerin</CheckBox>
|
||||
<CheckBox Grid.Row="2" Grid.Column="3" Grid.ColumnSpan="2" Margin="20, -3, 3, 3" IsChecked="{Binding EndeKontaktPartner}">zu Partner/Partnerin</CheckBox>
|
||||
|
||||
<CheckBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" IsChecked="{Binding BeginnKontaktMindKinder}">zu eigenen minderjährigen Kindern</CheckBox>
|
||||
<CheckBox Grid.Row="3" Grid.Column="3" Grid.ColumnSpan="2" IsChecked="{Binding EndeKontaktMindKinder}">zu eigenen minderjährigen Kindern</CheckBox>
|
||||
|
||||
<CheckBox Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" IsChecked="{Binding BeginnKontaktVolljahrKinderElternVerwandten}">zu volljährigen Kindern, Eltern, Verwandten</CheckBox>
|
||||
<CheckBox Grid.Row="4" Grid.Column="3" Grid.ColumnSpan="2" IsChecked="{Binding EndeKontaktVolljahrKinderElternVerwandten}">zu volljährigen Kindern, Eltern, Verwandten</CheckBox>
|
||||
|
||||
<CheckBox Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" IsChecked="{Binding BeginnKontaktFreundenBekannten}">zu Freunden/Freundinnen, Bekannten</CheckBox>
|
||||
<CheckBox Grid.Row="5" Grid.Column="3" Grid.ColumnSpan="2" IsChecked="{Binding EndeKontaktFreundenBekannten}">zu Freunden/Freundinnen, Bekannten</CheckBox>
|
||||
|
||||
<CheckBox Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2" IsChecked="{Binding BeginnKontaktSelbsthilfe}">zu Selbsthilfeorganisationen, Nachbarn, Vereinen, Kirchengemeinden u. ä.</CheckBox>
|
||||
<CheckBox Grid.Row="6" Grid.Column="3" Grid.ColumnSpan="2" IsChecked="{Binding EndeKontaktSelbsthilfe}">zu Selbsthilfeorganisationen, Nachbarn, Vereinen, Kirchengemeinden u. ä.</CheckBox>
|
||||
|
||||
<CheckBox Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="2" Margin="20, 3, 3, 6" IsChecked="{Binding BeginnKontaktSonstige}">sonstige</CheckBox>
|
||||
<CheckBox Grid.Row="7" Grid.Column="3" Grid.ColumnSpan="2" Margin="20, 3, 3, 6" IsChecked="{Binding EndeKontaktSonstige}">sonstige</CheckBox>
|
||||
|
||||
<Label Grid.Row="8" Grid.Column="0">W4030 Krankenversicherung</Label>
|
||||
<ComboBox Grid.Row="8" Grid.Column="1" SelectedValue="{Binding BeginnKrankenversicherung}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
<Label Grid.Row="8" Grid.Column="3">W4040 Krankenversicherung</Label>
|
||||
<ComboBox Grid.Row="8" Grid.Column="4" SelectedValue="{Binding EndeKrankenversicherung}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="9" Grid.Column="0">W4050 Kontakt zu e. Arzt innerhalb der letzten 6 Monate</Label>
|
||||
<ComboBox Grid.Row="9" Grid.Column="1" SelectedValue="{Binding BeginnKontaktArzt}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
<Label Grid.Row="9" Grid.Column="3">W4060 Kontakt zu e. Arzt innerhalb der letzten 6 Monate</Label>
|
||||
<ComboBox Grid.Row="9" Grid.Column="4" SelectedValue="{Binding EndeKontaktArzt}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="10" Grid.Column="0">W4070 Vorlage eines Schwerbegindertenausweises</Label>
|
||||
<ComboBox Grid.Row="10" Grid.Column="1" SelectedValue="{Binding VorlageSchwerbehindertenausweises}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="1" Grid.Column="0" DataContext="{Binding BereichSozialstrukturVM}" Header="Bereich Sozialstruktur" >
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="0">K0110 Bundesland</Label>
|
||||
<ComboBox Grid.Row="0" Grid.Column="1" SelectedValue="{Binding Bundesland}" ItemsSource="{Binding BundeslandTypes}"/>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">K0120 Art des Hilfefelds</Label>
|
||||
<StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal">
|
||||
<RadioButton GroupName="Art" IsChecked="{Binding IsWohnungslosenhilfe}">Wohnungslosenhilfe</RadioButton>
|
||||
<RadioButton GroupName="Art" IsChecked="{Binding IsStraffaligenhilfe}">Straffälligenhilfe</RadioButton>
|
||||
</StackPanel>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="0">K0130 Art des Hilfeangebots</Label>
|
||||
<ComboBox Grid.Row="2" Grid.Column="1" SelectedValue="{Binding ArtDesHilfeangebots}" ItemsSource="{Binding ArtDesHilfeangebotsTypes}"/>
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">K0140 Betreuungsbeginn</Label>
|
||||
<dxe:DateEdit Grid.Row="3" Grid.Column="1" EditValue="{Binding Path=Betreuungsbeginn, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">K0150 Betreuungsende</Label>
|
||||
<dxe:DateEdit Grid.Row="4" Grid.Column="1" ShowClearButton="True" EditValue="{Binding Path=Betreuungsende, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">K0160 Betreuungsdauer in Tagen</Label>
|
||||
<dxe:TextEdit Grid.Row="5" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True" Mask="#######"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=BetreuungsdauerInTagen, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">G7010 Art der Beendigung</Label>
|
||||
<ComboBox Grid.Row="6" Grid.Column="1" SelectedValue="{Binding ArtDerBeendigung}" ItemsSource="{Binding ArtDerBeendigungTypes}"/>
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0">G1010 Geburtsdatum</Label>
|
||||
<dxe:DateEdit Grid.Row="7" Grid.Column="1" EditValue="{Binding Path=Geburtsdatum, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Grid.Row="8" Grid.Column="0">G1020 Geschlechtsidentität</Label>
|
||||
<ComboBox Grid.Row="8" Grid.Column="1" SelectedValue="{Binding Geschlechtidentitat}" ItemsSource="{Binding GeschlechtidentitatTypes}"/>
|
||||
|
||||
<Label Grid.Row="9" Grid.Column="0">G1030 Staatsangehörigkeit</Label>
|
||||
<ComboBox Grid.Row="9" Grid.Column="1" SelectedValue="{Binding Staatsangehorigkeit}" ItemsSource="{Binding StaatsangehorigkeitTypes}"/>
|
||||
|
||||
<Label Grid.Row="10" Grid.Column="0">G1040 Aufenthaltsstatus</Label>
|
||||
<ComboBox Grid.Row="10" Grid.Column="1" SelectedValue="{Binding Aufenthaltsstatus}" ItemsSource="{Binding AufenthaltsstatusTypes}"/>
|
||||
|
||||
<Label Grid.Row="11" Grid.Column="0">W1060 Höchster erreichter Schulabschluss</Label>
|
||||
<ComboBox Grid.Row="11" Grid.Column="1" SelectedValue="{Binding HochsterSchulabschluss}" ItemsSource="{Binding HochsterSchulabschlussTypes}"/>
|
||||
|
||||
<Label Grid.Row="12" Grid.Column="0">G1070 Familienstand</Label>
|
||||
<ComboBox Grid.Row="12" Grid.Column="1" SelectedValue="{Binding Familienstand}" ItemsSource="{Binding FamilienstandTypes}"/>
|
||||
|
||||
<Label Grid.Row="13" Grid.Column="0">G1080 Haushaltsstruktur</Label>
|
||||
<ComboBox Grid.Row="13" Grid.Column="1" SelectedValue="{Binding Haushaltsstruktur}" ItemsSource="{Binding HaushaltsstrukturTypes}"/>
|
||||
|
||||
<Label Grid.Row="14" Grid.Column="0" Grid.ColumnSpan="2">G1090 Eigene minderjährige Kinder außerhalb der Haushaltsstruktur</Label>
|
||||
<ComboBox Grid.Row="15" Grid.Column="1" Margin="3, -2, 3, 3" SelectedValue="{Binding EigeneMindKinderAuserhalbHaushaltsstruktur}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace BeWo.View.Controls.Wohnhilfe
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für CustomerWohnhilfeControl.xaml
|
||||
/// </summary>
|
||||
public partial class CustomerWohnhilfeControl : UserControl
|
||||
{
|
||||
public CustomerWohnhilfeControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -613,7 +613,7 @@
|
||||
<TabItem Header="{markup:Translate CustomerNotizen}" Name="tabitem_notizen" Selector.Selected="tabitem_notizen_Selected" />
|
||||
<TabItem Header="Schulbegleitender Dienst" Name="tabitem_schuldienst" Selector.Selected="tabitem_SchulDienst_Selected" />
|
||||
<TabItem Header="Falldaten" Name="tabitem_falldaten" Selector.Selected="tabitem_falldaten_Selected" Visibility="{Binding Path=PermissionFalldatenView, Converter={StaticResource BoolVisibilityConverter}}"/>
|
||||
<TabItem Header="Wohnhilfe" Visibility="{Binding Path=PermissionWohnhilfeView, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<TabItem Header="Wohnhilfe" Name="tabitem_wohnhilfe" Visibility="{Binding Path=PermissionWohnhilfeView, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<detail:CustomerWohnhilfeView/>
|
||||
</TabItem>
|
||||
<TabItem Header="{markup:Translate CustomerStundenplan}" Name="tabitem_stundenplan" Selector.Selected="tabitem_stundenplan_Selected" />
|
||||
|
||||
@@ -275,6 +275,13 @@ namespace BeWo.View.Detail
|
||||
}
|
||||
|
||||
Img.EditValueChanged += Image_EditValueChanged;
|
||||
|
||||
#if DEBUG
|
||||
if(DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.DebugConfigMode == DebugConfigMode.FeatureWohnhilfe)
|
||||
{
|
||||
tabroot.SelectedItem = tabitem_wohnhilfe;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void Image_EditValueChanged(object sender, DevExpress.Xpf.Editors.EditValueChangedEventArgs e)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVM, IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
@@ -21,30 +21,6 @@
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<Style TargetType="GroupBox" BasedOn="{StaticResource ObjectEditGroupBox}">
|
||||
<Setter Property="Margin" Value="0"/>
|
||||
</Style>
|
||||
<Style x:Key="TitleLabel" TargetType="Label">
|
||||
<Setter Property="TextElement.FontSize" Value="16" />
|
||||
<Setter Property="TextElement.Foreground" Value="{StaticResource TabItemHotTextBrush}" />
|
||||
<Setter Property="TextElement.FontFamily" Value="Microsoft Sans Serif" />
|
||||
<Setter Property="Padding" Value="3,0,3,0" />
|
||||
<Setter Property="MinHeight" Value="20" />
|
||||
<Setter Property="HorizontalAlignment" Value="Center"/>
|
||||
<Setter Property="Margin" Value="3, 4, 3, 6"/>
|
||||
</Style>
|
||||
<DataTemplate x:Key="ListItemView">
|
||||
<TextBlock Text="{Binding Path=., Converter={StaticResource EnumTranslationConverter}}"/>
|
||||
</DataTemplate>
|
||||
<Style TargetType="uc:NullItemComboBox" BasedOn="{StaticResource {x:Type uc:NullItemComboBox}}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}"/>
|
||||
</Style>
|
||||
<Style TargetType="ComboBox" BasedOn="{StaticResource {x:Type ComboBox}}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="MinHeight" Value="23"/>
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}"/>
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<Grid DataContext="{Binding CustomerWohnhilfeListVM}">
|
||||
@@ -102,147 +78,7 @@
|
||||
</TabControl.ItemTemplate>
|
||||
<TabControl.ContentTemplate>
|
||||
<DataTemplate>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!--<GroupBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4" x:Name="EintraegeGrid" Style="{StaticResource ObjectEditGroupBox}" Header="Notizen">
|
||||
|
||||
</GroupBox>-->
|
||||
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Margin="20, 20, 10, 10" DataContext="{Binding BereichBundVM}" Header="Bereich Bund">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0">Verbandszugehörigkeit der Eintrichtung</Label>
|
||||
<uc:NullItemComboBox Grid.Row="0" Grid.Column="1" SelectedValue="{Binding Verbandszugehorigkeit}" ItemsSource="{Binding VerbandszugehorigkeitTypes}"/>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">Geschlecht nach Personenstandsurkunde</Label>
|
||||
<uc:NullItemComboBox Grid.Row="1" Grid.Column="1" SelectedValue="{Binding Geschlecht}" ItemsSource="{Binding GeschlechtTypes}"/>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="0">Alter am Stichtag</Label>
|
||||
<dxe:TextEdit Grid.Row="2" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=AlterAmStichtag, UpdateSourceTrigger=PropertyChanged}" Mask="#########"/>
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">Haushaltsgröße</Label>
|
||||
<dxe:TextEdit Grid.Row="3" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True" Mask="N0"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Haushaltsgrosse, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">BerichtseinheitID</Label>
|
||||
<dxe:TextEdit Grid.Row="4" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True" Mask="00000000000"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=BerichtseinheitID, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">Unterbringungsort</Label>
|
||||
<uc:NullItemComboBox Grid.Row="5" Grid.Column="1" SelectedValue="{Binding Unterbringungsart}" ItemsSource="{Binding UnterbringungsartTypes}"/>
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">Ort der Unterbringung</Label>
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0">Angebot</Label>
|
||||
<uc:NullItemComboBox Grid.Row="7" Grid.Column="1" SelectedValue="{Binding Angebot}" ItemsSource="{Binding AngebotTypes}"/>
|
||||
</Grid>
|
||||
|
||||
<!--<Label Grid.Row="0" Grid.Column="0" Content="Eigenes Aktenzeichen" />
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Margin="3" Height="23" Text="{Binding Path=EigenesAktenzeichen, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Auftragseingang" IsEnabled="True" />
|
||||
<dxe:DateEdit Grid.Row="1" Grid.Column="1" Margin="3" Height="23" ShowClearButton="False" EditValue="{Binding Path=Auftragseingang, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>
|
||||
<Label Grid.Row="2" Grid.Column="0" Content="Auftragsherkunft" />
|
||||
<uc:NullItemComboBox x:Name="comboBox_Auftragsherkunft" Grid.Row="2" Grid.Column="1" Margin="3" Height="23" SelectedValue="{Binding Path=Auftragsherkunft, Mode=TwoWay}"
|
||||
ItemsSource="{Binding Path=Auftragsherkunfte}" MinWidth="30" HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>-->
|
||||
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="0" Grid.Column="1" DataContext="{Binding BereichEinkommenUndArbeitVM}" Header="Bereich Einkommen und Arbeit" Margin="10, 20, 20, 10">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Style="{StaticResource TitleLabel}">zu Beginn</Label>
|
||||
<Rectangle Grid.Row="0" Grid.Column="2" Grid.RowSpan="20" VerticalAlignment="Stretch" Fill="Black" Width="1"/>
|
||||
<Label Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2" Style="{StaticResource TitleLabel}">am Ende</Label>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">W2010 Einkommenssituation</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" SelectedValue="{Binding BeginnEinkommenssituation}" ItemsSource="{Binding EinkommenssituationTypes}"/>
|
||||
<Label Grid.Row="1" Grid.Column="3">W2030 Einkommenssituation</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="4" SelectedValue="{Binding EndeEinkommenssituation}" ItemsSource="{Binding EinkommenssituationTypes}"/>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="0">W2020 Aufstockung des Einkommens</Label>
|
||||
<ComboBox Grid.Row="2" Grid.Column="1" SelectedValue="{Binding BeginnAufstockungEinkommen}" ItemsSource="{Binding AufstockungEinkommenTypes}"/>
|
||||
<Label Grid.Row="2" Grid.Column="3">W2040 Aufstockung des Einkommens</Label>
|
||||
<ComboBox Grid.Row="2" Grid.Column="4" SelectedValue="{Binding EndeAufstockungEinkommen}" ItemsSource="{Binding AufstockungEinkommenTypes}"/>
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">W2050 Eigenes Bankkonto</Label>
|
||||
<ComboBox Grid.Row="3" Grid.Column="1" SelectedValue="{Binding BeginnEigenesBankkonto}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
<Label Grid.Row="3" Grid.Column="3">W2060 Eigenes Bankkonto</Label>
|
||||
<ComboBox Grid.Row="3" Grid.Column="4" SelectedValue="{Binding EndeEigenesBankkonto}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">W2070 Überschuldung</Label>
|
||||
<ComboBox Grid.Row="4" Grid.Column="1" SelectedValue="{Binding Uberschuldung}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">G2080 Höchster erreichter Berufsabschluss</Label>
|
||||
<ComboBox Grid.Row="5" Grid.Column="1" SelectedValue="{Binding Berufsabschluss}" ItemsSource="{Binding BerufsschulabschlussTypes}"/>
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">W2090 Erwerbsfähigkeit im Sinne des SGB:</Label>
|
||||
<ComboBox Grid.Row="6" Grid.Column="1" SelectedValue="{Binding ErwerbsfahigkeitSinnSGB}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0">W2100 Arbeits- und Beschäftigungssituation</Label>
|
||||
<ComboBox Grid.Row="7" Grid.Column="1" SelectedValue="{Binding BeginnBeschaftigungsstatus}" ItemsSource="{Binding BeschaftigungsstatusTypes}"/>
|
||||
<Label Grid.Row="7" Grid.Column="3">W2110 Arbeits- und Beschäftigungssituation</Label>
|
||||
<ComboBox Grid.Row="7" Grid.Column="4" SelectedValue="{Binding EndeBeschaftigungsstatus}" ItemsSource="{Binding BeschaftigungsstatusTypes}"/>
|
||||
|
||||
<Label Grid.Row="8" Grid.Column="0">W2120 Dauer der Arbeitslosigkeit</Label>
|
||||
<ComboBox Grid.Row="8" Grid.Column="1" SelectedValue="{Binding DauerArbeitslosigkeit}" ItemsSource="{Binding DauerArbeitslosigkeitTypes}"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="1" Grid.Column="1" Header="Bereich Soziale Kontakte" Margin="10, 10, 20, 20">
|
||||
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="1" Grid.Column="0" Header="Bereich Sozialstruktur" Margin="20, 10, 10, 20">
|
||||
|
||||
</GroupBox>
|
||||
|
||||
</Grid>
|
||||
<wohnhilfe:CustomerWohnhilfeControl DataContext="{Binding}"/>
|
||||
</DataTemplate>
|
||||
</TabControl.ContentTemplate>
|
||||
</TabControl>
|
||||
|
||||
@@ -338,7 +338,14 @@ namespace BeWo.View.Navigation
|
||||
}
|
||||
|
||||
mainNavigationView.ShowHistory(recentList);
|
||||
})
|
||||
|
||||
#if DEBUG
|
||||
if(DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.SelectView == UIContext.Customer)
|
||||
{
|
||||
mainNavigationView_OpenObject(recentList.FirstOrDefault() ?? objectList.FirstOrDefault());
|
||||
}
|
||||
#endif
|
||||
})
|
||||
);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -241,8 +241,6 @@ namespace BeWo.ViewModel
|
||||
|
||||
public CustomerVM()
|
||||
{
|
||||
// Designer
|
||||
InitByDataContract(new CustomerDC());
|
||||
|
||||
}
|
||||
public CustomerVM(CustomerDC pDataContract, IEnumerable<ValueListEntryDC> pValueList, List<AssessmentSheetCategoryDC> pPossibleASCs, List<AssessmentSheetValueDC> pPossibleASVs, List<MedArtDC> pPossibleMedArten) : base(pDataContract, pDataContract.CustomerOid == null)
|
||||
@@ -2019,13 +2017,6 @@ namespace BeWo.ViewModel
|
||||
|
||||
MedVerordnungslisten = VMFactory.CreateMedikementenverordnungslisteListVM(pDataContract.Medikamentenverordnungslisten);
|
||||
|
||||
pDataContract.CustomerWohnhilfeDC = new List<CustomerWohnhilfeDC>();
|
||||
pDataContract.CustomerWohnhilfeDC.Add(new CustomerWohnhilfeDC());
|
||||
pDataContract.CustomerWohnhilfeDC.Add(new CustomerWohnhilfeDC());
|
||||
pDataContract.CustomerWohnhilfeDC.Add(new CustomerWohnhilfeDC());
|
||||
pDataContract.CustomerWohnhilfeDC.Add(new CustomerWohnhilfeDC());
|
||||
pDataContract.CustomerWohnhilfeDC.Add(new CustomerWohnhilfeDC());
|
||||
|
||||
CustomerWohnhilfeListVM = new CustomerWohnhilfeListVM(this, pDataContract.CustomerWohnhilfeDC ?? (pDataContract.CustomerWohnhilfeDC = new List<CustomerWohnhilfeDC>()));
|
||||
}
|
||||
protected override CustomerDC MapToDataContract(CustomerDC pDataContract, bool doCommit)
|
||||
|
||||
@@ -22,6 +22,19 @@ namespace BeWo.ViewModel
|
||||
private CustomerWohnhilfeBereichSozialeKontakteVM _BereichSozialeKontakteVM;
|
||||
private CustomerWohnhilfeBereichSozialstrukturVM _BereichSozialstrukturVM;
|
||||
|
||||
public CustomerWohnhilfeVM()
|
||||
{
|
||||
_BereichBundVM = new CustomerWohnhilfeBereichBundVM();
|
||||
|
||||
_BereichBundVM.Verbandszugehorigkeit = BS.Shared.DataContracts.Wohnhilfe.Verbandszugehorigkeit.Arbeiterwohlfahrt;
|
||||
_BereichBundVM.Geschlecht = BS.Shared.DataContracts.Wohnhilfe.Geschlecht.Mannlich;
|
||||
_BereichBundVM.AlterAmStichtag = 1000;
|
||||
|
||||
_BereichEinkommenUndArbeitVM = new CustomerWohnhilfeBereichEinkommenUndArbeitVM();
|
||||
_BereichSozialeKontakteVM = new CustomerWohnhilfeBereichSozialeKontakteVM();
|
||||
_BereichSozialstrukturVM = new CustomerWohnhilfeBereichSozialstrukturVM();
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeVM(CustomerWohnhilfeDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
|
||||
@@ -191,6 +191,8 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
SelectedVM = _NewVM;
|
||||
}
|
||||
|
||||
FirePropertyChanged(nameof(VMList));
|
||||
|
||||
NewVM = null;
|
||||
return EditVM;
|
||||
}
|
||||
@@ -234,6 +236,8 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
}
|
||||
|
||||
VMList.Remove(SelectedVM);
|
||||
|
||||
FirePropertyChanged(nameof(VMList));
|
||||
}
|
||||
|
||||
public virtual List<DCType> GetRemoved()
|
||||
|
||||
@@ -17,6 +17,8 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
|
||||
public CustomerVM Customer { get; set; }
|
||||
|
||||
public CustomerWohnhilfeListVM() { }
|
||||
|
||||
public CustomerWohnhilfeListVM(CustomerVM vm, IEnumerable<CustomerWohnhilfeDC> wohnhilfe) : base(wohnhilfe)
|
||||
{
|
||||
Customer = vm;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Validation;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
@@ -19,6 +20,13 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
private int? _OrtDerEinrichtung;
|
||||
private Angebot? _Angebot;
|
||||
|
||||
public CustomerWohnhilfeBereichBundVM()
|
||||
{
|
||||
_Verbandszugehorigkeit = BS.Shared.DataContracts.Wohnhilfe.Verbandszugehorigkeit.Arbeiterwohlfahrt;
|
||||
_Geschlecht = BS.Shared.DataContracts.Wohnhilfe.Geschlecht.Mannlich;
|
||||
_AlterAmStichtag = 1000;
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichBundVM(CustomerWohnhilfeBereichBundDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
|
||||
@@ -22,6 +22,12 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
private Beschaftigungsstatus _EndeBeschaftigungsstatus;
|
||||
private DauerArbeitslosigkeit _DauerArbeitslosigkeit;
|
||||
|
||||
public CustomerWohnhilfeBereichEinkommenUndArbeitVM() {
|
||||
_BeginnEinkommenssituation = Einkommenssituation.NichtAbgefragt;
|
||||
_EndeEinkommenssituation = Einkommenssituation.SBG3Arbeitslosengeld1;
|
||||
_Uberschuldung = WohnhilfeBoolData.Ja;
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichEinkommenUndArbeitVM(CustomerWohnhilfeBereichEinkommenUndArbeitDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
|
||||
@@ -29,6 +29,13 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
private KontaktArzt _EndeKontaktArzt;
|
||||
private WohnhilfeBoolData _VorlageSchwerbehindertenausweises;
|
||||
|
||||
public CustomerWohnhilfeBereichSozialeKontakteVM()
|
||||
{
|
||||
_BeginnSozialeKontakte = WohnhilfeBoolData.Ja;
|
||||
_BeginnKontaktPartner = true;
|
||||
_EndeKrankenversicherung = Krankenversicherung.Nein;
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichSozialeKontakteVM(CustomerWohnhilfeBereichSozialeKontakteDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
public class CustomerWohnhilfeBereichSozialstrukturVM : AbstractDCMapperVM<CustomerWohnhilfeBereichSozialstrukturDC>
|
||||
{
|
||||
private Bundesland? _Bundesland;
|
||||
private bool _IsWohnungslosenhilfe;
|
||||
private ArtDesHilfeangebots? _ArtDesHilfeangebots;
|
||||
private bool? _IsWohnungslosenhilfe;
|
||||
private ArtDesHilfeangebots _ArtDesHilfeangebots;
|
||||
private DateTime? _Betreuungsbeginn;
|
||||
private DateTime? _Betreuungsende;
|
||||
private int? _BetreuungsdauerInTagen;
|
||||
@@ -22,9 +22,17 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
private Aufenthaltsstatus _Aufenthaltsstatus;
|
||||
private WohnhilfeBoolData _Migrationshintergrund;
|
||||
private HochsterSchulabschluss _HochsterSchulabschluss;
|
||||
private Familienstand _Familienstand;
|
||||
private Haushaltsstruktur _Haushaltsstruktur;
|
||||
private WohnhilfeBoolData _EigeneMindKinderAuserhalbHaushaltsstruktur;
|
||||
|
||||
public CustomerWohnhilfeBereichSozialstrukturVM()
|
||||
{
|
||||
_Bundesland = BS.Shared.DataContracts.Wohnhilfe.Bundesland.Bayern;
|
||||
_IsWohnungslosenhilfe = true;
|
||||
_ArtDesHilfeangebots = BS.Shared.DataContracts.Wohnhilfe.ArtDesHilfeangebots.vollstationär;
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichSozialstrukturVM(CustomerWohnhilfeBereichSozialstrukturDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
@@ -33,10 +41,12 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
public IEnumerable<WohnhilfeBoolData> WohnhilfeBoolDataTypes => Utils.GetAllEnumValues<WohnhilfeBoolData>();
|
||||
public IEnumerable<Bundesland> BundeslandTypes => Utils.GetAllEnumValues<Bundesland>();
|
||||
public IEnumerable<ArtDesHilfeangebots> ArtDesHilfeangebotsTypes => Utils.GetAllEnumValues<ArtDesHilfeangebots>();
|
||||
public IEnumerable<ArtDerBeendigung> ArtDerBeendigungTypes => Utils.GetAllEnumValues<ArtDerBeendigung>();
|
||||
public IEnumerable<Geschlechtidentitat> GeschlechtidentitatTypes => Utils.GetAllEnumValues<Geschlechtidentitat>();
|
||||
public IEnumerable<Staatsangehorigkeit> StaatsangehorigkeitTypes => Utils.GetAllEnumValues<Staatsangehorigkeit>();
|
||||
public IEnumerable<Aufenthaltsstatus> AufenthaltsstatusTypes => Utils.GetAllEnumValues<Aufenthaltsstatus>();
|
||||
public IEnumerable<HochsterSchulabschluss> HochsterSchulabschlussTypes => Utils.GetAllEnumValues<HochsterSchulabschluss>();
|
||||
public IEnumerable<Familienstand> FamilienstandTypes => Utils.GetAllEnumValues<Familienstand>();
|
||||
public IEnumerable<Haushaltsstruktur> HaushaltsstrukturTypes => Utils.GetAllEnumValues<Haushaltsstruktur>();
|
||||
|
||||
public Bundesland? Bundesland
|
||||
@@ -53,9 +63,9 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsWohnungslosenhilfe
|
||||
public bool? IsWohnungslosenhilfe
|
||||
{
|
||||
get { return _IsWohnungslosenhilfe; }
|
||||
get { return _IsWohnungslosenhilfe ?? false; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_IsWohnungslosenhilfe, value))
|
||||
@@ -64,10 +74,22 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
_IsWohnungslosenhilfe = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.IsWohnungslosenhilfe, value), nameof(IsWohnungslosenhilfe));
|
||||
FirePropertyChanged(nameof(IsWohnungslosenhilfe));
|
||||
FirePropertyChanged(nameof(IsStraffaligenhilfe));
|
||||
}
|
||||
}
|
||||
|
||||
public ArtDesHilfeangebots? ArtDesHilfeangebots
|
||||
public bool? IsStraffaligenhilfe
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_IsWohnungslosenhilfe is null)
|
||||
return false;
|
||||
return !IsWohnungslosenhilfe;
|
||||
}
|
||||
set { IsWohnungslosenhilfe = !value; }
|
||||
}
|
||||
|
||||
public ArtDesHilfeangebots ArtDesHilfeangebots
|
||||
{
|
||||
get { return _ArtDesHilfeangebots; }
|
||||
set
|
||||
@@ -221,6 +243,20 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
}
|
||||
}
|
||||
|
||||
public Familienstand Familienstand
|
||||
{
|
||||
get { return _Familienstand; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Familienstand, value))
|
||||
return;
|
||||
|
||||
_Familienstand = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Familienstand, value), nameof(Familienstand));
|
||||
FirePropertyChanged(nameof(Familienstand));
|
||||
}
|
||||
}
|
||||
|
||||
public Haushaltsstruktur Haushaltsstruktur
|
||||
{
|
||||
get { return _Haushaltsstruktur; }
|
||||
@@ -264,6 +300,7 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
_Aufenthaltsstatus = pDataContract.Aufenthaltsstatus;
|
||||
_Migrationshintergrund = pDataContract.Migrationshintergrund;
|
||||
_HochsterSchulabschluss = pDataContract.HochsterSchulabschluss;
|
||||
_Familienstand = pDataContract.Familienstand;
|
||||
_Haushaltsstruktur = pDataContract.Haushaltsstruktur;
|
||||
_EigeneMindKinderAuserhalbHaushaltsstruktur = pDataContract.EigeneMindKinderAuserhalbHaushaltsstruktur;
|
||||
}
|
||||
@@ -283,6 +320,7 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
pDataContract.Aufenthaltsstatus = _Aufenthaltsstatus;
|
||||
pDataContract.Migrationshintergrund = _Migrationshintergrund;
|
||||
pDataContract.HochsterSchulabschluss = _HochsterSchulabschluss;
|
||||
pDataContract.Familienstand = _Familienstand;
|
||||
pDataContract.Haushaltsstruktur = _Haushaltsstruktur;
|
||||
pDataContract.EigeneMindKinderAuserhalbHaushaltsstruktur = _EigeneMindKinderAuserhalbHaushaltsstruktur;
|
||||
|
||||
|
||||
@@ -896,6 +896,8 @@ namespace BS.Shared.Core
|
||||
{
|
||||
var dict = new Dictionary<Enum, string>();
|
||||
|
||||
var nicht_abgefragt = "";// "nicht abgefragt";
|
||||
|
||||
dict.Add(FalldatenBearbeitungsstatus.NoProgress, "Keine Bearbeitung");
|
||||
dict.Add(FalldatenBearbeitungsstatus.InProgress, "In Bearbeitung");
|
||||
dict.Add(FalldatenBearbeitungsstatus.Finished, "Fertig");
|
||||
@@ -928,7 +930,7 @@ namespace BS.Shared.Core
|
||||
dict.Add(WohnhilfeBoolData.Ja, "ja");
|
||||
dict.Add(WohnhilfeBoolData.KeineAngabe, "keine Angabe");
|
||||
dict.Add(WohnhilfeBoolData.Nein, "nein");
|
||||
dict.Add(WohnhilfeBoolData.NichtAbgefragt, "nicht angefragt");
|
||||
dict.Add(WohnhilfeBoolData.NichtAbgefragt, nicht_abgefragt);
|
||||
|
||||
//dict.Add(SozialKontakte.Ja, "ja");
|
||||
//dict.Add(SozialKontakte.KeineAngabe, "keine Angabe");
|
||||
@@ -939,7 +941,7 @@ namespace BS.Shared.Core
|
||||
dict.Add(Krankenversicherung.JaUneingeschrankt, "Ja, in uneingeschränktem Maße");
|
||||
dict.Add(Krankenversicherung.KeineAngabe, "keine Angabe");
|
||||
dict.Add(Krankenversicherung.Nein, "nein");
|
||||
dict.Add(Krankenversicherung.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(Krankenversicherung.NichtAbgefragt, nicht_abgefragt);
|
||||
dict.Add(Krankenversicherung.Ungeklart, "ungeklärt");
|
||||
|
||||
dict.Add(KontaktArzt.JaImRegelsystem, "ja, im Regelsystem");
|
||||
@@ -947,8 +949,8 @@ namespace BS.Shared.Core
|
||||
dict.Add(KontaktArzt.JaZurNotfallbehandlung, "ja, zur Notfallbehandlung");
|
||||
dict.Add(KontaktArzt.KeineAngabe, "keine Angabe");
|
||||
dict.Add(KontaktArzt.Nein, "nein");
|
||||
dict.Add(KontaktArzt.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(KontaktArzt.Ungeklart, "Ungeklärt");
|
||||
dict.Add(KontaktArzt.NichtAbgefragt, nicht_abgefragt);
|
||||
dict.Add(KontaktArzt.Ungeklart, "ungeklärt");
|
||||
|
||||
//dict.Add(VorlageSchwerbehindertenausweises.Ja, "ja");
|
||||
//dict.Add(VorlageSchwerbehindertenausweises.KeineAngabe, "keine Angabe");
|
||||
@@ -958,7 +960,7 @@ namespace BS.Shared.Core
|
||||
dict.Add(Einkommenssituation.EinkommenErwerbsBerufstatig, "Einkommen aus Erwerbs- oder Berufstätigkeit");
|
||||
dict.Add(Einkommenssituation.KeineAngabe, "keine Angabe");
|
||||
dict.Add(Einkommenssituation.KeinEinkommen, "kein Einkommen");
|
||||
dict.Add(Einkommenssituation.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(Einkommenssituation.NichtAbgefragt, nicht_abgefragt);
|
||||
dict.Add(Einkommenssituation.RentePension, "Rente, Pension");
|
||||
dict.Add(Einkommenssituation.SBG12Sozialhilfe, "SGB XII / Sozialhilfe");
|
||||
dict.Add(Einkommenssituation.SBG3Arbeitslosengeld1, "SGB III / Arbeitslosengeld I");
|
||||
@@ -972,7 +974,7 @@ namespace BS.Shared.Core
|
||||
dict.Add(AufstockungEinkommen.ErganzendeEinkommenSGB2, "ergänzende Einkommen zu SGB II");
|
||||
dict.Add(AufstockungEinkommen.KeineAngabe, "keine Angabe");
|
||||
dict.Add(AufstockungEinkommen.KeineAufstockendeLeistungen, "keine aufstockenden Leistungen");
|
||||
dict.Add(AufstockungEinkommen.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(AufstockungEinkommen.NichtAbgefragt, nicht_abgefragt);
|
||||
|
||||
//dict.Add(EigenesBankkonto.Ja, "ja");
|
||||
//dict.Add(EigenesBankkonto.KeineAngabe, "keine Angabe");
|
||||
@@ -989,7 +991,7 @@ namespace BS.Shared.Core
|
||||
dict.Add(Berufsabschluss.Hochschule, "Fachschul- oder (Fach-) Hochschulbezogener Berufsabschluss");
|
||||
dict.Add(Berufsabschluss.Keine, "keine abgeschlossene berufliche Ausbildung");
|
||||
dict.Add(Berufsabschluss.KeineAngabe, "keine Angabe");
|
||||
dict.Add(Berufsabschluss.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(Berufsabschluss.NichtAbgefragt, nicht_abgefragt);
|
||||
dict.Add(Berufsabschluss.SonstigerAbschluss, "sonstiger Abschluss");
|
||||
|
||||
//dict.Add(ErwerbsfahigkeitSinnSGB.Ja, "ja");
|
||||
@@ -1001,7 +1003,7 @@ namespace BS.Shared.Core
|
||||
dict.Add(Beschaftigungsstatus.DritterArbeitsmarkt, "dritter Arbeitsmarkt");
|
||||
dict.Add(Beschaftigungsstatus.ErsterArbeitsmarkt, "erster Arbeitsmarkt");
|
||||
dict.Add(Beschaftigungsstatus.KeineAngabe, "keine Angabe");
|
||||
dict.Add(Beschaftigungsstatus.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(Beschaftigungsstatus.NichtAbgefragt, nicht_abgefragt);
|
||||
dict.Add(Beschaftigungsstatus.Selbststandig, "Selbständige");
|
||||
dict.Add(Beschaftigungsstatus.TrifftNichtZu, "trifft nicht zu");
|
||||
dict.Add(Beschaftigungsstatus.ZweiterArbeitsmarkt, "zweiter Arbeitsmarkt");
|
||||
@@ -1014,7 +1016,7 @@ namespace BS.Shared.Core
|
||||
dict.Add(DauerArbeitslosigkeit.D_3_mehr_Jahre, "3 Jahre und länger");
|
||||
dict.Add(DauerArbeitslosigkeit.D_6_12_Monat, "6 bis unter 12 Monate");
|
||||
dict.Add(DauerArbeitslosigkeit.KeineAngabe, "keine Angabe");
|
||||
dict.Add(DauerArbeitslosigkeit.NichtAngefragt, "nicht abgefragt");
|
||||
dict.Add(DauerArbeitslosigkeit.NichtAngefragt, nicht_abgefragt);
|
||||
dict.Add(DauerArbeitslosigkeit.TrifftNichtZu, "trifft nicht zu");
|
||||
|
||||
dict.Add(Bundesland.BadenWuerttemberg, "Baden-Württemberg");
|
||||
@@ -1025,6 +1027,54 @@ namespace BS.Shared.Core
|
||||
dict.Add(Bundesland.SchleswigHolstein, "Schleswig-Holstein");
|
||||
dict.Add(Bundesland.RheinlandPfalz, "Rheinland-Pfalz");
|
||||
|
||||
dict.Add(ArtDesHilfeangebots.ausschließlichAmbulantBetreutesWohnen, "ausschließlich ambulant betreutes Wohnen");
|
||||
dict.Add(ArtDesHilfeangebots.ausschließlichHilfenArbeit, "ausschließlich Hilfen zur Arbeit");
|
||||
dict.Add(ArtDesHilfeangebots.ausschließlichMedizinischpflegerischesAngebot, "ausschließlich medizinisch-pflegerisches Angebot");
|
||||
dict.Add(ArtDesHilfeangebots.ausschließlichStraßensozialarbeit, "ausschließlich Straßensozialarbeit");
|
||||
dict.Add(ArtDesHilfeangebots.kurzfristigeHilfeangebote, "kurzfristiges Hilfeangebote (Notunterkünfte, Übernachtungsstellen)");
|
||||
dict.Add(ArtDesHilfeangebots.nichtAbgefragt, nicht_abgefragt);
|
||||
|
||||
dict.Add(ArtDerBeendigung.AbbruchDurchEinrichtung, "Abbruch durch Einrichtung");
|
||||
dict.Add(ArtDerBeendigung.AbbruchDurchKlient, "Abbruch durch Klient");
|
||||
dict.Add(ArtDerBeendigung.BeendigungDurchKostentrager, "Beendigung durch Kostentrager");
|
||||
dict.Add(ArtDerBeendigung.keineAngabe, "keine Angabe");
|
||||
dict.Add(ArtDerBeendigung.nichtAbgefragt, nicht_abgefragt);
|
||||
dict.Add(ArtDerBeendigung.PlanmasigBeendet, "Planmäßig beendet");
|
||||
dict.Add(ArtDerBeendigung.VermittlungNachfolgemaßnahmeAuserhalb, "Vermittlung an Nachfolgemaßnahme außerhalb des eigenen Hilfesystems");
|
||||
dict.Add(ArtDerBeendigung.VermittlungNachfolgemaßnahmeInnerhalb, "Vermittlung an Nachfolgemaßnahme innerhalb des eigenen Hilfesystems");
|
||||
|
||||
dict.Add(Geschlechtidentitat.Mannlich, "Männlich");
|
||||
dict.Add(Geschlechtidentitat.OhneAngabe, "Ohne Angabe");
|
||||
dict.Add(Geschlechtidentitat.NichtAbgefragt, nicht_abgefragt);
|
||||
|
||||
dict.Add(Staatsangehorigkeit.EU, "EU - Beispiel Ländercode");
|
||||
dict.Add(Staatsangehorigkeit.ohneAngabe, "ohne Angabe");
|
||||
dict.Add(Staatsangehorigkeit.ungeklart, "ungeklärt");
|
||||
|
||||
dict.Add(Aufenthaltsstatus.Freizugigkeit, "Freizügigkeit EWR und Gleichgestellte");
|
||||
dict.Add(Aufenthaltsstatus.trifftNichtZu, "trifft nicht zu");
|
||||
dict.Add(Aufenthaltsstatus.keineAngabe, "keine Angabe");
|
||||
dict.Add(Aufenthaltsstatus.nichtAbgefragt, nicht_abgefragt);
|
||||
|
||||
dict.Add(HochsterSchulabschluss.KeinAbschluss, "kein Schulabschluss");
|
||||
dict.Add(HochsterSchulabschluss.Sonderschule, "Sonderschulabschluss");
|
||||
dict.Add(HochsterSchulabschluss.VolksHauptschule, "Volksschul- / Hauptschulabschluss");
|
||||
dict.Add(HochsterSchulabschluss.MittlereReife, "Mittlere Reife");
|
||||
dict.Add(HochsterSchulabschluss.FachgebundeneOderAllgAbitur, "Fachgebundene oder allgemeine Hochschulreife (Abitur)");
|
||||
dict.Add(HochsterSchulabschluss.keineAngabe, "keine Angabe");
|
||||
dict.Add(HochsterSchulabschluss.nichtAbgefragt, nicht_abgefragt);
|
||||
|
||||
dict.Add(Familienstand.eingetrageneLebensgemeinschaft, "eingetragene Lebensgemeinschaft");
|
||||
dict.Add(Familienstand.verheiratetGetrenntLebend, "verheiratet, getrennt lebend");
|
||||
dict.Add(Familienstand.keineAngabe, "keine Angabe");
|
||||
dict.Add(Familienstand.nichtAbgefragt, nicht_abgefragt);
|
||||
|
||||
dict.Add(Haushaltsstruktur.EhePaarOhneKinder, "(Ehe-) Paar ohne Kind(er)");
|
||||
dict.Add(Haushaltsstruktur.FamiliePaarMitKindern, "Familie bzw. (Ehe-) Paar mit Kind(ern)");
|
||||
dict.Add(Haushaltsstruktur.SonstigeMehrpersonenhaushalte, "sonstige Mehrpersonenhaushalte");
|
||||
dict.Add(Haushaltsstruktur.keineAngabe, "keine Angabe");
|
||||
dict.Add(Haushaltsstruktur.nichtAbgefragt, nicht_abgefragt);
|
||||
|
||||
Wohnhilfe2Translation = dict;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
public class CustomerWohnhilfeBereichSozialstrukturDC : BeWoDataContract
|
||||
{
|
||||
[DataMember] public Bundesland? Bundesland { get; set; }
|
||||
[DataMember] public bool IsWohnungslosenhilfe { get; set; }
|
||||
[DataMember] public ArtDesHilfeangebots? ArtDesHilfeangebots { get; set; }
|
||||
[DataMember] public bool? IsWohnungslosenhilfe { get; set; }
|
||||
[DataMember] public ArtDesHilfeangebots ArtDesHilfeangebots { get; set; }
|
||||
[DataMember] public DateTime? Betreuungsbeginn { get; set; }
|
||||
[DataMember] public DateTime? Betreuungsende { get; set; }
|
||||
[DataMember] public int? BetreuungsdauerInTagen { get; set; }
|
||||
@@ -23,6 +23,7 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
[DataMember] public Aufenthaltsstatus Aufenthaltsstatus { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData Migrationshintergrund { get; set; }
|
||||
[DataMember] public HochsterSchulabschluss HochsterSchulabschluss { get; set; }
|
||||
[DataMember] public Familienstand Familienstand { get; set; }
|
||||
[DataMember] public Haushaltsstruktur Haushaltsstruktur { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData EigeneMindKinderAuserhalbHaushaltsstruktur { get; set; }
|
||||
}
|
||||
@@ -50,6 +51,7 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
|
||||
public enum ArtDesHilfeangebots
|
||||
{
|
||||
nichtAbgefragt = 00,
|
||||
vollstationär = 1,
|
||||
teilstationär = 2,
|
||||
ausschließlichAmbulantBetreutesWohnen = 3,
|
||||
|
||||
Reference in New Issue
Block a user