Merge branch 'master' of ssh://float.ownsoft.de/git/beyondSoft/BeWo
This commit is contained in:
@@ -35,11 +35,26 @@
|
||||
|
||||
<Grid Margin="5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"></RowDefinition>
|
||||
<RowDefinition Height="Auto"></RowDefinition>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Content="{t:Translate Formulieren Sie hier Ihre Anfrage}"></Label>
|
||||
<TextBox x:Name="TextBoxAnfrage" Grid.Row="1" MinHeight="60" AcceptsReturn="True" AcceptsTab="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"></TextBox>
|
||||
<Button Grid.Row="0" Content="Einstellungen" HorizontalAlignment="Left" Click="btnSettings_Click"/>
|
||||
<Popup Grid.Row="0" Grid.RowSpan="3" StaysOpen="True" Placement="MousePoint" Width="290" Height="80" Closed="popup_Closed" x:Name="PopupTemplate">
|
||||
<Grid Background="{StaticResource ControlBackground}" Margin="2,2,2,2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="0" Content="{t:Translate Datensatz Template}"></Label>
|
||||
<TextBox x:Name="TextBoxTemplate" Grid.Row="2" MinHeight="60" AcceptsReturn="True" AcceptsTab="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"></TextBox>
|
||||
</Grid>
|
||||
</Popup>
|
||||
<Label Grid.Row="1" Content="{t:Translate Formulieren Sie hier Ihre Anfrage}"></Label>
|
||||
<TextBox x:Name="TextBoxAnfrage" Grid.Row="2" MinHeight="60" AcceptsReturn="True" AcceptsTab="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"></TextBox>
|
||||
</Grid>
|
||||
</dxlc:LayoutGroup>
|
||||
<dxlc:LayoutGroup dxlc:LayoutControl.AllowVerticalSizing="True">
|
||||
|
||||
@@ -115,5 +115,15 @@ namespace BeWo.AI.View
|
||||
{
|
||||
CloseButtonClicked?.Invoke();
|
||||
}
|
||||
|
||||
private void btnSettings_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
PopupTemplate.IsOpen = true;
|
||||
}
|
||||
|
||||
private void popup_Closed(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -269,6 +269,74 @@
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Styles\Colors\Colors.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\ButtonStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\CheckBoxStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\ComboBoxStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\CustomControlsStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\DateEditStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\GroupBoxStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\LabelStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\ListBoxStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\NullItemComboBoxStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\RadioButtonStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\TextBoxStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\TextEditStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ControlStyles\ToggleButtonStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\DataTemplates\ControlTemplates.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\DataTemplates\DataTemplates.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\ModernOrangeBlack.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Styles\PrototypeStyles.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
@@ -355,10 +423,6 @@
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="View\Detail\CustomerFalldatenView.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="View\Detail\Wohneinheit\WohneinheitBelegungEditControl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
@@ -367,6 +431,10 @@
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="View\Detail\Wohneinheit\WohneinheitGrundrissControl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="View\Detail\Wohneinheit\WohneinheitGrundrissModalPopup.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
@@ -1109,10 +1177,9 @@
|
||||
<Compile Include="ViewModel\AdditionalServiceGroupOfPeopleVM.cs" />
|
||||
<Compile Include="ViewModel\AdditionalServiceRegionVM.cs" />
|
||||
<Compile Include="ViewModel\AdditionalServiceVM.cs" />
|
||||
<Compile Include="ViewModel\CustomerFalldatenVM.cs" />
|
||||
<Compile Include="ViewModel\CustomerGemeinnutzigeArbeitVM.cs" />
|
||||
<Compile Include="ViewModel\CustomerVermittlungArbeitVM.cs" />
|
||||
<Compile Include="ViewModel\ListViewModel\AbstractListVM.cs" />
|
||||
<Compile Include="ViewModel\ListViewModel\CustomerGemeinnutzigeArbeitListVM.cs" />
|
||||
<Compile Include="ViewModel\ListViewModel\CustomerVermittlungArbeitListVM.cs" />
|
||||
<Compile Include="ViewModel\Wohnhilfe\CustomerWohnhilfeBereichBundVM.cs" />
|
||||
<Compile Include="ViewModel\Wohnhilfe\CustomerWohnhilfeBereichEinkommenUndArbeitVM.cs" />
|
||||
<Compile Include="ViewModel\Wohnhilfe\CustomerWohnhilfeBereichSozialeKontakteVM.cs" />
|
||||
@@ -1251,15 +1318,15 @@
|
||||
<Compile Include="View\Detail\Wohneinheit\WohneinheitEditPopup.xaml.cs">
|
||||
<DependentUpon>WohneinheitEditPopup.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\Detail\CustomerFalldatenView.xaml.cs">
|
||||
<DependentUpon>CustomerFalldatenView.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\Detail\Wohneinheit\WohneinheitBelegungEditControl.xaml.cs">
|
||||
<DependentUpon>WohneinheitBelegungEditControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\Detail\Wohneinheit\WohneinheitBelegungWindow.xaml.cs">
|
||||
<DependentUpon>WohneinheitBelegungWindow.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\Detail\Wohneinheit\WohneinheitGrundrissControl.xaml.cs">
|
||||
<DependentUpon>WohneinheitGrundrissControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\Detail\Wohneinheit\WohneinheitGrundrissModalPopup.xaml.cs">
|
||||
<DependentUpon>WohneinheitGrundrissModalPopup.xaml</DependentUpon>
|
||||
</Compile>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -36,6 +36,19 @@ namespace BeWo
|
||||
|
||||
public bool AutoLogin { get; set; }
|
||||
public UIContext? SelectView { get; set; }
|
||||
/// <summary>
|
||||
/// Beschreibt den Index der jeweils gewählten View (UIContext)
|
||||
///
|
||||
/// Z.b.:
|
||||
/// Customer:
|
||||
/// - Details: 0
|
||||
/// - ...: 1
|
||||
/// - ...: 2
|
||||
/// - ...: 3
|
||||
/// - VermittlungArbeit: 4
|
||||
/// - Wohnhilfe: 5
|
||||
/// </summary>
|
||||
public int? SelectIndex { get; set; }
|
||||
|
||||
public static DebugConfig SimpleAutoLogin => new DebugConfig()
|
||||
{
|
||||
@@ -43,14 +56,15 @@ namespace BeWo
|
||||
AutoLogin = true
|
||||
};
|
||||
|
||||
public static DebugConfig FeatureCustomerWohnhilfe => new DebugConfig()
|
||||
public static DebugConfig Feature_Customer_Wohnhilfe => new DebugConfig()
|
||||
{
|
||||
DebugConfigMode = DebugConfigMode.FeatureCustomerWohnhilfe,
|
||||
AutoLogin = true,
|
||||
SelectView = UIContext.Customer
|
||||
SelectView = UIContext.Customer,
|
||||
SelectIndex = 5
|
||||
};
|
||||
|
||||
public static DebugConfig FeatureWohnheimWohneinheit => new DebugConfig()
|
||||
public static DebugConfig Feature_Wohnheim_Wohneinheit => new DebugConfig()
|
||||
{
|
||||
DebugConfigMode = DebugConfigMode.FeatureWohnheimWohneinheit,
|
||||
AutoLogin = true,
|
||||
|
||||
@@ -1,27 +1,42 @@
|
||||
<UserControl x:Class="BeWo.MainControl"
|
||||
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:localView="clr-namespace:BeWo.View"
|
||||
xmlns:r="clr-namespace:BeWo.Security"
|
||||
xmlns:BeWo="clr-namespace:BeWo"
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
Background="{DynamicResource ApplicationBackground}"
|
||||
SnapsToDevicePixels="True"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="300" d:DesignWidth="300">
|
||||
<UserControl
|
||||
x:Class="BeWo.MainControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:BeWo="clr-namespace:BeWo"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:localView="clr-namespace:BeWo.View"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:r="clr-namespace:BeWo.Security"
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
d:DesignHeight="300"
|
||||
d:DesignWidth="300"
|
||||
Background="{DynamicResource ApplicationBackground}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
SnapsToDevicePixels="True"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<Storyboard x:Key="OnLoadedStoryboard" Completed="OnLoadedStoryboard_Completed">
|
||||
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="toolbarRoot"
|
||||
Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-5" KeySpline="0,1,1,1" />
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:01" Value="0" KeySpline="0.35,0.5,0.5,0.9" />
|
||||
<DoubleAnimationUsingKeyFrames
|
||||
BeginTime="00:00:00"
|
||||
Storyboard.TargetName="toolbarRoot"
|
||||
Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
|
||||
<SplineDoubleKeyFrame
|
||||
KeySpline="0,1,1,1"
|
||||
KeyTime="00:00:00.5000000"
|
||||
Value="-5" />
|
||||
<SplineDoubleKeyFrame
|
||||
KeySpline="0.35,0.5,0.5,0.9"
|
||||
KeyTime="00:00:01"
|
||||
Value="0" />
|
||||
</DoubleAnimationUsingKeyFrames>
|
||||
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="image"
|
||||
Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0" KeySpline="0,1,1,1" />
|
||||
<DoubleAnimationUsingKeyFrames
|
||||
BeginTime="00:00:00"
|
||||
Storyboard.TargetName="image"
|
||||
Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
|
||||
<SplineDoubleKeyFrame
|
||||
KeySpline="0,1,1,1"
|
||||
KeyTime="00:00:00.5000000"
|
||||
Value="0" />
|
||||
</DoubleAnimationUsingKeyFrames>
|
||||
</Storyboard>
|
||||
</UserControl.Resources>
|
||||
@@ -35,11 +50,16 @@
|
||||
</UserControl.RenderTransform>
|
||||
<UserControl.Triggers>
|
||||
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
|
||||
<BeginStoryboard Storyboard="{StaticResource OnLoadedStoryboard}" x:Name="OnLoaded1_BeginStoryboard" />
|
||||
<BeginStoryboard x:Name="OnLoaded1_BeginStoryboard" Storyboard="{StaticResource OnLoadedStoryboard}" />
|
||||
</EventTrigger>
|
||||
</UserControl.Triggers>
|
||||
<Grid x:Name="grid_main" Width="Auto" Height="Auto" Margin="0,0,0,0" HorizontalAlignment="Stretch"
|
||||
Grid.IsSharedSizeScope="True">
|
||||
<Grid
|
||||
x:Name="grid_main"
|
||||
Width="Auto"
|
||||
Height="Auto"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Stretch"
|
||||
Grid.IsSharedSizeScope="True">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
@@ -50,11 +70,23 @@
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<!--<Frame x:Name="chatFrame" Grid.Column="2" Grid.Row="0" />-->
|
||||
<TextBlock HorizontalAlignment="Center" Width="Auto" Margin="5,2,0,0">
|
||||
<Hyperlink NavigateUri="https://www.bewoplaner.de" TargetName="newWindow" Foreground="Transparent" RequestNavigate="Hyperlink_OnRequestNavigate">
|
||||
<TextBlock
|
||||
Width="Auto"
|
||||
Margin="5,2,0,0"
|
||||
HorizontalAlignment="Center">
|
||||
<Hyperlink
|
||||
Foreground="Transparent"
|
||||
NavigateUri="https://www.bewoplaner.de"
|
||||
RequestNavigate="Hyperlink_OnRequestNavigate"
|
||||
TargetName="newWindow">
|
||||
<InlineUIContainer>
|
||||
<Image HorizontalAlignment="Left" Source="Ressources\Icons\bewoplaner_logo_small.png" Width="130"
|
||||
Style="{StaticResource toolbarImageStyle}" RenderTransformOrigin="0.5,0.5" x:Name="image">
|
||||
<Image
|
||||
x:Name="image"
|
||||
Width="130"
|
||||
HorizontalAlignment="Left"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Source="Ressources\Icons\bewoplaner_logo_small.png"
|
||||
Style="{StaticResource toolbarImageStyle}">
|
||||
<Image.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -68,7 +100,7 @@
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
|
||||
<!--<TextBlock HorizontalAlignment="Right" Width="Auto" Margin="0,2,5,0" Grid.Column="2">
|
||||
<!--<TextBlock HorizontalAlignment="Right" Width="Auto" Margin="0,2,5,0" Grid.Column="2">
|
||||
<Hyperlink NavigateUri="http://www.bewoplaner.de" TargetName="newWindow" Foreground="Transparent" RequestNavigate="Hyperlink_OnRequestNavigate">
|
||||
<InlineUIContainer>
|
||||
<Image HorizontalAlignment="Left" Source="Ressources\Icons\bewoplaner_logo_small.png"
|
||||
@@ -78,19 +110,34 @@
|
||||
</InlineUIContainer>
|
||||
</Hyperlink>
|
||||
</TextBlock>-->
|
||||
|
||||
<BeWo:BSLogoControl Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="0" Grid.RowSpan="2" Width="1000" Height="1000"
|
||||
VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,-300,-250" x:Name="bSLogoControl"
|
||||
RenderTransformOrigin="0.5,0.5">
|
||||
|
||||
<BeWo:BSLogoControl
|
||||
x:Name="bSLogoControl"
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Width="1000"
|
||||
Height="1000"
|
||||
Margin="0,0,-300,-250"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
RenderTransformOrigin="0.5,0.5">
|
||||
<BeWo:BSLogoControl.OpacityMask>
|
||||
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
||||
<GradientStop Color="#29000000" Offset="0" />
|
||||
<GradientStop Color="#29000000" Offset="1" />
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#29000000" />
|
||||
<GradientStop Offset="1" Color="#29000000" />
|
||||
</LinearGradientBrush>
|
||||
</BeWo:BSLogoControl.OpacityMask>
|
||||
</BeWo:BSLogoControl>
|
||||
<Grid x:Name="DetailFrame" Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="0" Grid.RowSpan="2"
|
||||
RenderTransformOrigin="0.5,0.5" Margin="140,35,140,85">
|
||||
<Grid
|
||||
x:Name="DetailFrame"
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Margin="140,35,140,85"
|
||||
RenderTransformOrigin="0.5,0.5">
|
||||
<Grid.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -100,16 +147,24 @@
|
||||
</TransformGroup>
|
||||
</Grid.RenderTransform>
|
||||
<Grid.OpacityMask>
|
||||
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
||||
<GradientStop Color="#FF000000" Offset="0" />
|
||||
<GradientStop Color="#D8FFFFFF" Offset="1" />
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#FF000000" />
|
||||
<GradientStop Offset="1" Color="#D8FFFFFF" />
|
||||
</LinearGradientBrush>
|
||||
</Grid.OpacityMask>
|
||||
<!-- Border x:Name="detailPlaceHolder" Background="#FFB55252" CornerRadius="5,5,5,5"></Border-->
|
||||
</Grid>
|
||||
<Grid x:Name="toolbarRoot" Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Bottom" Width="Auto" RenderTransformOrigin="0.5,0.5" MouseEnter="toolbarRoot_MouseEnter"
|
||||
MouseLeave="toolbarRoot_MouseLeave">
|
||||
<Grid
|
||||
x:Name="toolbarRoot"
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Width="Auto"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Bottom"
|
||||
MouseEnter="toolbarRoot_MouseEnter"
|
||||
MouseLeave="toolbarRoot_MouseLeave"
|
||||
RenderTransformOrigin="0.5,0.5">
|
||||
<Grid.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -118,7 +173,10 @@
|
||||
<TranslateTransform X="0" Y="100" />
|
||||
</TransformGroup>
|
||||
</Grid.RenderTransform>
|
||||
<Border Name="toolbarBord" Height="80" RenderTransformOrigin="0.5,0.5">
|
||||
<Border
|
||||
Name="toolbarBord"
|
||||
Height="80"
|
||||
RenderTransformOrigin="0.5,0.5">
|
||||
<Border.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -131,24 +189,31 @@
|
||||
<Canvas Width="100" Height="100">
|
||||
<Path Data="M0,100 L5,0 L95,0 L100,100 Z" StrokeThickness="1">
|
||||
<Path.Fill>
|
||||
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
||||
<GradientStop Color="#66000000" Offset="0" />
|
||||
<GradientStop Color="#CC080808" Offset="1" />
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#66000000" />
|
||||
<GradientStop Offset="1" Color="#CC080808" />
|
||||
</LinearGradientBrush>
|
||||
</Path.Fill>
|
||||
</Path>
|
||||
<Rectangle Width="100" Height="132" Fill="#FF98C1FF" Canvas.Top="8">
|
||||
<Rectangle
|
||||
Canvas.Top="8"
|
||||
Width="100"
|
||||
Height="132"
|
||||
Fill="#FF98C1FF">
|
||||
<Rectangle.OpacityMask>
|
||||
<RadialGradientBrush>
|
||||
<GradientStop Color="#3FFFFFFF" Offset="0.29" />
|
||||
<GradientStop Color="#00FFFFFF" Offset="0.875" />
|
||||
<GradientStop Offset="0.29" Color="#3FFFFFFF" />
|
||||
<GradientStop Offset="0.875" Color="#00FFFFFF" />
|
||||
</RadialGradientBrush>
|
||||
</Rectangle.OpacityMask>
|
||||
</Rectangle>
|
||||
</Canvas>
|
||||
</Viewbox>
|
||||
</Border>
|
||||
<Grid x:Name="toolbarContent" RenderTransformOrigin="0.5,0.5" Loaded="ToolbarContent_OnLoaded">
|
||||
<Grid
|
||||
x:Name="toolbarContent"
|
||||
Loaded="ToolbarContent_OnLoaded"
|
||||
RenderTransformOrigin="0.5,0.5">
|
||||
<Grid.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -157,12 +222,28 @@
|
||||
<TranslateTransform X="0" Y="0" />
|
||||
</TransformGroup>
|
||||
</Grid.RenderTransform>
|
||||
<StackPanel x:Name="HomeButtonPanel" Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top" Margin="10,0,0,0">
|
||||
<Button Margin="0,9,0,0" Name="btn_home" Click="btn_home_Click" Width="40" Height="40">
|
||||
<Image Source="Ressources\Icons\Home.png" Stretch="Fill" StretchDirection="Both"></Image>
|
||||
<StackPanel
|
||||
x:Name="HomeButtonPanel"
|
||||
Grid.Row="1"
|
||||
Margin="10,0,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Orientation="Vertical">
|
||||
<Button
|
||||
Name="btn_home"
|
||||
Width="40"
|
||||
Height="40"
|
||||
Margin="0,9,0,0"
|
||||
Click="btn_home_Click">
|
||||
<Image
|
||||
Source="Ressources\Icons\Home.png"
|
||||
Stretch="Fill"
|
||||
StretchDirection="Both" />
|
||||
</Button>
|
||||
<Label Content="{t:Translate Home}" FontSize="12" Foreground="#FFDBDBDB"></Label>
|
||||
<Label
|
||||
Content="{t:Translate Home}"
|
||||
FontSize="12"
|
||||
Foreground="#FFDBDBDB" />
|
||||
</StackPanel>
|
||||
<!--<StackPanel x:Name="HomeButtonPanel" Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" >
|
||||
<Button Margin="0,10,0,0" Click="button_Home" Width="40" Height="40">
|
||||
@@ -176,36 +257,65 @@
|
||||
</Button>
|
||||
<Label Content="Abmelden" FontSize="12" Foreground="#FFDBDBDB"></Label>
|
||||
</StackPanel>-->
|
||||
<ScrollViewer x:Name="toolbarScrollViewer" ScrollChanged="toolbarScrollViewer_ScrollChanged"
|
||||
HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled"
|
||||
HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="80,0,80,0" Height="80">
|
||||
<ScrollViewer
|
||||
x:Name="toolbarScrollViewer"
|
||||
Height="80"
|
||||
Margin="80,0,80,0"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalScrollBarVisibility="Auto"
|
||||
ScrollChanged="toolbarScrollViewer_ScrollChanged"
|
||||
VerticalScrollBarVisibility="Disabled">
|
||||
<ScrollViewer.Template>
|
||||
<ControlTemplate TargetType="{x:Type ScrollViewer}">
|
||||
<Grid Margin="3 0">
|
||||
<Grid Margin="3,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="17" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="17" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button Content="3" FontFamily="Webdings" Command="ScrollBar.PageLeftCommand"
|
||||
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
|
||||
<ScrollContentPresenter VerticalAlignment="Bottom" Margin="20 0" Grid.Column="1"
|
||||
Content="{TemplateBinding Content}" />
|
||||
<Button Content="4" FontFamily="Webdings" Grid.Column="2"
|
||||
Command="ScrollBar.PageRightCommand"
|
||||
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
|
||||
<Button
|
||||
Command="ScrollBar.PageLeftCommand"
|
||||
Content="3"
|
||||
FontFamily="Webdings"
|
||||
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
|
||||
<ScrollContentPresenter
|
||||
Grid.Column="1"
|
||||
Margin="20,0"
|
||||
VerticalAlignment="Bottom"
|
||||
Content="{TemplateBinding Content}" />
|
||||
<Button
|
||||
Grid.Column="2"
|
||||
Command="ScrollBar.PageRightCommand"
|
||||
Content="4"
|
||||
FontFamily="Webdings"
|
||||
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</ScrollViewer.Template>
|
||||
<Grid Margin="0,0,0,0" VerticalAlignment="Stretch" Height="80">
|
||||
<StackPanel x:Name="toolbarMainButtonPanel" VerticalAlignment="Center" HorizontalAlignment="Center"
|
||||
Width="Auto" Margin="0,0,0,0" Orientation="Horizontal">
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, ServiceRecordView_View"
|
||||
ImageSource="Ressources\Icons\HistoryDisabled.png" x:Name="button_serviceRecord"
|
||||
Click="button_serviceRecord_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate ZeiterfassungMenuItem}" Background="{StaticResource ServiceRecordContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Tag="" Width="90" Height="Auto">
|
||||
<Grid
|
||||
Height="80"
|
||||
Margin="0,0,0,0"
|
||||
VerticalAlignment="Stretch">
|
||||
<StackPanel
|
||||
x:Name="toolbarMainButtonPanel"
|
||||
Width="Auto"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<localView:ImageButton
|
||||
x:Name="button_serviceRecord"
|
||||
Width="90"
|
||||
Height="Auto"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, ServiceRecordView_View"
|
||||
Background="{StaticResource ServiceRecordContentBrush}"
|
||||
Click="button_serviceRecord_Click"
|
||||
Content="{t:Translate ZeiterfassungMenuItem}"
|
||||
ImageSource="Ressources\Icons\HistoryDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Tag="">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -215,12 +325,18 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="AdditionalService_View"
|
||||
ImageSource="Ressources\Icons\HistoryDisabled.png" x:Name="button_additionalService"
|
||||
Click="button_additionalService_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate Ergänzende DiensteMenuItem}" Background="{StaticResource AdditionalServiceContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Tag="" Width="120" Height="Auto">
|
||||
<localView:ImageButton
|
||||
x:Name="button_additionalService"
|
||||
Width="120"
|
||||
Height="Auto"
|
||||
r:DemandUserRight.VisibleDemands="AdditionalService_View"
|
||||
Background="{StaticResource AdditionalServiceContentBrush}"
|
||||
Click="button_additionalService_Click"
|
||||
Content="{t:Translate Ergänzende DiensteMenuItem}"
|
||||
ImageSource="Ressources\Icons\HistoryDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Tag="">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -230,28 +346,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="VertretungenView_View"
|
||||
ImageSource="Ressources\Icons\CalendarDisabled.png" x:Name="button_SchulbegleitenderDienst"
|
||||
Click="Button_Vertretungen_OnClick" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate VertretungenMenuItem}" Background="{StaticResource SchulbegleitenderDienstContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Width="90" >
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
<SkewTransform AngleX="0" AngleY="0" />
|
||||
<RotateTransform Angle="0" />
|
||||
<TranslateTransform X="0" Y="0" />
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, AccountingTransactionView_View, BargeldverwaltungFinanzenAnsehen, DokumenteFinanzen"
|
||||
ImageSource="Ressources\Icons\CoinsDisabled.png" x:Name="button_AccountingTransacation"
|
||||
Click="button_AccountingTransacation_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate FinanzenMenuItem}" Background="{StaticResource AccountingContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_SchulbegleitenderDienst"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="VertretungenView_View"
|
||||
Background="{StaticResource SchulbegleitenderDienstContentBrush}"
|
||||
Click="Button_Vertretungen_OnClick"
|
||||
Content="{t:Translate VertretungenMenuItem}"
|
||||
ImageSource="Ressources\Icons\CalendarDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -262,50 +366,38 @@
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
|
||||
|
||||
<Grid>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="KalenderAnsehen"
|
||||
ImageSource="Ressources\Icons\CalendarDisabled.png" x:Name="button_Scheduler"
|
||||
Click="button_Scheduler_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate KalenderMenuItem}" Background="{StaticResource ResourceContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Width="90">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
<SkewTransform AngleX="0" AngleY="0" />
|
||||
<RotateTransform Angle="0" />
|
||||
<TranslateTransform X="0" Y="0" />
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<BeWo:OutlinedTextBlock Visibility="Collapsed" x:Name="NewAppointmentsOutlinedTextBlock" Margin="25,0,0,0" FontFamily="Verdana" FontSize="25" FontWeight="ExtraBold" TextWrapping="Wrap" StrokeThickness="1" Stroke="White" Fill="OrangeRed" SnapsToDevicePixels="True" Text="!" HorizontalAlignment="Left" VerticalAlignment="Top">
|
||||
<BeWo:OutlinedTextBlock.Triggers>
|
||||
<EventTrigger RoutedEvent="BeWo:OutlinedTextBlock.Loaded">
|
||||
<BeginStoryboard>
|
||||
<Storyboard>
|
||||
<DoubleAnimation Storyboard.TargetName="NewAppointmentsOutlinedTextBlock"
|
||||
Storyboard.TargetProperty="(BeWo:OutlinedTextBlock.FontSize)"
|
||||
To="30.0" Duration="0:0:0.3"
|
||||
AutoReverse="True" RepeatBehavior="Forever" />
|
||||
</Storyboard>
|
||||
</BeginStoryboard>
|
||||
</EventTrigger>
|
||||
</BeWo:OutlinedTextBlock.Triggers>
|
||||
</BeWo:OutlinedTextBlock>
|
||||
</Grid>
|
||||
<!-- ToDo: Neuer Kalender -->
|
||||
<localView:ImageButton
|
||||
x:Name="button_AccountingTransacation"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, AccountingTransactionView_View, BargeldverwaltungFinanzenAnsehen, DokumenteFinanzen"
|
||||
Background="{StaticResource AccountingContentBrush}"
|
||||
Click="button_AccountingTransacation_Click"
|
||||
Content="{t:Translate FinanzenMenuItem}"
|
||||
ImageSource="Ressources\Icons\CoinsDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
<SkewTransform AngleX="0" AngleY="0" />
|
||||
<RotateTransform Angle="0" />
|
||||
<TranslateTransform X="0" Y="0" />
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
|
||||
|
||||
<Grid>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="KalenderAnsehen"
|
||||
ImageSource="Ressources\Icons\CalendarDisabledUnderConstruction.png"
|
||||
x:Name="ButtonScheduling"
|
||||
Click="Button_Scheduling_Click"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate KalenderMenuItem}"
|
||||
Background="{StaticResource ResourceContentBrush}"
|
||||
Visibility="Collapsed"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_Scheduler"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="KalenderAnsehen"
|
||||
Background="{StaticResource ResourceContentBrush}"
|
||||
Click="button_Scheduler_Click"
|
||||
Content="{t:Translate KalenderMenuItem}"
|
||||
ImageSource="Ressources\Icons\CalendarDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -315,28 +407,103 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<BeWo:OutlinedTextBlock Visibility="Collapsed" x:Name="NewAppointmentsOutlinedTextBlock2" Margin="25,0,0,0" FontFamily="Verdana" FontSize="25" FontWeight="ExtraBold" TextWrapping="Wrap" StrokeThickness="1" Stroke="White" Fill="OrangeRed" SnapsToDevicePixels="True" Text="!" HorizontalAlignment="Left" VerticalAlignment="Top">
|
||||
<BeWo:OutlinedTextBlock
|
||||
x:Name="NewAppointmentsOutlinedTextBlock"
|
||||
Margin="25,0,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Fill="OrangeRed"
|
||||
FontFamily="Verdana"
|
||||
FontSize="25"
|
||||
FontWeight="ExtraBold"
|
||||
SnapsToDevicePixels="True"
|
||||
Stroke="White"
|
||||
StrokeThickness="1"
|
||||
Text="!"
|
||||
TextWrapping="Wrap"
|
||||
Visibility="Collapsed">
|
||||
<BeWo:OutlinedTextBlock.Triggers>
|
||||
<EventTrigger RoutedEvent="BeWo:OutlinedTextBlock.Loaded">
|
||||
<BeginStoryboard>
|
||||
<Storyboard>
|
||||
<DoubleAnimation Storyboard.TargetName="NewAppointmentsOutlinedTextBlock2"
|
||||
Storyboard.TargetProperty="(BeWo:OutlinedTextBlock.FontSize)"
|
||||
To="30.0" Duration="0:0:0.3"
|
||||
AutoReverse="True" RepeatBehavior="Forever" />
|
||||
<DoubleAnimation
|
||||
AutoReverse="True"
|
||||
RepeatBehavior="Forever"
|
||||
Storyboard.TargetName="NewAppointmentsOutlinedTextBlock"
|
||||
Storyboard.TargetProperty="(BeWo:OutlinedTextBlock.FontSize)"
|
||||
To="30.0"
|
||||
Duration="0:0:0.3" />
|
||||
</Storyboard>
|
||||
</BeginStoryboard>
|
||||
</EventTrigger>
|
||||
</BeWo:OutlinedTextBlock.Triggers>
|
||||
</BeWo:OutlinedTextBlock>
|
||||
</Grid>
|
||||
<!-- /ToDo: Neuer Kalender -->
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, ResourceBookingView_View"
|
||||
ImageSource="Ressources\Icons\CalendarDisabled.png" x:Name="button_ResourceBooking"
|
||||
Click="button_ResourceBooking_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate RessourcenMenuItem}" Background="{StaticResource ResourceContentBrush}"
|
||||
<!-- ToDo: Neuer Kalender -->
|
||||
<Grid>
|
||||
<localView:ImageButton
|
||||
x:Name="ButtonScheduling"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="KalenderAnsehen"
|
||||
Background="{StaticResource ResourceContentBrush}"
|
||||
Click="Button_Scheduling_Click"
|
||||
Content="{t:Translate KalenderMenuItem}"
|
||||
ImageSource="Ressources\Icons\CalendarDisabledUnderConstruction.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Width="90">
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Visibility="Collapsed">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
<SkewTransform AngleX="0" AngleY="0" />
|
||||
<RotateTransform Angle="0" />
|
||||
<TranslateTransform X="0" Y="0" />
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<BeWo:OutlinedTextBlock
|
||||
x:Name="NewAppointmentsOutlinedTextBlock2"
|
||||
Margin="25,0,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Fill="OrangeRed"
|
||||
FontFamily="Verdana"
|
||||
FontSize="25"
|
||||
FontWeight="ExtraBold"
|
||||
SnapsToDevicePixels="True"
|
||||
Stroke="White"
|
||||
StrokeThickness="1"
|
||||
Text="!"
|
||||
TextWrapping="Wrap"
|
||||
Visibility="Collapsed">
|
||||
<BeWo:OutlinedTextBlock.Triggers>
|
||||
<EventTrigger RoutedEvent="BeWo:OutlinedTextBlock.Loaded">
|
||||
<BeginStoryboard>
|
||||
<Storyboard>
|
||||
<DoubleAnimation
|
||||
AutoReverse="True"
|
||||
RepeatBehavior="Forever"
|
||||
Storyboard.TargetName="NewAppointmentsOutlinedTextBlock2"
|
||||
Storyboard.TargetProperty="(BeWo:OutlinedTextBlock.FontSize)"
|
||||
To="30.0"
|
||||
Duration="0:0:0.3" />
|
||||
</Storyboard>
|
||||
</BeginStoryboard>
|
||||
</EventTrigger>
|
||||
</BeWo:OutlinedTextBlock.Triggers>
|
||||
</BeWo:OutlinedTextBlock>
|
||||
</Grid>
|
||||
<!-- /ToDo: Neuer Kalender -->
|
||||
<localView:ImageButton
|
||||
x:Name="button_ResourceBooking"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, ResourceBookingView_View"
|
||||
Background="{StaticResource ResourceContentBrush}"
|
||||
Click="button_ResourceBooking_Click"
|
||||
Content="{t:Translate RessourcenMenuItem}"
|
||||
ImageSource="Ressources\Icons\CalendarDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -346,12 +513,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, QueryView_View, Analysis_ServiceOverview_View, Analysis_Auslastung_View, Analysis_AuslastungAllEmployee_View, Analysis_AuslastungTeam_View, Kilometerauswertung_View, KilometerauswertungEigene_View, BewertungAuswertung_View, PivotTabelleAnsehen, DienstplanungAnsehen, AbwesenheitsPlanungAnsehen, Mitarbeiterstundenkonto_ViewAll, Mitarbeiterstundenkonto_ViewSelf, Mitarbeiterstundenkonto_ViewTeams, Jahresbericht, Auswertungen_BerichteAnsehen, Auswertungen_StundenuebersichtAnsehen, Auswertungen_HilfeplanuebersichtAnsehen"
|
||||
x:Name="button_Reports" Click="button_Reports_Click"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate AuswertungenMenuItem}"
|
||||
Background="{StaticResource ReportContentBrush}" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\ChartBarDisabled.png" Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_Reports"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, QueryView_View, Analysis_ServiceOverview_View, Analysis_Auslastung_View, Analysis_AuslastungAllEmployee_View, Analysis_AuslastungTeam_View, Kilometerauswertung_View, KilometerauswertungEigene_View, BewertungAuswertung_View, PivotTabelleAnsehen, DienstplanungAnsehen, AbwesenheitsPlanungAnsehen, Mitarbeiterstundenkonto_ViewAll, Mitarbeiterstundenkonto_ViewSelf, Mitarbeiterstundenkonto_ViewTeams, Jahresbericht, Auswertungen_BerichteAnsehen, Auswertungen_StundenuebersichtAnsehen, Auswertungen_HilfeplanuebersichtAnsehen"
|
||||
Background="{StaticResource ReportContentBrush}"
|
||||
Click="button_Reports_Click"
|
||||
Content="{t:Translate AuswertungenMenuItem}"
|
||||
ImageSource="Ressources\Icons\ChartBarDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -361,12 +532,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, SupportConceptView_View, SupportConcept_ViewAllSupportConcepts, SupportConcept_ViewMyTeams"
|
||||
x:Name="button_SupportConcept" Click="button_SupportConcept_Click"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate HilfepläneMenuItem}"
|
||||
Background="{StaticResource SupportConceptContentBrush}" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\IDBadgeDisabled.png" Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_SupportConcept"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, SupportConceptView_View, SupportConcept_ViewAllSupportConcepts, SupportConcept_ViewMyTeams"
|
||||
Background="{StaticResource SupportConceptContentBrush}"
|
||||
Click="button_SupportConcept_Click"
|
||||
Content="{t:Translate HilfepläneMenuItem}"
|
||||
ImageSource="Ressources\Icons\IDBadgeDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -376,12 +551,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, CustomerView_View, Customer_ViewMyCustomers, Customer_ViewMyTeams"
|
||||
x:Name="button_Customer" Click="button_Customer_Click"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate KlientenMenuItem}"
|
||||
Background="{StaticResource CustomerContentBrush}" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\UserHomeMaleDisabled.png" Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_Customer"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, CustomerView_View, Customer_ViewMyCustomers, Customer_ViewMyTeams"
|
||||
Background="{StaticResource CustomerContentBrush}"
|
||||
Click="button_Customer_Click"
|
||||
Content="{t:Translate KlientenMenuItem}"
|
||||
ImageSource="Ressources\Icons\UserHomeMaleDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -392,14 +571,17 @@
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
|
||||
<!-- r:DemandUserRight.VisibleDemands="ViewAll, CustomerTeam_View" -->
|
||||
<localView:ImageButton Visibility="Collapsed"
|
||||
Click="button_CustomerTeam_Click"
|
||||
x:Name="button_CustomerTeam"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate KliententeamsMenuItem}"
|
||||
Background="{StaticResource CustomerTeamContentBrush}" RenderTransformOrigin="0.5, 0.5"
|
||||
ImageSource="Ressources/Icons/UserGroupBusinessDisabled.png" Width="90">
|
||||
<!-- r:DemandUserRight.VisibleDemands="ViewAll, CustomerTeam_View" -->
|
||||
<localView:ImageButton
|
||||
x:Name="button_CustomerTeam"
|
||||
Width="90"
|
||||
Background="{StaticResource CustomerTeamContentBrush}"
|
||||
Click="button_CustomerTeam_Click"
|
||||
Content="{t:Translate KliententeamsMenuItem}"
|
||||
ImageSource="Ressources/Icons/UserGroupBusinessDisabled.png"
|
||||
RenderTransformOrigin="0.5, 0.5"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Visibility="Collapsed">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -409,13 +591,17 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="WohnheimView_View"
|
||||
x:Name="button_Wohnheim" Click="button_Wohnheim_Click"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate WohnheimeMenuItem}"
|
||||
Background="{StaticResource WohnheimContentBrush}" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\OfficeBulidingBlackDisabled.png" Width="90">
|
||||
|
||||
<localView:ImageButton
|
||||
x:Name="button_Wohnheim"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="WohnheimView_View"
|
||||
Background="{StaticResource WohnheimContentBrush}"
|
||||
Click="button_Wohnheim_Click"
|
||||
Content="{t:Translate WohnheimeMenuItem}"
|
||||
ImageSource="Ressources\Icons\OfficeBulidingBlackDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -425,13 +611,17 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, OrganisationView_View"
|
||||
x:Name="button_Organisation" Click="button_Organisation_Click"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate OrganisationenMenuItem}"
|
||||
Background="{StaticResource OrganisationContentBrush}" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\OfficeBulidingBlackDisabled.png" Width="90">
|
||||
|
||||
<localView:ImageButton
|
||||
x:Name="button_Organisation"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, OrganisationView_View"
|
||||
Background="{StaticResource OrganisationContentBrush}"
|
||||
Click="button_Organisation_Click"
|
||||
Content="{t:Translate OrganisationenMenuItem}"
|
||||
ImageSource="Ressources\Icons\OfficeBulidingBlackDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -441,12 +631,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, PersonView_View"
|
||||
x:Name="button_Person" Click="button_Person_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate PersonenMenuItem}" Background="{StaticResource PersonContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\AnonymousUserDisabled.png"
|
||||
Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_Person"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, PersonView_View"
|
||||
Background="{StaticResource PersonContentBrush}"
|
||||
Click="button_Person_Click"
|
||||
Content="{t:Translate PersonenMenuItem}"
|
||||
ImageSource="Ressources\Icons\AnonymousUserDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -456,12 +650,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, EmployeeView_View, Employee_AllowViewOwnEmployees, Employee_AllowViewOwnTeam"
|
||||
x:Name="button_Employee" Click="button_Employee_Click"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate MitarbeiterMenuItem}"
|
||||
Background="{StaticResource EmployeeContentBrush}" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\UserBusinessMaleDisabled.png" Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_Employee"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, EmployeeView_View, Employee_AllowViewOwnEmployees, Employee_AllowViewOwnTeam"
|
||||
Background="{StaticResource EmployeeContentBrush}"
|
||||
Click="button_Employee_Click"
|
||||
Content="{t:Translate MitarbeiterMenuItem}"
|
||||
ImageSource="Ressources\Icons\UserBusinessMaleDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -471,11 +669,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, TeamView_ViewAll, TeamView_ViewMyTeams"
|
||||
x:Name="button_Team" Click="button_Team_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate TeamsMenuItem}" Background="{StaticResource TeamContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\UserGroupBusinessDisabled.png" Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_Team"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, TeamView_ViewAll, TeamView_ViewMyTeams"
|
||||
Background="{StaticResource TeamContentBrush}"
|
||||
Click="button_Team_Click"
|
||||
Content="{t:Translate TeamsMenuItem}"
|
||||
ImageSource="Ressources\Icons\UserGroupBusinessDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -485,11 +688,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, TeamView_ViewAll, TeamView_ViewMyTeams"
|
||||
x:Name="button_Dokumente" Click="button_Dokumente_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate DokumenteMenuItem}" Background="{StaticResource DokumenteContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\Folder.png" Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_Dokumente"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, TeamView_ViewAll, TeamView_ViewMyTeams"
|
||||
Background="{StaticResource DokumenteContentBrush}"
|
||||
Click="button_Dokumente_Click"
|
||||
Content="{t:Translate DokumenteMenuItem}"
|
||||
ImageSource="Ressources\Icons\Folder.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -499,11 +707,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, UserView_View"
|
||||
x:Name="button_User" Click="button_User_Click" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate BenutzerMenuItem}" Background="{StaticResource UserContentBrush}"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\UserBusinessMaleDisabled.png" Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_User"
|
||||
Width="90"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, UserView_View"
|
||||
Background="{StaticResource UserContentBrush}"
|
||||
Click="button_User_Click"
|
||||
Content="{t:Translate BenutzerMenuItem}"
|
||||
ImageSource="Ressources\Icons\UserBusinessMaleDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -513,12 +726,16 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, UserGroupView_View"
|
||||
x:Name="button_UserGroup" Click="button_UserGroup_Click"
|
||||
Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate BenutzergruppenMenuItem}"
|
||||
Background="{StaticResource UserGroupContentBrush}" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\UserGroupBusinessDisabled.png" Width="Auto">
|
||||
<localView:ImageButton
|
||||
x:Name="button_UserGroup"
|
||||
Width="Auto"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, UserGroupView_View"
|
||||
Background="{StaticResource UserGroupContentBrush}"
|
||||
Click="button_UserGroup_Click"
|
||||
Content="{t:Translate BenutzergruppenMenuItem}"
|
||||
ImageSource="Ressources\Icons\UserGroupBusinessDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -543,13 +760,18 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>-->
|
||||
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, AdministrationView_View"
|
||||
x:Name="button_Administration" Click="button_Administration_Click"
|
||||
HorizontalAlignment="Stretch" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate VerwaltungMenuItem}"
|
||||
Background="{StaticResource AdministrationContentBrush}" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\ConfigurationDisabled.png" Width="90">
|
||||
|
||||
<localView:ImageButton
|
||||
x:Name="button_Administration"
|
||||
Width="90"
|
||||
HorizontalAlignment="Stretch"
|
||||
r:DemandUserRight.VisibleDemands="ViewAll, AdministrationView_View"
|
||||
Background="{StaticResource AdministrationContentBrush}"
|
||||
Click="button_Administration_Click"
|
||||
Content="{t:Translate VerwaltungMenuItem}"
|
||||
ImageSource="Ressources\Icons\ConfigurationDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -559,12 +781,17 @@
|
||||
</TransformGroup>
|
||||
</Button.RenderTransform>
|
||||
</localView:ImageButton>
|
||||
<localView:ImageButton r:DemandUserRight.VisibleDemands="Support_View"
|
||||
x:Name="button_Support" Click="button_Support_Click"
|
||||
HorizontalAlignment="Stretch" Style="{StaticResource NavBarButton}"
|
||||
Content="{t:Translate SupportMenuItem}"
|
||||
Background="#FFD4FFCF" RenderTransformOrigin="0.5,0.5"
|
||||
ImageSource="Ressources\Icons\TechSupportWhiteDisabled.png" Width="90">
|
||||
<localView:ImageButton
|
||||
x:Name="button_Support"
|
||||
Width="90"
|
||||
HorizontalAlignment="Stretch"
|
||||
r:DemandUserRight.VisibleDemands="Support_View"
|
||||
Background="#FFD4FFCF"
|
||||
Click="button_Support_Click"
|
||||
Content="{t:Translate SupportMenuItem}"
|
||||
ImageSource="Ressources\Icons\TechSupportWhiteDisabled.png"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Style="{StaticResource NavBarButton}">
|
||||
<Button.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -577,12 +804,27 @@
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
<StackPanel x:Name="LogoutButtonPanel" Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top" Margin="0,0,0,0">
|
||||
<Button Margin="0,9,0,0" Click="button_Logout" Width="40" Height="40">
|
||||
<Image Source="Ressources\Icons\LogoutDisabled.png" Stretch="Fill" StretchDirection="Both"></Image>
|
||||
<StackPanel
|
||||
x:Name="LogoutButtonPanel"
|
||||
Grid.Row="1"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Orientation="Vertical">
|
||||
<Button
|
||||
Width="40"
|
||||
Height="40"
|
||||
Margin="0,9,0,0"
|
||||
Click="button_Logout">
|
||||
<Image
|
||||
Source="Ressources\Icons\LogoutDisabled.png"
|
||||
Stretch="Fill"
|
||||
StretchDirection="Both" />
|
||||
</Button>
|
||||
<Label Content="Abmelden" FontSize="12" Foreground="#FFDBDBDB"></Label>
|
||||
<Label
|
||||
Content="Abmelden"
|
||||
FontSize="12"
|
||||
Foreground="#FFDBDBDB" />
|
||||
</StackPanel>
|
||||
<!--<Rectangle Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="1" RenderTransformOrigin="0.5,0.5" Height="55" Width="1175" StrokeThickness="0" VerticalAlignment="Top">
|
||||
<Rectangle.OpacityMask>
|
||||
|
||||
10
BeWo/Styles/Colors/Colors.xaml
Normal file
10
BeWo/Styles/Colors/Colors.xaml
Normal file
@@ -0,0 +1,10 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<SolidColorBrush x:Key="TextBoxBorderBrush" Color="#FF86878F" />
|
||||
|
||||
|
||||
<SolidColorBrush x:Key="ControlBackgroundBrush" Color="#FFFDC784" />
|
||||
<SolidColorBrush x:Key="ControlSelectedBackgroundBrush" Color="#FFFFD86C" />
|
||||
<SolidColorBrush x:Key="ControlMouseOverBackgroundBrush" Color="#FFDCA158" />
|
||||
|
||||
<SolidColorBrush x:Key="TabItemHotTextBrush" Color="#FFAB4A07" />
|
||||
</ResourceDictionary>
|
||||
139
BeWo/Styles/ControlStyles/ButtonStyles.xaml
Normal file
139
BeWo/Styles/ControlStyles/ButtonStyles.xaml
Normal file
@@ -0,0 +1,139 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Base -->
|
||||
<Style x:Key="BaseButton" TargetType="{x:Type Button}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Height" Value="25" />
|
||||
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
<Setter Property="Foreground" Value="#FFFFFFFF" />
|
||||
<Setter Property="FontFamily" Value="Microsoft Sans Serif" />
|
||||
<Setter Property="FontSize" Value="12" />
|
||||
</Style>
|
||||
|
||||
<Style
|
||||
x:Key="PrimaryButton"
|
||||
BasedOn="{StaticResource BaseButton}"
|
||||
TargetType="{x:Type Button}">
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<ControlTemplate.Resources>
|
||||
<Storyboard x:Key="Timeline1">
|
||||
<DoubleAnimationUsingKeyFrames
|
||||
BeginTime="00:00:00"
|
||||
Storyboard.TargetName="glow"
|
||||
Storyboard.TargetProperty="(UIElement.Opacity)">
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1" />
|
||||
</DoubleAnimationUsingKeyFrames>
|
||||
</Storyboard>
|
||||
<Storyboard x:Key="Timeline2">
|
||||
<DoubleAnimationUsingKeyFrames
|
||||
BeginTime="00:00:00"
|
||||
Storyboard.TargetName="glow"
|
||||
Storyboard.TargetProperty="(UIElement.Opacity)">
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" />
|
||||
</DoubleAnimationUsingKeyFrames>
|
||||
</Storyboard>
|
||||
</ControlTemplate.Resources>
|
||||
<Border
|
||||
x:Name="border"
|
||||
Padding="0,0,0,0"
|
||||
BorderBrush="#FF000000"
|
||||
BorderThickness="1,1,1,1"
|
||||
CornerRadius="4,4,4,4">
|
||||
<Border.Background>
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#FF000000" />
|
||||
<GradientStop Offset="1" Color="#FF262626" />
|
||||
</LinearGradientBrush>
|
||||
</Border.Background>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.5*" />
|
||||
<RowDefinition Height="0.5*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Border
|
||||
x:Name="glow"
|
||||
Grid.RowSpan="2"
|
||||
Width="Auto"
|
||||
HorizontalAlignment="Stretch"
|
||||
CornerRadius="4,4,4,4"
|
||||
Opacity="0">
|
||||
<Border.Background>
|
||||
<RadialGradientBrush>
|
||||
<RadialGradientBrush.RelativeTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1.702" ScaleY="2.243" />
|
||||
<SkewTransform AngleX="0" AngleY="0" />
|
||||
<RotateTransform Angle="0" />
|
||||
<TranslateTransform X="-0.368" Y="-0.152" />
|
||||
</TransformGroup>
|
||||
</RadialGradientBrush.RelativeTransform>
|
||||
<GradientStop Offset="0" Color="#B28DBDFF" />
|
||||
<GradientStop Offset="1" Color="#008DBDFF" />
|
||||
</RadialGradientBrush>
|
||||
</Border.Background>
|
||||
</Border>
|
||||
<Border
|
||||
x:Name="shine"
|
||||
Grid.Row="0"
|
||||
Width="Auto"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Stretch"
|
||||
CornerRadius="4,4,0,0">
|
||||
<Border.Background>
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#99FFFFFF" />
|
||||
<GradientStop Offset="1" Color="#33FFFFFF" />
|
||||
</LinearGradientBrush>
|
||||
</Border.Background>
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Margin="0,0,0,0">
|
||||
<ContentPresenter
|
||||
Width="Auto"
|
||||
Margin="3,0,3,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsPressed" Value="True">
|
||||
<Setter TargetName="shine" Property="Opacity" Value="0.4" />
|
||||
<Setter TargetName="border" Property="Background" Value="#998DBDFF" />
|
||||
<Setter TargetName="glow" Property="Visibility" Value="Hidden" />
|
||||
<Setter TargetName="border" Property="BorderBrush" Value="#FF0C0C0C" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Trigger.EnterActions>
|
||||
<BeginStoryboard Storyboard="{StaticResource Timeline1}" />
|
||||
</Trigger.EnterActions>
|
||||
<Trigger.ExitActions>
|
||||
<BeginStoryboard x:Name="Timeline2_BeginStoryboard" Storyboard="{StaticResource Timeline2}" />
|
||||
</Trigger.ExitActions>
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
<Setter TargetName="border" Property="Background" Value="#FF808080" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style
|
||||
x:Key="HideDisabledButton"
|
||||
BasedOn="{StaticResource PrimaryButton}"
|
||||
TargetType="{x:Type Button}">
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled}" Value="False">
|
||||
<Setter Property="Visibility" Value="Collapsed" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
7
BeWo/Styles/ControlStyles/CheckBoxStyles.xaml
Normal file
7
BeWo/Styles/ControlStyles/CheckBoxStyles.xaml
Normal file
@@ -0,0 +1,7 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Style x:Key="CheckBoxBase" TargetType="{x:Type CheckBox}">
|
||||
<Setter Property="Margin" Value="5" />
|
||||
<Setter Property="Padding" Value="0" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
161
BeWo/Styles/ControlStyles/ComboBoxStyles.xaml
Normal file
161
BeWo/Styles/ControlStyles/ComboBoxStyles.xaml
Normal file
@@ -0,0 +1,161 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
|
||||
xmlns:conv="clr-namespace:BeWo.Converter">
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\DataTemplates\ControlTemplates.xaml" />
|
||||
<ResourceDictionary Source="..\ControlStyles\ToggleButtonStyles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
|
||||
<!-- ComboBox -->
|
||||
<Style x:Key="BaseComboBox" TargetType="ComboBox">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Height" Value="23" />
|
||||
<Setter Property="FocusVisualStyle" Value="{DynamicResource ComboBoxFocusVisual}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}" />
|
||||
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxBorderBrush}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="Padding" Value="1" />
|
||||
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
|
||||
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
|
||||
<Setter Property="ScrollViewer.CanContentScroll" Value="True" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="PrimaryComboBox"
|
||||
BasedOn="{StaticResource BaseComboBox}"
|
||||
TargetType="ComboBox">
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type ComboBox}">
|
||||
<Grid SnapsToDevicePixels="true">
|
||||
<Border
|
||||
x:Name="Bd"
|
||||
MaxWidth="{TemplateBinding MaxWidth}"
|
||||
Padding="1"
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}">
|
||||
<Grid Grid.IsSharedSizeScope="true">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" SharedSizeGroup="ComboBoxButton" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border
|
||||
x:Name="SelectedItemBorder"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="2,1,20,1">
|
||||
<ContentPresenter
|
||||
Margin="3,0"
|
||||
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||
Content="{TemplateBinding SelectionBoxItem}"
|
||||
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
|
||||
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</Border>
|
||||
<ToggleButton
|
||||
Grid.ColumnSpan="3"
|
||||
IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Style="{StaticResource ComboBoxTransparentButtonStyle}" />
|
||||
</Grid>
|
||||
</Border>
|
||||
<Popup
|
||||
x:Name="PART_Popup"
|
||||
AllowsTransparency="true"
|
||||
Focusable="false"
|
||||
IsOpen="{Binding Path=IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Placement="Bottom"
|
||||
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
|
||||
<Microsoft_Windows_Themes:SystemDropShadowChrome
|
||||
x:Name="Shdw"
|
||||
MinWidth="{TemplateBinding ActualWidth}"
|
||||
MaxHeight="{TemplateBinding MaxDropDownHeight}"
|
||||
Color="Transparent">
|
||||
<Border
|
||||
x:Name="DropDownBorder"
|
||||
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
|
||||
BorderBrush="{DynamicResource {x:Static SystemColors.WindowFrameBrushKey}}"
|
||||
BorderThickness="1">
|
||||
<ScrollViewer>
|
||||
<ItemsPresenter KeyboardNavigation.DirectionalNavigation="Contained" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
</Microsoft_Windows_Themes:SystemDropShadowChrome>
|
||||
</Popup>
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<MultiTrigger>
|
||||
<MultiTrigger.Conditions>
|
||||
<Condition Property="IsSelectionBoxHighlighted" Value="true" />
|
||||
<Condition Property="IsDropDownOpen" Value="false" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Foreground" Value="#FF000000" />
|
||||
</MultiTrigger>
|
||||
<Trigger Property="IsSelectionBoxHighlighted" Value="true">
|
||||
<Setter TargetName="SelectedItemBorder" Property="Background" Value="{DynamicResource ControlSelectedBackgroundBrush}" />
|
||||
</Trigger>
|
||||
<Trigger SourceName="PART_Popup" Property="HasDropShadow" Value="true">
|
||||
<Setter TargetName="Shdw" Property="Margin" Value="0,0,5,5" />
|
||||
<Setter TargetName="Shdw" Property="Color" Value="#71000000" />
|
||||
</Trigger>
|
||||
<Trigger Property="HasItems" Value="false">
|
||||
<Setter TargetName="DropDownBorder" Property="MinHeight" Value="95" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="false">
|
||||
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
||||
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsGrouping" Value="true">
|
||||
<Setter Property="ScrollViewer.CanContentScroll" Value="false" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsEditable" Value="true">
|
||||
<Setter Property="IsTabStop" Value="false" />
|
||||
<Setter Property="Padding" Value="0,1" />
|
||||
<Setter Property="Template" Value="{StaticResource ComboBoxEditableTemplate}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
|
||||
<Style
|
||||
x:Key="NoWrapComboBox"
|
||||
BasedOn="{StaticResource PrimaryComboBox}"
|
||||
TargetType="ComboBox">
|
||||
<Setter Property="ItemTemplate">
|
||||
<Setter.Value>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Path=.}" TextWrapping="NoWrap" />
|
||||
</DataTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<conv:EnumTranslationConverter x:Key="EnumTranslationConverter" />
|
||||
<DataTemplate x:Key="ListItemView">
|
||||
<TextBlock
|
||||
x:Name="textblock"
|
||||
MaxWidth="362"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||||
Text="{Binding Path=., Converter={StaticResource EnumTranslationConverter}}"
|
||||
TextTrimming="CharacterEllipsis"
|
||||
TextWrapping="NoWrap"
|
||||
ToolTip="{Binding Path=Text, RelativeSource={RelativeSource Self}}" />
|
||||
</DataTemplate>
|
||||
<Style
|
||||
x:Key="EnumTranslationComboBox"
|
||||
BasedOn="{StaticResource PrimaryComboBox}"
|
||||
TargetType="ComboBox">
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}" />
|
||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||
<Setter Property="MaxWidth" Value="400" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
9
BeWo/Styles/ControlStyles/CustomControlsStyles.xaml
Normal file
9
BeWo/Styles/ControlStyles/CustomControlsStyles.xaml
Normal file
@@ -0,0 +1,9 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:uc="clr-namespace:BeWo.View.Controls">
|
||||
<Style x:Key="BaseCustomerSelectionControl" TargetType="{x:Type uc:CustomerSelectionControl}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Height" Value="32" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
42
BeWo/Styles/ControlStyles/DateEditStyles.xaml
Normal file
42
BeWo/Styles/ControlStyles/DateEditStyles.xaml
Normal file
@@ -0,0 +1,42 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxei="http://schemas.devexpress.com/winfx/2008/xaml/editors/internal"
|
||||
xmlns:dxet="http://schemas.devexpress.com/winfx/2008/xaml/editors/themekeys">
|
||||
<Style
|
||||
x:Key="BaseDateEdit"
|
||||
BasedOn="{StaticResource {x:Type dxe:DateEdit}}"
|
||||
TargetType="{x:Type dxe:DateEdit}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Padding" Value="1" />
|
||||
<Setter Property="Height" Value="23" />
|
||||
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorderBrush}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="PrimaryDateEdit"
|
||||
BasedOn="{StaticResource BaseDateEdit}"
|
||||
TargetType="{x:Type dxe:DateEdit}">
|
||||
<Style.Resources>
|
||||
<DataTemplate x:Key="{dxet:ButtonsThemeKey ResourceKey=ToggleButtonInfoTemplate, IsThemeIndependent=True}">
|
||||
<dx:ToggleStateButton
|
||||
x:Name="PART_Item"
|
||||
Margin="2"
|
||||
dxei:SetIsCheckedToButtonInfoBehavior.IsEnabled="True"
|
||||
IsChecked="{Binding Path=IsChecked, Mode=TwoWay}"
|
||||
Style="{StaticResource ComboBoxTransparentButtonStyle}" />
|
||||
<DataTemplate.Triggers>
|
||||
<DataTrigger Binding="{Binding Path=IsDefaultButton}" Value="True">
|
||||
<Setter TargetName="PART_Item" Property="IsChecked" Value="{Binding Path=(dxe:BaseEdit.OwnerEdit).IsPopupOpen, RelativeSource={RelativeSource Self}, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</DataTrigger>
|
||||
<DataTrigger Binding="{Binding Path=IsDefaultButton}" Value="False">
|
||||
<Setter TargetName="PART_Item" Property="HandleToggle" Value="False" />
|
||||
</DataTrigger>
|
||||
</DataTemplate.Triggers>
|
||||
</DataTemplate>
|
||||
</Style.Resources>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
52
BeWo/Styles/ControlStyles/GroupBoxStyles.xaml
Normal file
52
BeWo/Styles/ControlStyles/GroupBoxStyles.xaml
Normal file
@@ -0,0 +1,52 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Style x:Key="BaseGroupBox" TargetType="{x:Type GroupBox}">
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="Padding" Value="3" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="ObjectEditGroupBox"
|
||||
BasedOn="{StaticResource BaseGroupBox}"
|
||||
TargetType="{x:Type GroupBox}">
|
||||
<!-- <Setter Property="BorderBrush" Value="#D5DFE5" />-->
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type GroupBox}">
|
||||
<Grid SnapsToDevicePixels="true">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Border
|
||||
x:Name="Header"
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
MinHeight="20"
|
||||
Padding="3,0,3,0"
|
||||
TextElement.FontFamily="Microsoft Sans Serif"
|
||||
TextElement.FontSize="16"
|
||||
TextElement.Foreground="{StaticResource TabItemHotTextBrush}">
|
||||
<ContentPresenter
|
||||
ContentSource="Header"
|
||||
RecognizesAccessKey="True"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
BorderBrush="#FF86878F"
|
||||
BorderThickness="0,0,0,1" />
|
||||
<ContentPresenter
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Margin="{TemplateBinding Padding}"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
19
BeWo/Styles/ControlStyles/LabelStyles.xaml
Normal file
19
BeWo/Styles/ControlStyles/LabelStyles.xaml
Normal file
@@ -0,0 +1,19 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Style x:Key="BaseLabel" TargetType="Label">
|
||||
<Setter Property="IsEnabled" Value="True" />
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Padding" Value="3" />
|
||||
<Setter Property="VerticalAlignment" Value="Top" />
|
||||
<Setter Property="TextElement.Foreground" Value="#FF000000" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="Header1" 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,-6,3,6" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
27
BeWo/Styles/ControlStyles/ListBoxStyles.xaml
Normal file
27
BeWo/Styles/ControlStyles/ListBoxStyles.xaml
Normal file
@@ -0,0 +1,27 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- ListBoxItems -->
|
||||
<Style x:Key="PhotoListBoxItem" TargetType="ListBoxItem">
|
||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||
<Style.Resources>
|
||||
<SolidColorBrush
|
||||
x:Key="{x:Static SystemColors.HighlightBrushKey}"
|
||||
Opacity="0.4"
|
||||
Color="AliceBlue" />
|
||||
<SolidColorBrush
|
||||
x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}"
|
||||
Opacity="0.4"
|
||||
Color="AliceBlue" />
|
||||
</Style.Resources>
|
||||
</Style>
|
||||
|
||||
<!-- ListBox -->
|
||||
<Style x:Key="PhotoListBox" TargetType="{x:Type ListBox}">
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
<Setter Property="Margin" Value="5" />
|
||||
<Setter Property="MinHeight" Value="100" />
|
||||
<Setter Property="MaxHeight" Value="800" />
|
||||
<Setter Property="IsSynchronizedWithCurrentItem" Value="True" />
|
||||
<Setter Property="SelectionMode" Value="Single" />
|
||||
<Setter Property="ItemContainerStyle" Value="{StaticResource PhotoListBoxItem}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
148
BeWo/Styles/ControlStyles/NullItemComboBoxStyles.xaml
Normal file
148
BeWo/Styles/ControlStyles/NullItemComboBoxStyles.xaml
Normal file
@@ -0,0 +1,148 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls">
|
||||
|
||||
<!-- NullItemComboBox -->
|
||||
<Style x:Key="PrimaryNullItemComboBox" TargetType="uc:NullItemComboBox">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Height" Value="23" />
|
||||
<Setter Property="FocusVisualStyle" Value="{DynamicResource ComboBoxFocusVisual}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}" />
|
||||
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource TextBoxBorderBrush}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="Padding" Value="1" />
|
||||
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
|
||||
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
|
||||
<Setter Property="ScrollViewer.CanContentScroll" Value="true" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="ItemTemplate">
|
||||
<Setter.Value>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Path=.}" TextWrapping="NoWrap" />
|
||||
</DataTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type uc:NullItemComboBox}">
|
||||
<Grid SnapsToDevicePixels="true">
|
||||
<Border
|
||||
x:Name="Bd"
|
||||
Padding="1"
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}">
|
||||
<Grid Grid.IsSharedSizeScope="true">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" SharedSizeGroup="ComboBoxButton" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border
|
||||
x:Name="SelectedItemBorder"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="2,1,20,1">
|
||||
<ContentPresenter
|
||||
Margin="3,0"
|
||||
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||
Content="{TemplateBinding SelectionBoxItem}"
|
||||
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
|
||||
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</Border>
|
||||
<ToggleButton
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Style="{DynamicResource ComboBoxTransparentButtonStyle}" />
|
||||
<Label
|
||||
x:Name="label_nullText"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="5,3,20,3"
|
||||
Padding="0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Content="{TemplateBinding NullText}"
|
||||
IsHitTestVisible="False"
|
||||
Visibility="Hidden" />
|
||||
</Grid>
|
||||
</Border>
|
||||
<Popup
|
||||
x:Name="PART_Popup"
|
||||
AllowsTransparency="true"
|
||||
Focusable="false"
|
||||
IsOpen="{Binding Path=IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Placement="Bottom"
|
||||
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
|
||||
<Microsoft_Windows_Themes:SystemDropShadowChrome
|
||||
x:Name="Shdw"
|
||||
MinWidth="{TemplateBinding ActualWidth}"
|
||||
MaxHeight="{TemplateBinding MaxDropDownHeight}"
|
||||
Color="Transparent">
|
||||
<Border
|
||||
x:Name="DropDownBorder"
|
||||
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
|
||||
BorderBrush="{DynamicResource {x:Static SystemColors.WindowFrameBrushKey}}"
|
||||
BorderThickness="1">
|
||||
<ScrollViewer>
|
||||
<ItemsPresenter KeyboardNavigation.DirectionalNavigation="Contained" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
</Microsoft_Windows_Themes:SystemDropShadowChrome>
|
||||
</Popup>
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<MultiTrigger>
|
||||
<MultiTrigger.Conditions>
|
||||
<Condition Property="IsSelectionBoxHighlighted" Value="true" />
|
||||
<Condition Property="IsDropDownOpen" Value="false" />
|
||||
</MultiTrigger.Conditions>
|
||||
<Setter Property="Foreground" Value="#FF000000" />
|
||||
</MultiTrigger>
|
||||
<Trigger Property="IsSelectionBoxHighlighted" Value="true">
|
||||
<Setter TargetName="SelectedItemBorder" Property="Background" Value="{DynamicResource ControlSelectedBackgroundBrush}" />
|
||||
</Trigger>
|
||||
<Trigger SourceName="PART_Popup" Property="HasDropShadow" Value="true">
|
||||
<Setter TargetName="Shdw" Property="Margin" Value="0,0,5,5" />
|
||||
<Setter TargetName="Shdw" Property="Color" Value="#71000000" />
|
||||
</Trigger>
|
||||
<Trigger Property="HasItems" Value="false">
|
||||
<Setter TargetName="DropDownBorder" Property="MinHeight" Value="95" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="false">
|
||||
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
||||
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsGrouping" Value="true">
|
||||
<Setter Property="ScrollViewer.CanContentScroll" Value="false" />
|
||||
</Trigger>
|
||||
<Trigger Property="SelectedItem" Value="{x:Null}">
|
||||
<Setter TargetName="label_nullText" Property="Visibility" Value="Visible" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsEditable" Value="true">
|
||||
<Setter Property="IsTabStop" Value="false" />
|
||||
<Setter Property="Padding" Value="0,1" />
|
||||
<Setter Property="Template" Value="{DynamicResource ComboBoxEditableTemplate}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
|
||||
<Style
|
||||
x:Key="EnumTranslationNullItemComboBox"
|
||||
BasedOn="{StaticResource PrimaryNullItemComboBox}"
|
||||
TargetType="{x:Type uc:NullItemComboBox}">
|
||||
<Setter Property="ItemTemplate" Value="{DynamicResource ListItemView}" />
|
||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||
<Setter Property="MaxWidth" Value="400" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
7
BeWo/Styles/ControlStyles/RadioButtonStyles.xaml
Normal file
7
BeWo/Styles/ControlStyles/RadioButtonStyles.xaml
Normal file
@@ -0,0 +1,7 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Base -->
|
||||
<Style x:Key="BaseRadioButton" TargetType="RadioButton">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="VerticalAlignment" Value="Top" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
67
BeWo/Styles/ControlStyles/TextBoxStyles.xaml
Normal file
67
BeWo/Styles/ControlStyles/TextBoxStyles.xaml
Normal file
@@ -0,0 +1,67 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Style x:Key="TextBoxBase" TargetType="{x:Type TextBox}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Padding" Value="3" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||
</Style>
|
||||
|
||||
<Style
|
||||
x:Key="TextBoxNoticeBase"
|
||||
BasedOn="{StaticResource TextBoxBase}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MinHeight" Value="23" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Stretch" />
|
||||
<Setter Property="VerticalAlignment" Value="Stretch" />
|
||||
<Setter Property="AcceptsReturn" Value="True" />
|
||||
<Setter Property="VerticalScrollBarVisibility" Value="Auto" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNotice"
|
||||
BasedOn="{StaticResource TextBoxNoticeBase}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MaxHeight" Value="150" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNoticeLarge"
|
||||
BasedOn="{StaticResource TextBoxNoticeBase}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MaxHeight" Value="300" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNoticeExtended"
|
||||
BasedOn="{StaticResource TextBoxNoticeBase}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MinHeight" Value="150" />
|
||||
<Setter Property="Height" Value="150" />
|
||||
<Setter Property="MaxHeight" Value="150" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNoticeSmallExtended"
|
||||
BasedOn="{StaticResource TextBoxNoticeBase}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MinHeight" Value="75" />
|
||||
<Setter Property="MaxHeight" Value="75" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="ComboBoxEditableTextBox" TargetType="{x:Type TextBox}">
|
||||
<Setter Property="OverridesDefaultStyle" Value="true" />
|
||||
<Setter Property="AllowDrop" Value="true" />
|
||||
<Setter Property="MinWidth" Value="0" />
|
||||
<Setter Property="MinHeight" Value="0" />
|
||||
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type TextBox}">
|
||||
<ScrollViewer
|
||||
x:Name="PART_ContentHost"
|
||||
Background="Transparent"
|
||||
Focusable="false"
|
||||
HorizontalScrollBarVisibility="Hidden"
|
||||
VerticalScrollBarVisibility="Hidden" />
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
</ResourceDictionary>
|
||||
78
BeWo/Styles/ControlStyles/TextEditStyles.xaml
Normal file
78
BeWo/Styles/ControlStyles/TextEditStyles.xaml
Normal file
@@ -0,0 +1,78 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
|
||||
|
||||
<!-- Base -->
|
||||
<Style x:Key="BaseTextEdit" TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Height" Value="23" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="BaseNumberTextEdit"
|
||||
BasedOn="{StaticResource BaseTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="MaskType" Value="Numeric" />
|
||||
<Setter Property="MaskUseAsDisplayFormat" Value="True" />
|
||||
<Setter Property="Mask" Value="N0" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="BaseNumberMaskTextEdit"
|
||||
BasedOn="{StaticResource BaseTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="MaskType" Value="Numeric" />
|
||||
<Setter Property="MaskUseAsDisplayFormat" Value="True" />
|
||||
</Style>
|
||||
|
||||
<!-- Special -->
|
||||
<Style
|
||||
x:Key="TextEditYear"
|
||||
BasedOn="{StaticResource BaseNumberMaskTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="0000" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditQm"
|
||||
BasedOn="{StaticResource BaseNumberMaskTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="######0.00 qm" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditCurrency"
|
||||
BasedOn="{StaticResource BaseNumberMaskTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="######0.## $" />
|
||||
<Setter Property="dxe:NumericMaskOptions.AlwaysShowDecimalSeparator" Value="False" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditHours"
|
||||
BasedOn="{StaticResource BaseNumberMaskTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="########0.## Std" />
|
||||
<Setter Property="dxe:NumericMaskOptions.AlwaysShowDecimalSeparator" Value="False" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditDays"
|
||||
BasedOn="{StaticResource BaseNumberMaskTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="########0.## Tage" />
|
||||
<Setter Property="dxe:NumericMaskOptions.AlwaysShowDecimalSeparator" Value="False" />
|
||||
</Style>
|
||||
|
||||
<!-- Numbers -->
|
||||
<Style
|
||||
x:Key="TextEditNumberDecimal"
|
||||
BasedOn="{StaticResource BaseNumberMaskTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="########0.##" />
|
||||
<Setter Property="dxe:NumericMaskOptions.AlwaysShowDecimalSeparator" Value="False" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditNumberDecimalNullable"
|
||||
BasedOn="{StaticResource BaseNumberMaskTextEdit}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="#########.##" />
|
||||
<Setter Property="dxe:NumericMaskOptions.AlwaysShowDecimalSeparator" Value="False" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
149
BeWo/Styles/ControlStyles/ToggleButtonStyles.xaml
Normal file
149
BeWo/Styles/ControlStyles/ToggleButtonStyles.xaml
Normal file
@@ -0,0 +1,149 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Style x:Key="ComboBoxTransparentButtonStyle" TargetType="{x:Type ToggleButton}">
|
||||
<Setter Property="MinWidth" Value="0" />
|
||||
<Setter Property="MinHeight" Value="0" />
|
||||
<Setter Property="Width" Value="Auto" />
|
||||
<Setter Property="Height" Value="Auto" />
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="Focusable" Value="false" />
|
||||
<Setter Property="ClickMode" Value="Press" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
||||
<ControlTemplate.Resources>
|
||||
<Storyboard x:Key="Timeline1">
|
||||
<DoubleAnimationUsingKeyFrames
|
||||
BeginTime="00:00:00"
|
||||
Storyboard.TargetName="glow"
|
||||
Storyboard.TargetProperty="(UIElement.Opacity)">
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1" />
|
||||
</DoubleAnimationUsingKeyFrames>
|
||||
<DoubleAnimation
|
||||
Storyboard.TargetName="border"
|
||||
Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"
|
||||
To="1.3"
|
||||
Duration="0:0:0.2" />
|
||||
<DoubleAnimation
|
||||
Storyboard.TargetName="border"
|
||||
Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)"
|
||||
To="1.3"
|
||||
Duration="0:0:0.2" />
|
||||
</Storyboard>
|
||||
<Storyboard x:Key="Timeline2">
|
||||
<DoubleAnimationUsingKeyFrames
|
||||
BeginTime="00:00:00"
|
||||
Storyboard.TargetName="glow"
|
||||
Storyboard.TargetProperty="(UIElement.Opacity)">
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" />
|
||||
</DoubleAnimationUsingKeyFrames>
|
||||
<DoubleAnimation
|
||||
Storyboard.TargetName="border"
|
||||
Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"
|
||||
Duration="0:0:0.2" />
|
||||
<DoubleAnimation
|
||||
Storyboard.TargetName="border"
|
||||
Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)"
|
||||
Duration="0:0:0.2" />
|
||||
</Storyboard>
|
||||
</ControlTemplate.Resources>
|
||||
<Grid SnapsToDevicePixels="true">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border
|
||||
x:Name="border"
|
||||
Grid.Column="1"
|
||||
Width="{DynamicResource {x:Static SystemParameters.ScrollWidthKey}}"
|
||||
Margin="0,0,0,0"
|
||||
Padding="0,0,0,0"
|
||||
BorderBrush="#FF000000"
|
||||
BorderThickness="1,1,1,1"
|
||||
CornerRadius="4,4,4,4">
|
||||
<Border.Background>
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#FF000000" />
|
||||
<GradientStop Offset="1" Color="#FF262626" />
|
||||
</LinearGradientBrush>
|
||||
</Border.Background>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.5*" />
|
||||
<RowDefinition Height="0.5*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Border
|
||||
x:Name="glow"
|
||||
Grid.RowSpan="2"
|
||||
Width="Auto"
|
||||
HorizontalAlignment="Stretch"
|
||||
CornerRadius="3,3,3,3"
|
||||
Opacity="0">
|
||||
<Border.Background>
|
||||
<RadialGradientBrush>
|
||||
<RadialGradientBrush.RelativeTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1.702" ScaleY="2.243" />
|
||||
<SkewTransform AngleX="0" AngleY="0" />
|
||||
<RotateTransform Angle="0" />
|
||||
<TranslateTransform X="-0.368" Y="-0.152" />
|
||||
</TransformGroup>
|
||||
</RadialGradientBrush.RelativeTransform>
|
||||
<GradientStop Offset="0" Color="#B28DBDFF" />
|
||||
<GradientStop Offset="1" Color="#008DBDFF" />
|
||||
</RadialGradientBrush>
|
||||
</Border.Background>
|
||||
</Border>
|
||||
<Border
|
||||
x:Name="shine"
|
||||
Grid.Row="0"
|
||||
Width="Auto"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Stretch"
|
||||
CornerRadius="3,3,0,0">
|
||||
<Border.Background>
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#99FFFFFF" />
|
||||
<GradientStop Offset="1" Color="#33FFFFFF" />
|
||||
</LinearGradientBrush>
|
||||
</Border.Background>
|
||||
</Border>
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="Webdings"
|
||||
FontSize="9"
|
||||
Text="6"
|
||||
TextWrapping="Wrap">
|
||||
<TextBlock.Foreground>
|
||||
<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlColorKey}}" />
|
||||
</TextBlock.Foreground>
|
||||
</TextBlock>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- <ToggleButton x:Name="Chrome" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Style="{StaticResource ComboBoxReadonlyToggleButton}" Grid.ColumnSpan="2" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"/>-->
|
||||
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsChecked" Value="True">
|
||||
<Setter TargetName="shine" Property="Opacity" Value="0.4" />
|
||||
<Setter TargetName="border" Property="Background" Value="#99FFA500" />
|
||||
<Setter TargetName="glow" Property="Visibility" Value="Hidden" />
|
||||
<Setter TargetName="border" Property="BorderBrush" Value="#FF0C0C0C" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Trigger.EnterActions>
|
||||
<BeginStoryboard Storyboard="{StaticResource Timeline1}" />
|
||||
</Trigger.EnterActions>
|
||||
<Trigger.ExitActions>
|
||||
<BeginStoryboard x:Name="Timeline2_BeginStoryboard" Storyboard="{StaticResource Timeline2}" />
|
||||
</Trigger.ExitActions>
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
92
BeWo/Styles/DataTemplates/ControlTemplates.xaml
Normal file
92
BeWo/Styles/DataTemplates/ControlTemplates.xaml
Normal file
@@ -0,0 +1,92 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero">
|
||||
<Style x:Key="ComboBoxFocusVisual">
|
||||
<Setter Property="Control.Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate>
|
||||
<Rectangle
|
||||
Margin="4,4,21,4"
|
||||
SnapsToDevicePixels="true"
|
||||
Stroke="Black"
|
||||
StrokeDashArray="1 2"
|
||||
StrokeThickness="1" />
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<!-- Control Templates -->
|
||||
<ControlTemplate x:Key="ComboBoxEditableTemplate" TargetType="{x:Type ComboBox}">
|
||||
<Grid SnapsToDevicePixels="true">
|
||||
<Border
|
||||
x:Name="Bd"
|
||||
Padding="1"
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}">
|
||||
<Grid Grid.IsSharedSizeScope="true">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" SharedSizeGroup="ComboBoxButton" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox
|
||||
x:Name="PART_EditableTextBox"
|
||||
Grid.Column="1"
|
||||
Margin="{TemplateBinding Padding}"
|
||||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||
IsReadOnly="{Binding Path=IsReadOnly, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Style="{DynamicResource ComboBoxEditableTextBox}" />
|
||||
<ToggleButton
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Background="{x:Null}"
|
||||
IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Style="{DynamicResource ComboBoxTransparentButtonStyle}" />
|
||||
</Grid>
|
||||
</Border>
|
||||
<Popup
|
||||
x:Name="PART_Popup"
|
||||
AllowsTransparency="true"
|
||||
Focusable="false"
|
||||
IsOpen="{Binding Path=IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Placement="Bottom"
|
||||
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
|
||||
<Microsoft_Windows_Themes:SystemDropShadowChrome
|
||||
x:Name="Shdw"
|
||||
MinWidth="{TemplateBinding ActualWidth}"
|
||||
MaxHeight="{TemplateBinding MaxDropDownHeight}"
|
||||
Color="Transparent">
|
||||
<Border
|
||||
x:Name="DropDownBorder"
|
||||
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
|
||||
BorderBrush="{DynamicResource {x:Static SystemColors.WindowFrameBrushKey}}"
|
||||
BorderThickness="1">
|
||||
<ScrollViewer>
|
||||
<ItemsPresenter KeyboardNavigation.DirectionalNavigation="Contained" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
</Microsoft_Windows_Themes:SystemDropShadowChrome>
|
||||
</Popup>
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="HasItems" Value="false">
|
||||
<Setter TargetName="DropDownBorder" Property="MinHeight" Value="95" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="false">
|
||||
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
||||
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsGrouping" Value="true">
|
||||
<Setter Property="ScrollViewer.CanContentScroll" Value="false" />
|
||||
</Trigger>
|
||||
<Trigger SourceName="PART_Popup" Property="HasDropShadow" Value="true">
|
||||
<Setter TargetName="Shdw" Property="Margin" Value="0,0,5,5" />
|
||||
<Setter TargetName="Shdw" Property="Color" Value="#71000000" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</ResourceDictionary>
|
||||
4
BeWo/Styles/DataTemplates/DataTemplates.xaml
Normal file
4
BeWo/Styles/DataTemplates/DataTemplates.xaml
Normal file
@@ -0,0 +1,4 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:conv="clr-namespace:BeWo.Converter" />
|
||||
44
BeWo/Styles/ModernOrangeBlack.xaml
Normal file
44
BeWo/Styles/ModernOrangeBlack.xaml
Normal file
@@ -0,0 +1,44 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:uc="clr-namespace:BeWo.View.Controls">
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<ResourceDictionary Source="Colors\Colors.xaml" />
|
||||
|
||||
<ResourceDictionary Source="DataTemplates\ControlTemplates.xaml" />
|
||||
<ResourceDictionary Source="DataTemplates\DataTemplates.xaml" />
|
||||
|
||||
<ResourceDictionary Source="ControlStyles\ButtonStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\CheckBoxStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\ComboBoxStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\CustomControlsStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\DateEditStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\GroupBoxStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\LabelStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\ListBoxStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\RadioButtonStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\TextBoxStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\TextEditStyles.xaml" />
|
||||
<ResourceDictionary Source="ControlStyles\ToggleButtonStyles.xaml" />
|
||||
|
||||
<!-- Benötigt TextBoxStyles + ToggleButtonStyles -->
|
||||
<ResourceDictionary Source="ControlStyles\NullItemComboBoxStyles.xaml" />
|
||||
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<!-- Default Styles -->
|
||||
<Style BasedOn="{StaticResource HideDisabledButton}" TargetType="Button" />
|
||||
<Style BasedOn="{StaticResource CheckBoxBase}" TargetType="CheckBox" />
|
||||
<Style BasedOn="{StaticResource NoWrapComboBox}" TargetType="ComboBox" />
|
||||
<Style BasedOn="{StaticResource BaseCustomerSelectionControl}" TargetType="uc:CustomerSelectionControl" />
|
||||
<Style BasedOn="{StaticResource PrimaryDateEdit}" TargetType="dxe:DateEdit" />
|
||||
<Style BasedOn="{StaticResource BaseLabel}" TargetType="Label" />
|
||||
<Style BasedOn="{StaticResource PrimaryNullItemComboBox}" TargetType="controls:NullItemComboBox" />
|
||||
<Style BasedOn="{StaticResource BaseRadioButton}" TargetType="RadioButton" />
|
||||
<Style BasedOn="{StaticResource TextBoxBase}" TargetType="TextBox" />
|
||||
<Style BasedOn="{StaticResource BaseTextEdit}" TargetType="dxe:TextEdit" />
|
||||
|
||||
</ResourceDictionary>
|
||||
@@ -1367,13 +1367,13 @@
|
||||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||
IsReadOnly="{Binding Path=IsReadOnly, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Style="{StaticResource ComboBoxEditableTextBox}" />
|
||||
Style="{DynamicResource ComboBoxEditableTextBox}" />
|
||||
<ToggleButton
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Background="{x:Null}"
|
||||
IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
Style="{StaticResource ComboBoxTransparentButtonStyle}" />
|
||||
Style="{DynamicResource ComboBoxTransparentButtonStyle}" />
|
||||
</Grid>
|
||||
</Border>
|
||||
<Popup
|
||||
|
||||
@@ -8,322 +8,4 @@
|
||||
xmlns:dxei="http://schemas.devexpress.com/winfx/2008/xaml/editors/internal"
|
||||
xmlns:dxet="http://schemas.devexpress.com/winfx/2008/xaml/editors/themekeys"
|
||||
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls">
|
||||
|
||||
<Style x:Key="ButtonGrayDisabledStyle" TargetType="{x:Type Button}">
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="Height" Value="25" />
|
||||
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||
<Setter Property="Foreground" Value="#FFFFFFFF" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<ControlTemplate.Resources>
|
||||
<Storyboard x:Key="Timeline1">
|
||||
<DoubleAnimationUsingKeyFrames
|
||||
BeginTime="00:00:00"
|
||||
Storyboard.TargetName="glow"
|
||||
Storyboard.TargetProperty="(UIElement.Opacity)">
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1" />
|
||||
</DoubleAnimationUsingKeyFrames>
|
||||
</Storyboard>
|
||||
<Storyboard x:Key="Timeline2">
|
||||
<DoubleAnimationUsingKeyFrames
|
||||
BeginTime="00:00:00"
|
||||
Storyboard.TargetName="glow"
|
||||
Storyboard.TargetProperty="(UIElement.Opacity)">
|
||||
<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" />
|
||||
</DoubleAnimationUsingKeyFrames>
|
||||
</Storyboard>
|
||||
</ControlTemplate.Resources>
|
||||
<Border
|
||||
x:Name="border"
|
||||
Padding="0,0,0,0"
|
||||
BorderBrush="#FF000000"
|
||||
BorderThickness="1,1,1,1"
|
||||
CornerRadius="4,4,4,4">
|
||||
<Border.Background>
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#FF000000" />
|
||||
<GradientStop Offset="1" Color="#FF262626" />
|
||||
</LinearGradientBrush>
|
||||
</Border.Background>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.5*" />
|
||||
<RowDefinition Height="0.5*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Border
|
||||
x:Name="glow"
|
||||
Grid.RowSpan="2"
|
||||
Width="Auto"
|
||||
HorizontalAlignment="Stretch"
|
||||
CornerRadius="4,4,4,4"
|
||||
Opacity="0">
|
||||
<Border.Background>
|
||||
<RadialGradientBrush>
|
||||
<RadialGradientBrush.RelativeTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1.702" ScaleY="2.243" />
|
||||
<SkewTransform AngleX="0" AngleY="0" />
|
||||
<RotateTransform Angle="0" />
|
||||
<TranslateTransform X="-0.368" Y="-0.152" />
|
||||
</TransformGroup>
|
||||
</RadialGradientBrush.RelativeTransform>
|
||||
<GradientStop Offset="0" Color="#B28DBDFF" />
|
||||
<GradientStop Offset="1" Color="#008DBDFF" />
|
||||
</RadialGradientBrush>
|
||||
</Border.Background>
|
||||
</Border>
|
||||
<Border
|
||||
x:Name="shine"
|
||||
Grid.Row="0"
|
||||
Width="Auto"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Stretch"
|
||||
CornerRadius="4,4,0,0">
|
||||
<Border.Background>
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#99FFFFFF" />
|
||||
<GradientStop Offset="1" Color="#33FFFFFF" />
|
||||
</LinearGradientBrush>
|
||||
</Border.Background>
|
||||
</Border>
|
||||
<Border
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Margin="0,0,0,0">
|
||||
<ContentPresenter
|
||||
Width="Auto"
|
||||
Margin="3,0,3,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsPressed" Value="True">
|
||||
<Setter TargetName="shine" Property="Opacity" Value="0.4" />
|
||||
<Setter TargetName="border" Property="Background" Value="#998DBDFF" />
|
||||
<Setter TargetName="glow" Property="Visibility" Value="Hidden" />
|
||||
<Setter TargetName="border" Property="BorderBrush" Value="#FF0C0C0C" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Trigger.EnterActions>
|
||||
<BeginStoryboard Storyboard="{StaticResource Timeline1}" />
|
||||
</Trigger.EnterActions>
|
||||
<Trigger.ExitActions>
|
||||
<BeginStoryboard x:Name="Timeline2_BeginStoryboard" Storyboard="{StaticResource Timeline2}" />
|
||||
</Trigger.ExitActions>
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
<Setter TargetName="border" Property="Background" Value="#FF808080" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="FontFamily" Value="Microsoft Sans Serif" />
|
||||
<Setter Property="FontSize" Value="12" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
<Setter Property="Margin" Value="3" />
|
||||
</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,-6,3,6" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type uc:NullItemComboBox}}" TargetType="uc:NullItemComboBox">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="ItemTemplate">
|
||||
<Setter.Value>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding _name}" TextWrapping="NoWrap" />
|
||||
</DataTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type ComboBox}}" TargetType="ComboBox">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Height" Value="23" />
|
||||
<Setter Property="ItemTemplate">
|
||||
<Setter.Value>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding _name}" TextWrapping="NoWrap" />
|
||||
</DataTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type CheckBox}}" TargetType="{x:Type CheckBox}">
|
||||
<Setter Property="Margin" Value="5" />
|
||||
<Setter Property="Padding" Value="0" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
</Style>
|
||||
|
||||
<!--<Style TargetType="dxe:DateEdit" BasedOn="{StaticResource {x:Type dxe:DateEdit}}" x:Shared="False">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="Height" Value="23"/>
|
||||
<Setter Property="AllowDefaultButton" Value="False"/>
|
||||
<Setter Property="Buttons">
|
||||
<Setter.Value>
|
||||
<dxe:ButtonInfoCollection >
|
||||
<dxe:ButtonInfo IsDefaultButton="True" x:Shared="False">
|
||||
<dxe:ButtonInfo.Template>
|
||||
<DataTemplate>
|
||||
<ToggleButton x:Name="PART_Item" Style="{StaticResource ComboBoxTransparentButtonStyle}"/>
|
||||
</DataTemplate>
|
||||
</dxe:ButtonInfo.Template>
|
||||
</dxe:ButtonInfo>
|
||||
</dxe:ButtonInfoCollection>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>-->
|
||||
<Style BasedOn="{StaticResource {x:Type dxe:DateEdit}}" TargetType="{x:Type dxe:DateEdit}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Padding" Value="1" />
|
||||
<Setter Property="Height" Value="23" />
|
||||
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorderBrush}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Style.Resources>
|
||||
<DataTemplate x:Key="{dxet:ButtonsThemeKey ResourceKey=ToggleButtonInfoTemplate, IsThemeIndependent=True}">
|
||||
<dx:ToggleStateButton
|
||||
x:Name="PART_Item"
|
||||
Margin="2"
|
||||
dxei:SetIsCheckedToButtonInfoBehavior.IsEnabled="True"
|
||||
IsChecked="{Binding Path=IsChecked, Mode=TwoWay}"
|
||||
Style="{StaticResource ComboBoxTransparentButtonStyle}" />
|
||||
<DataTemplate.Triggers>
|
||||
<DataTrigger Binding="{Binding Path=IsDefaultButton}" Value="True">
|
||||
<Setter TargetName="PART_Item" Property="IsChecked" Value="{Binding Path=(dxe:BaseEdit.OwnerEdit).IsPopupOpen, RelativeSource={RelativeSource Self}, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</DataTrigger>
|
||||
<DataTrigger Binding="{Binding Path=IsDefaultButton}" Value="False">
|
||||
<Setter TargetName="PART_Item" Property="HandleToggle" Value="False" />
|
||||
</DataTrigger>
|
||||
</DataTemplate.Triggers>
|
||||
</DataTemplate>
|
||||
</Style.Resources>
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type dxe:TextEdit}}" TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Height" Value="23" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Visibility" Value="Visible" />
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled}" Value="False">
|
||||
<Setter Property="Visibility" Value="Collapsed" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
|
||||
<Setter Property="IsEnabled" Value="True" />
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Padding" Value="3" />
|
||||
<Setter Property="VerticalAlignment" Value="Top" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type TextBox}}" TargetType="{x:Type TextBox}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Padding" Value="3" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||
</Style>
|
||||
<Style TargetType="RadioButton">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="VerticalAlignment" Value="Top" />
|
||||
</Style>
|
||||
|
||||
<DataTemplate x:Key="ListItemView">
|
||||
<TextBlock
|
||||
Text="{Binding Path=., Converter={StaticResource EnumTranslationConverter}}"
|
||||
TextWrapping="NoWrap"
|
||||
ToolTip="{Binding Path=Text, RelativeSource={RelativeSource Self}}" />
|
||||
</DataTemplate>
|
||||
<Style
|
||||
x:Key="EnumTranslationNullItemComboBox"
|
||||
BasedOn="{StaticResource {x:Type uc:NullItemComboBox}}"
|
||||
TargetType="{x:Type uc:NullItemComboBox}">
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="EnumTranslationComboBox"
|
||||
BasedOn="{StaticResource {x:Type ComboBox}}"
|
||||
TargetType="{x:Type ComboBox}">
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}" />
|
||||
</Style>
|
||||
|
||||
<Style
|
||||
x:Key="TextEditYearStyle"
|
||||
BasedOn="{StaticResource {x:Type dxe:TextEdit}}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="0000" />
|
||||
<Setter Property="MaskType" Value="Numeric" />
|
||||
<Setter Property="MaskUseAsDisplayFormat" Value="True" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditQmStyle"
|
||||
BasedOn="{StaticResource {x:Type dxe:TextEdit}}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="######0.00 qm" />
|
||||
<Setter Property="MaskType" Value="Numeric" />
|
||||
<Setter Property="MaskUseAsDisplayFormat" Value="True" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditCurrencyStyle"
|
||||
BasedOn="{StaticResource {x:Type dxe:TextEdit}}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="Mask" Value="######0.## $" />
|
||||
<Setter Property="MaskType" Value="Numeric" />
|
||||
<Setter Property="MaskUseAsDisplayFormat" Value="True" />
|
||||
<Setter Property="dxe:NumericMaskOptions.AlwaysShowDecimalSeparator" Value="False" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNoticeBaseStyle"
|
||||
BasedOn="{StaticResource {x:Type TextBox}}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MinHeight" Value="23" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Stretch" />
|
||||
<Setter Property="VerticalAlignment" Value="Stretch" />
|
||||
<Setter Property="AcceptsReturn" Value="True" />
|
||||
<Setter Property="VerticalScrollBarVisibility" Value="Auto" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNoticeStyle"
|
||||
BasedOn="{StaticResource TextBoxNoticeBaseStyle}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MaxHeight" Value="150" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNoticeLargeStyle"
|
||||
BasedOn="{StaticResource TextBoxNoticeBaseStyle}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MaxHeight" Value="300" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNoticeExtendedStyle"
|
||||
BasedOn="{StaticResource TextBoxNoticeBaseStyle}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MinHeight" Value="150" />
|
||||
<Setter Property="Height" Value="150" />
|
||||
<Setter Property="MaxHeight" Value="150" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextBoxNoticeSmallExtendedStyle"
|
||||
BasedOn="{StaticResource TextBoxNoticeBaseStyle}"
|
||||
TargetType="{x:Type TextBox}">
|
||||
<Setter Property="MinHeight" Value="75" />
|
||||
<Setter Property="MaxHeight" Value="75" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="{x:Type control:CustomerSelectionControl}">
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="Height" Value="32" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls" />
|
||||
@@ -7,25 +7,32 @@
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
x:Name="root"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVermittlungArbeitVM}"
|
||||
d:DesignHeight="1450"
|
||||
d:DesignWidth="1800"
|
||||
mc:Ignorable="d">
|
||||
<d:DesignerProperties.DesignStyle>
|
||||
<Style TargetType="UserControl">
|
||||
<Setter Property="Background" Value="White" />
|
||||
<Setter Property="Height" Value="1366" />
|
||||
<Setter Property="Width" Value="768" />
|
||||
<Setter Property="Height" Value="768" />
|
||||
<Setter Property="Width" Value="1366" />
|
||||
</Style>
|
||||
</d:DesignerProperties.DesignStyle>
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<Style BasedOn="{StaticResource ObjectEditGroupBox}" TargetType="{x:Type GroupBox}">
|
||||
<Setter Property="Margin" Value="15" />
|
||||
<Setter Property="Padding" Value="10,7,7,5" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource CheckBoxBase}" TargetType="CheckBox">
|
||||
<Setter Property="IsHitTestVisible" Value="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, ElementName=root}" />
|
||||
<Setter Property="Focusable" Value="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, ElementName=root}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid HorizontalAlignment="Stretch">
|
||||
@@ -80,8 +87,9 @@
|
||||
<TextBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Text="{Binding Path=EigenesAktenzeichen, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
@@ -90,8 +98,9 @@
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Auftragseingang, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
ShowClearButton="False" />
|
||||
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
@@ -100,9 +109,12 @@
|
||||
x:Name="comboBox_Auftragsherkunft"
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
ItemsSource="{Binding Path=Auftragsherkunfte}"
|
||||
SelectedValue="{Binding Path=Auftragsherkunft, Mode=TwoWay}" />
|
||||
DisplayMemberPath="TypeDescription"
|
||||
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}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
@@ -111,9 +123,11 @@
|
||||
x:Name="comboBox_Vermittlungsgrundlage"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
ItemsSource="{Binding Path=Vermittlungsgrundlagen}"
|
||||
DisplayMemberPath="TypeDescription"
|
||||
IsEnabled="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, ElementName=root}"
|
||||
ItemsSource="{Binding Path=DataContext.Vermittlungsgrundlagen, RelativeSource={RelativeSource AncestorType={x:Type GroupBox}, AncestorLevel=2, Mode=FindAncestor}}"
|
||||
SelectedValue="{Binding Path=Vermittlungsgrundlage, Mode=TwoWay}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="4"
|
||||
Grid.Column="0"
|
||||
@@ -121,12 +135,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Tagessatze, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.##"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource TextEditNumberDecimalNullable}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="5"
|
||||
Grid.Column="0"
|
||||
@@ -134,12 +146,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Tagessatzhohe, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.00 $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="6"
|
||||
Grid.Column="0"
|
||||
@@ -147,12 +157,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=HoheDerGeldstrafe, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
|
||||
EditValue="{Binding Path=HoheDerGeldstrafe, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="True"
|
||||
Mask="########0.00 $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
@@ -160,12 +168,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=ZuLeistendeArbeitsstunden, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.## Std"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource TextEditHours}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
@@ -173,8 +179,9 @@
|
||||
<TextBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Text="{Binding Path=Hinweis, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="9"
|
||||
Grid.Column="0"
|
||||
@@ -183,7 +190,7 @@
|
||||
Grid.Row="9"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Termin, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Mask="G"
|
||||
MaskUseAsDisplayFormat="True"
|
||||
ShowClearButton="True">
|
||||
@@ -191,6 +198,7 @@
|
||||
<dxe:DateEditNavigatorWithTimePickerStyleSettings />
|
||||
</dxe:DateEdit.StyleSettings>
|
||||
</dxe:DateEdit>
|
||||
|
||||
<Label
|
||||
Grid.Row="10"
|
||||
Grid.Column="0"
|
||||
@@ -200,10 +208,11 @@
|
||||
Grid.Row="10"
|
||||
Grid.Column="1"
|
||||
HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
ItemsSource="{Binding Path=FalldatenBearbeitungsstatusTypes}"
|
||||
SelectedValue="{Binding Path=FalldatenBearbeitungsstatus}"
|
||||
IsEnabled="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, ElementName=root}"
|
||||
ItemsSource="{Binding Path=CustomerVermittlungBearbeitungsstatusTypes}"
|
||||
SelectedValue="{Binding Path=CustomerVermittlungBearbeitungsstatus}"
|
||||
Style="{StaticResource EnumTranslationNullItemComboBox}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="11"
|
||||
Grid.Column="0"
|
||||
@@ -211,8 +220,9 @@
|
||||
<TextBox
|
||||
Grid.Row="11"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Text="{Binding Path=Auftragsruckgabe, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="12"
|
||||
Grid.Column="0"
|
||||
@@ -220,8 +230,9 @@
|
||||
<TextBox
|
||||
Grid.Row="12"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Text="{Binding Path=Verlauf, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="13"
|
||||
Grid.Column="0"
|
||||
@@ -229,12 +240,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="13"
|
||||
Grid.Column="1"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=AbgeleisteteStunden, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.## Std"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource TextEditHours}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="14"
|
||||
Grid.Column="0"
|
||||
@@ -242,12 +251,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="14"
|
||||
Grid.Column="1"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=ErsparteHafttage, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.## Tage"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource TextEditDays}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="15"
|
||||
Grid.Column="0"
|
||||
@@ -255,12 +262,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="15"
|
||||
Grid.Column="1"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=GeleisteteRatenzahlung, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.00 $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="16"
|
||||
Grid.Column="0"
|
||||
@@ -268,12 +273,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="16"
|
||||
Grid.Column="1"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=GeleisteteEinmalzahlung, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.00 $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="17"
|
||||
Grid.Column="0"
|
||||
@@ -284,7 +287,7 @@
|
||||
Height="92"
|
||||
MaxHeight="184"
|
||||
AcceptsReturn="True"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
IsReadOnly="{Binding PermissionCustomerGemeinnutzigeArbeitManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Text="{Binding Path=Bemerkung, UpdateSourceTrigger=PropertyChanged}"
|
||||
TextWrapping="Wrap"
|
||||
VerticalScrollBarVisibility="Auto" />
|
||||
|
||||
@@ -20,6 +20,8 @@ namespace BeWo.View.Controls
|
||||
/// </summary>
|
||||
public partial class CustomerVermittlungArbeitControl : UserControl
|
||||
{
|
||||
public bool PermissionCustomerGemeinnutzigeArbeitManage { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_GemeinnutzigeArbeit_Manage);
|
||||
|
||||
public CustomerVermittlungArbeitControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
@@ -14,17 +14,16 @@
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
xmlns:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe"
|
||||
x:Name="root_usercontrol"
|
||||
x:Name="root"
|
||||
HorizontalAlignment="Stretch"
|
||||
d:DataContext="{d:DesignInstance d:Type=viewmodel:CustomerWohnhilfeVM,
|
||||
IsDesignTimeCreatable=True}"
|
||||
d:DesignHeight="1450"
|
||||
d:DesignWidth="1800"
|
||||
SizeChanged="UserControl_SizeChanged"
|
||||
mc:Ignorable="d cs">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<Style BasedOn="{StaticResource ObjectEditGroupBox}" TargetType="{x:Type GroupBox}">
|
||||
<Setter Property="Margin" Value="15" />
|
||||
@@ -34,19 +33,30 @@
|
||||
<Style x:Key="StackpanelDetailsStyle" TargetType="{x:Type StackPanel}">
|
||||
<Setter Property="Margin" Value="40,-1,0,3" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource EnumTranslationNullItemComboBox}" TargetType="{x:Type uc:NullItemComboBox}" />
|
||||
<Style BasedOn="{StaticResource EnumTranslationComboBox}" TargetType="{x:Type ComboBox}" />
|
||||
|
||||
<Style BasedOn="{StaticResource EnumTranslationNullItemComboBox}" TargetType="{x:Type uc:NullItemComboBox}">
|
||||
<Setter Property="IsEnabled" Value="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, ElementName=root}" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource EnumTranslationComboBox}" TargetType="{x:Type ComboBox}">
|
||||
<Setter Property="IsEnabled" Value="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, ElementName=root}" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource BaseRadioButton}" TargetType="RadioButton">
|
||||
<Setter Property="IsHitTestVisible" Value="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, ElementName=root}" />
|
||||
<Setter Property="Focusable" Value="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, ElementName=root}" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource PrimaryDateEdit}" TargetType="{x:Type dxe:DateEdit}">
|
||||
<Setter Property="IsReadOnly" Value="{Binding PermissionCustomerWohnhilfeManage, Converter={StaticResource BoolReverseConverter}, Mode=OneTime, ElementName=root}" />
|
||||
<Setter Property="ShowEditorButtons" Value="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, ElementName=root}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<ScrollViewer
|
||||
x:Name="scrollviewer"
|
||||
HorizontalScrollBarVisibility="Auto"
|
||||
VerticalScrollBarVisibility="Auto">
|
||||
<Grid x:Name="grid">
|
||||
<Grid x:Name="grid" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition x:Name="grid_secondcolumn" Width="2*" />
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition x:Name="grid_secondcolumn" Width="7*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
@@ -68,8 +78,10 @@
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition x:Name="grid_bund_column" Width="*" />
|
||||
<ColumnDefinition Width="300" />
|
||||
<ColumnDefinition
|
||||
Width="*"
|
||||
MinWidth="100"
|
||||
MaxWidth="400" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
@@ -99,37 +111,26 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=AlterAmStichtag, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="#########"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource BaseNumberTextEdit}"/>
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">B1040 Haushaltsgröße</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Haushaltsgrosse, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="N0"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource BaseNumberTextEdit}" />
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">B1050 BerichtseinheitID</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=BerichtseinheitID, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Mask="00000000000"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
Style="{StaticResource BaseNumberMaskTextEdit}" />
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">B1060 Unterbringungsort</Label>
|
||||
<uc:NullItemComboBox
|
||||
@@ -142,11 +143,10 @@
|
||||
<dxe:TextEdit
|
||||
Grid.Row="6"
|
||||
Grid.Column="2"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=OrtDerEinrichtung, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Mask="00000000"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
Style="{StaticResource BaseNumberMaskTextEdit}" />
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0">B1080 Angebot</Label>
|
||||
<uc:NullItemComboBox
|
||||
@@ -175,13 +175,19 @@
|
||||
Grid.ColumnSpan="1"
|
||||
DataContext="{Binding BereichEinkommenUndArbeitVM}"
|
||||
Header="Bereich Einkommen und Arbeit">
|
||||
<Grid>
|
||||
<Grid HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="300" />
|
||||
<ColumnDefinition
|
||||
Width="*"
|
||||
MinWidth="100"
|
||||
MaxWidth="400" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="300" />
|
||||
<ColumnDefinition
|
||||
Width="*"
|
||||
MinWidth="100"
|
||||
MaxWidth="400" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
@@ -199,7 +205,7 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Style="{StaticResource TitleLabel}">
|
||||
Style="{StaticResource Header1}">
|
||||
zu Beginn
|
||||
</Label>
|
||||
<Rectangle
|
||||
@@ -214,7 +220,7 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="3"
|
||||
Grid.ColumnSpan="2"
|
||||
Style="{StaticResource TitleLabel}">
|
||||
Style="{StaticResource Header1}">
|
||||
am Ende
|
||||
</Label>
|
||||
|
||||
@@ -224,6 +230,7 @@
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding EinkommenssituationTypes}"
|
||||
SelectedValue="{Binding BeginnEinkommenssituation}" />
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="3">W2030 Einkommenssituation</Label>
|
||||
<ComboBox
|
||||
Grid.Row="1"
|
||||
@@ -237,6 +244,7 @@
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding AufstockungEinkommenTypes}"
|
||||
SelectedValue="{Binding BeginnAufstockungEinkommen}" />
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="3">W2040 Aufstockung des Einkommens</Label>
|
||||
<ComboBox
|
||||
Grid.Row="2"
|
||||
@@ -250,6 +258,7 @@
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding WohnhilfeBoolDataTypes}"
|
||||
SelectedValue="{Binding BeginnEigenesBankkonto}" />
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="3">W2060 Eigenes Bankkonto</Label>
|
||||
<ComboBox
|
||||
x:Name="Combobox"
|
||||
@@ -307,11 +316,13 @@
|
||||
Grid.Column="0"
|
||||
DataContext="{Binding BereichSozialstrukturVM}"
|
||||
Header="Bereich Sozialstruktur">
|
||||
<Grid>
|
||||
<Grid HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition x:Name="grid_sozialstruktur_column" Width="*" />
|
||||
<ColumnDefinition Width="300" />
|
||||
<ColumnDefinition
|
||||
Width="*"
|
||||
MinWidth="100"
|
||||
MaxWidth="400" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
@@ -333,17 +344,22 @@
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Border
|
||||
x:Name="b"
|
||||
Grid.Column="1"
|
||||
Visibility="Hidden" />
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="0">K0110 Bundesland</Label>
|
||||
<ComboBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding BundeslandTypes}"
|
||||
SelectedValue="{Binding Bundesland}" />
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">K0120 Art des Hilfefelds</Label>
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
Orientation="Horizontal">
|
||||
<RadioButton GroupName="Art" IsChecked="{Binding IsWohnungslosenhilfeSafe}">Wohnungslosenhilfe</RadioButton>
|
||||
<RadioButton GroupName="Art" IsChecked="{Binding IsStraffaligenhilfeSafe}">Straffälligenhilfe</RadioButton>
|
||||
@@ -352,39 +368,35 @@
|
||||
<Label Grid.Row="2" Grid.Column="0">K0130 Art des Hilfeangebots</Label>
|
||||
<ComboBox
|
||||
Grid.Row="2"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding ArtDesHilfeangebotsTypes}"
|
||||
SelectedValue="{Binding ArtDesHilfeangebots}" />
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">K0140 Betreuungsbeginn</Label>
|
||||
<dxe:DateEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="2"
|
||||
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="2"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Betreuungsende, UpdateSourceTrigger=PropertyChanged}"
|
||||
ShowClearButton="True" />
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">K0160 Betreuungsdauer in Tagen</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="5"
|
||||
Grid.Column="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=BetreuungsdauerInTagen, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="#######"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding PermissionCustomerWohnhilfeManage, Mode=OneTime, Converter={StaticResource BoolReverseConverter}, ElementName=root}"
|
||||
Style="{StaticResource BaseNumberTextEdit}" />
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">G7010 Art der Beendigung</Label>
|
||||
<ComboBox
|
||||
Grid.Row="6"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding ArtDerBeendigungTypes}"
|
||||
SelectedValue="{Binding ArtDerBeendigung}" />
|
||||
|
||||
@@ -392,67 +404,67 @@
|
||||
<dxe:DateEdit
|
||||
x:Name="Dateedit"
|
||||
Grid.Row="7"
|
||||
Grid.Column="2"
|
||||
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="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding GeschlechtidentitatTypes}"
|
||||
SelectedValue="{Binding Geschlechtidentitat}" />
|
||||
|
||||
<Label Grid.Row="9" Grid.Column="0">G1030 Staatsangehörigkeit</Label>
|
||||
<ComboBox
|
||||
Grid.Row="9"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding StaatsangehorigkeitTypes}"
|
||||
SelectedValue="{Binding Staatsangehorigkeit}" />
|
||||
|
||||
<Label Grid.Row="10" Grid.Column="0">G1040 Aufenthaltsstatus</Label>
|
||||
<ComboBox
|
||||
Grid.Row="10"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding AufenthaltsstatusTypes}"
|
||||
SelectedValue="{Binding Aufenthaltsstatus}" />
|
||||
|
||||
<Label Grid.Row="11" Grid.Column="0">G1050 Migrationshintergrund</Label>
|
||||
<ComboBox
|
||||
Grid.Row="11"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding WohnhilfeBoolDataTypes}"
|
||||
SelectedValue="{Binding Migrationshintergrund}" />
|
||||
|
||||
<Label Grid.Row="12" Grid.Column="0">W1060 Höchster erreichter Schulabschluss</Label>
|
||||
<ComboBox
|
||||
Grid.Row="12"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding HochsterSchulabschlussTypes}"
|
||||
SelectedValue="{Binding HochsterSchulabschluss}" />
|
||||
|
||||
<Label Grid.Row="13" Grid.Column="0">G1070 Familienstand</Label>
|
||||
<ComboBox
|
||||
Grid.Row="13"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding FamilienstandTypes}"
|
||||
SelectedValue="{Binding Familienstand}" />
|
||||
|
||||
<Label Grid.Row="14" Grid.Column="0">G1080 Haushaltsstruktur</Label>
|
||||
<ComboBox
|
||||
Grid.Row="14"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
ItemsSource="{Binding HaushaltsstrukturTypes}"
|
||||
SelectedValue="{Binding Haushaltsstruktur}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="15"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3">
|
||||
Grid.ColumnSpan="2">
|
||||
G1090 Eigene minderjährige Kinder außerhalb der Haushaltsstruktur
|
||||
</Label>
|
||||
<ComboBox
|
||||
Grid.Row="16"
|
||||
Grid.Column="2"
|
||||
Grid.Column="1"
|
||||
Margin="3,-2,3,3"
|
||||
ItemsSource="{Binding WohnhilfeBoolDataTypes}"
|
||||
SelectedValue="{Binding EigeneMindKinderAuserhalbHaushaltsstruktur}" />
|
||||
@@ -466,13 +478,19 @@
|
||||
Grid.ColumnSpan="1"
|
||||
DataContext="{Binding BereichSozialeKontakteVM}"
|
||||
Header="Bereich Soziale Kontakte">
|
||||
<Grid>
|
||||
<Grid HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="300" />
|
||||
<ColumnDefinition
|
||||
Width="*"
|
||||
MinWidth="100"
|
||||
MaxWidth="400" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="300" />
|
||||
<ColumnDefinition
|
||||
Width="*"
|
||||
MinWidth="100"
|
||||
MaxWidth="400" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
@@ -486,7 +504,7 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Style="{StaticResource TitleLabel}">
|
||||
Style="{StaticResource Header1}">
|
||||
zu Beginn
|
||||
</Label>
|
||||
<Rectangle
|
||||
@@ -501,7 +519,7 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="3"
|
||||
Grid.ColumnSpan="2"
|
||||
Style="{StaticResource TitleLabel}">
|
||||
Style="{StaticResource Header1}">
|
||||
am Ende
|
||||
</Label>
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ namespace BeWo.View.Controls.Wohnhilfe
|
||||
/// </summary>
|
||||
public partial class CustomerWohnhilfeControl : UserControl
|
||||
{
|
||||
public bool PermissionCustomerWohnhilfeManage { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_Wohnhilfe_Manage);
|
||||
|
||||
public bool IsLarge
|
||||
{
|
||||
get { return (bool)GetValue(IsLargeProperty); }
|
||||
@@ -51,9 +53,9 @@ namespace BeWo.View.Controls.Wohnhilfe
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
root_usercontrol.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
|
||||
root.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
|
||||
|
||||
var size = root_usercontrol.DesiredSize;
|
||||
var size = root.DesiredSize;
|
||||
|
||||
MinWidthGrid = size.Width;
|
||||
}
|
||||
@@ -95,10 +97,7 @@ namespace BeWo.View.Controls.Wohnhilfe
|
||||
|
||||
private void SetLarge()
|
||||
{
|
||||
grid_secondcolumn.Width = new GridLength(2, GridUnitType.Star);
|
||||
|
||||
grid_bund_column.Width = new GridLength(1, GridUnitType.Star);
|
||||
grid_sozialstruktur_column.Width = new GridLength(1, GridUnitType.Star);
|
||||
grid_secondcolumn.Width = new GridLength(7, GridUnitType.Star);
|
||||
|
||||
Grid.SetColumn(groupbox_2, 1);
|
||||
Grid.SetRow(groupbox_2, 0);
|
||||
@@ -112,9 +111,6 @@ namespace BeWo.View.Controls.Wohnhilfe
|
||||
{
|
||||
grid_secondcolumn.Width = new GridLength(0);
|
||||
|
||||
grid_bund_column.Width = new GridLength(0);
|
||||
grid_sozialstruktur_column.Width = new GridLength(0);
|
||||
|
||||
Grid.SetColumn(groupbox_2, 0);
|
||||
Grid.SetRow(groupbox_2, 1);
|
||||
Grid.SetColumn(groupbox_3, 0);
|
||||
|
||||
@@ -1,523 +0,0 @@
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Detail.CustomerFalldatenView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:core="clr-namespace:BS.Shared.Core;assembly=BS.Shared"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
|
||||
xmlns:localView="clr-namespace:BeWo.View"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Focusable="True">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<Style TargetType="{x:Type Label}">
|
||||
<Setter Property="IsEnabled" Value="True" />
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
<Setter Property="Margin" Value="3" />
|
||||
</Style>
|
||||
<Style TargetType="{x:Type CheckBox}">
|
||||
<Setter Property="HorizontalAlignment" Value="Left" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="IsHitTestVisible" Value="{Binding PermissionFalldatenEdit, Mode=OneTime}" />
|
||||
<Setter Property="Focusable" Value="{Binding PermissionFalldatenEdit, Mode=OneTime}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox
|
||||
Grid.RowSpan="3"
|
||||
Grid.Column="0"
|
||||
Padding="5"
|
||||
Header="Falldaten"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.Resources>
|
||||
<ResourceDictionary />
|
||||
</Grid.Resources>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" MinWidth="200" />
|
||||
</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" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Content="Eigenes Aktenzeichen" />
|
||||
<TextBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Text="{Binding Path=EigenesAktenzeichen, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Content="Auftragseingang"
|
||||
IsEnabled="True" />
|
||||
<dxe:DateEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
EditValue="{Binding Path=Auftragseingang, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
ShowClearButton="False" />
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Content="Auftragsherkunft" />
|
||||
<uc:NullItemComboBox
|
||||
x:Name="comboBox_Auftragsherkunft"
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
MinWidth="30"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
ItemsSource="{Binding Path=Auftragsherkunfte}"
|
||||
SelectedValue="{Binding Path=Auftragsherkunft, Mode=TwoWay}" />
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
Content="Vermittlungsgrundlage" />
|
||||
<uc:NullItemComboBox
|
||||
x:Name="comboBox_Vermittlungsgrundlage"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
MinWidth="30"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
ItemsSource="{Binding Path=Vermittlungsgrundlagen}"
|
||||
SelectedValue="{Binding Path=Vermittlungsgrundlage, Mode=TwoWay}" />
|
||||
<Label
|
||||
Grid.Row="4"
|
||||
Grid.Column="0"
|
||||
Content="Tagessätze" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Tagessatze, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.##"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<Label
|
||||
Grid.Row="5"
|
||||
Grid.Column="0"
|
||||
Content="Tagessatzhöhe" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Tagessatzhohe, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.00 $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<Label
|
||||
Grid.Row="6"
|
||||
Grid.Column="0"
|
||||
Content="Höhe der Geldstrafe" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=HoheDerGeldstrafe, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="True"
|
||||
Mask="########0.00 $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<Label
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
Content="Zu leistende Arbeitsstunden" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=ZuLeistendeArbeitsstunden, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.## Std"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<Label
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
Content="Hinweis" />
|
||||
<TextBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Text="{Binding Path=Hinweis, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="9"
|
||||
Grid.Column="0"
|
||||
Content="Termin" />
|
||||
<dxe:DateEdit
|
||||
Grid.Row="9"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
EditValue="{Binding Path=Termin, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
Mask="G"
|
||||
MaskUseAsDisplayFormat="True"
|
||||
ShowClearButton="True">
|
||||
<dxe:DateEdit.StyleSettings>
|
||||
<dxe:DateEditNavigatorWithTimePickerStyleSettings />
|
||||
</dxe:DateEdit.StyleSettings>
|
||||
</dxe:DateEdit>
|
||||
<Label
|
||||
Grid.Row="10"
|
||||
Grid.Column="0"
|
||||
Content="Bearbeitungsstatus" />
|
||||
<uc:NullItemComboBox
|
||||
x:Name="combobox_bearbeitungsstatus"
|
||||
Grid.Row="10"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
MinWidth="30"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
SelectedValue="{Binding Path=FalldatenBearbeitungsstatus, Mode=TwoWay}" />
|
||||
<Label
|
||||
Grid.Row="11"
|
||||
Grid.Column="0"
|
||||
Content="Auftragsrückgabe" />
|
||||
<TextBox
|
||||
Grid.Row="11"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Text="{Binding Path=Auftragsruckgabe, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="12"
|
||||
Grid.Column="0"
|
||||
Content="Verlauf" />
|
||||
<TextBox
|
||||
Grid.Row="12"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Text="{Binding Path=Verlauf, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="13"
|
||||
Grid.Column="0"
|
||||
Content="Abgeleistete Stunden" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="13"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=AbgeleisteteStunden, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.## Std"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<Label
|
||||
Grid.Row="14"
|
||||
Grid.Column="0"
|
||||
Content="Ersparte Hafttage" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="14"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=ErsparteHafttage, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.## Tage"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<Label
|
||||
Grid.Row="15"
|
||||
Grid.Column="0"
|
||||
Content="Geleistete Ratenzahlung" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="15"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=GeleisteteRatenzahlung, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.00 $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<Label
|
||||
Grid.Row="16"
|
||||
Grid.Column="0"
|
||||
Content="Geleistete Einmalzahlung" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="16"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=GeleisteteEinmalzahlung, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Mask="########0.00 $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<Label
|
||||
Grid.Row="17"
|
||||
Grid.Column="0"
|
||||
Content="Bemerkung" />
|
||||
<TextBox
|
||||
Grid.Row="17"
|
||||
Grid.Column="1"
|
||||
Height="60"
|
||||
Margin="3"
|
||||
AcceptsReturn="True"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"
|
||||
Text="{Binding Path=Bemerkung, UpdateSourceTrigger=PropertyChanged}"
|
||||
TextWrapping="Wrap"
|
||||
VerticalScrollBarVisibility="Auto" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<GroupBox
|
||||
Grid.Column="2"
|
||||
Padding="5"
|
||||
VerticalAlignment="Top"
|
||||
Header="Gründe für Abbruch"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.Resources>
|
||||
<ResourceDictionary />
|
||||
</Grid.Resources>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</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" />
|
||||
</Grid.RowDefinitions>
|
||||
<CheckBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundArbeitsunfahig, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundArbeitsunfahig}" />
|
||||
<CheckBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundSuchtproblem, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundSuchtproblem}" />
|
||||
<CheckBox
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundPsychischeProbleme, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundPsychischeProbleme}" />
|
||||
<CheckBox
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundKeineMotivation, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundKeineMotivation}" />
|
||||
<CheckBox
|
||||
Grid.Row="4"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundInHaft, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundInHaft}" />
|
||||
<CheckBox
|
||||
Grid.Row="5"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundUnbekannt, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundUnbekannt}" />
|
||||
<CheckBox
|
||||
Grid.Row="6"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundKeinKontakt, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundKeinKontakt}" />
|
||||
<CheckBox
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundNichtAngetreten, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundNichtAngetreten}" />
|
||||
<CheckBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundAbbruchDerTatigkeit, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundAbbruchDerTatigkeit}" />
|
||||
<CheckBox
|
||||
Grid.Row="9"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundWiderruf, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="9"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundWiderruf}" />
|
||||
<CheckBox
|
||||
Grid.Row="10"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=Grund459StPO, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="10"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate Grund459StPO}" />
|
||||
<CheckBox
|
||||
Grid.Row="11"
|
||||
Grid.Column="0"
|
||||
IsChecked="{Binding Path=GrundAusbleibenDerZahlung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="11"
|
||||
Grid.Column="1"
|
||||
Content="{markup:Translate GrundAusbleibenDerZahlung}" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<GroupBox
|
||||
Grid.Row="1"
|
||||
Grid.RowSpan="2"
|
||||
Grid.Column="2"
|
||||
VerticalAlignment="Top"
|
||||
Header="Besonderheiten"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<CheckBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Margin="0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
IsChecked="{Binding Path=BesonderheitMehrfacheBeauftragung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="0"
|
||||
Content="{markup:Translate BesonderheitMehrfacheBeauftragung}" />
|
||||
<CheckBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Margin="0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
IsChecked="{Binding Path=BesonderheitMehrfacheVermittlung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Margin="0"
|
||||
Content="{markup:Translate BesonderheitMehrfacheVermittlung}" />
|
||||
<CheckBox
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Margin="0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
IsChecked="{Binding Path=BesonderheitVermittlungAusHaft, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Margin="0"
|
||||
Content="{markup:Translate BesonderheitVermittlungAusHaft}" />
|
||||
<CheckBox
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
Margin="0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
IsChecked="{Binding Path=BesonderheitDurchBGBWAufgesucht, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Margin="0"
|
||||
Content="{markup:Translate BesonderheitDurchBGBWAufgesucht}" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -1,85 +0,0 @@
|
||||
using BeWo.ViewModel;
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
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.Detail
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für CustomerFalldatenView.xaml
|
||||
/// </summary>
|
||||
public partial class CustomerFalldatenView : UserControl
|
||||
{
|
||||
private CustomerFalldatenVM _ViewModel;
|
||||
|
||||
public CustomerFalldatenVM ViewModel
|
||||
{
|
||||
get { return _ViewModel; }
|
||||
set
|
||||
{
|
||||
_ViewModel = value;
|
||||
DataContext = value;
|
||||
}
|
||||
}
|
||||
|
||||
public CustomerFalldatenView(CustomerFalldatenVM vM)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ViewModel = vM;
|
||||
|
||||
combobox_bearbeitungsstatus.ItemsSource = Enum.GetValues(typeof(FalldatenBearbeitungsstatus));
|
||||
|
||||
foreach (var label in FindVisualChildren<Label>(this))
|
||||
{
|
||||
label.IsEnabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<T> FindVisualChildren<T>(DependencyObject depObj) where T : DependencyObject
|
||||
{
|
||||
if (depObj != null)
|
||||
{
|
||||
int depObjCount = VisualTreeHelper.GetChildrenCount(depObj);
|
||||
for (int i = 0; i < depObjCount; i++)
|
||||
{
|
||||
DependencyObject child = VisualTreeHelper.GetChild(depObj, i);
|
||||
if (child != null && child is T)
|
||||
{
|
||||
yield return (T)child;
|
||||
}
|
||||
|
||||
if (child is GroupBox)
|
||||
{
|
||||
GroupBox gb = child as GroupBox;
|
||||
Object gpchild = gb.Content;
|
||||
if (gpchild is T)
|
||||
{
|
||||
yield return (T)child;
|
||||
child = gpchild as T;
|
||||
}
|
||||
}
|
||||
|
||||
foreach (T childOfChild in FindVisualChildren<T>(child))
|
||||
{
|
||||
yield return childOfChild;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,45 +1,61 @@
|
||||
<UserControl x:Class="BeWo.View.Detail.CustomerVermittlungArbeitView"
|
||||
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.Detail" xmlns:controls="clr-namespace:BeWo.View.Controls"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Detail.CustomerVermittlungArbeitView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:BeWo.View.Controls"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
x:Name="root"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVM}"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<Grid DataContext="{Binding CustomerGemeinnutzigeArbeitListVM}">
|
||||
<GroupBox
|
||||
DataContext="{Binding CustomerVermittlungArbeitListVM}"
|
||||
Header="Vermittlung Gemeinnützige Arbeit"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch">
|
||||
<Button Content="Neuen Fall hinzufügen" Command="{Binding AddVMCommand}">
|
||||
</Button>
|
||||
<StackPanel HorizontalAlignment="Stretch" Orientation="Horizontal">
|
||||
<Button Command="{Binding AddVMCommand}" Content="Neuen Fall hinzufügen" />
|
||||
</StackPanel>
|
||||
<TabControl Grid.Row="1" Margin="5"
|
||||
ItemsSource="{Binding VMList}"
|
||||
SelectedItem="{Binding SelectedVM}" x:Name="tabcontrol_NotizenKategorien"
|
||||
Visibility="{Binding VMList.Count, Converter={StaticResource CollectionCountToVisibilityConverter}}">
|
||||
<TabControl
|
||||
x:Name="tabcontrol_NotizenKategorien"
|
||||
Grid.Row="1"
|
||||
Margin="5"
|
||||
ItemsSource="{Binding VMList}"
|
||||
SelectedItem="{Binding SelectedVM}"
|
||||
Visibility="{Binding VMList.Count, Converter={StaticResource CollectionCountToVisibilityConverter}}">
|
||||
<TabControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Label Content="{Binding Displayname}" />
|
||||
<Button VerticalAlignment="Center" Height="20"
|
||||
Tag="{Binding}"
|
||||
ToolTip="Wohnhilfe entfernen"
|
||||
Style="{DynamicResource CloseButtonStyle}"
|
||||
Command="{Binding Path=DataContext.DeleteSelectedVMCommand, RelativeSource={RelativeSource AncestorType=TabControl}}">
|
||||
<Button
|
||||
Height="20"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding Path=DataContext.DeleteSelectedVMCommand, RelativeSource={RelativeSource AncestorType=TabControl}}"
|
||||
Style="{DynamicResource CloseButtonStyle}"
|
||||
Tag="{Binding}"
|
||||
ToolTip="Wohnhilfe entfernen">
|
||||
<Button.Visibility>
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter }">
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter}">
|
||||
<Binding Path="IsSelected" RelativeSource="{RelativeSource AncestorType={x:Type TabItem}}" />
|
||||
<Binding Path="PermissionCustomerWohnhilfeDelete" ElementName="root_control" />
|
||||
<Binding ElementName="root" Path="PermissionCustomerWohnhilfeManage" />
|
||||
</MultiBinding>
|
||||
</Button.Visibility>
|
||||
</Button>
|
||||
@@ -49,11 +65,11 @@
|
||||
<TabControl.ContentTemplate>
|
||||
<DataTemplate>
|
||||
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
|
||||
<controls:CustomerVermittlungArbeitControl/>
|
||||
<controls:CustomerVermittlungArbeitControl />
|
||||
</ScrollViewer>
|
||||
</DataTemplate>
|
||||
</TabControl.ContentTemplate>
|
||||
</TabControl>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</UserControl>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
@@ -278,7 +279,12 @@ namespace BeWo.View.Detail
|
||||
#if DEBUG
|
||||
if(DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.DebugConfigMode == DebugConfigMode.FeatureCustomerWohnhilfe)
|
||||
{
|
||||
tabroot.SelectedItem = tabitem_gemeinnutzigearbeit;
|
||||
var index = DebugConfig.CurrentConfig.SelectIndex;
|
||||
|
||||
if (index.HasValue && tabroot.Items.Count > index.Value)
|
||||
{
|
||||
tabroot.SelectedIndex = index.Value;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@@ -340,11 +346,6 @@ namespace BeWo.View.Detail
|
||||
stundenplanView.ViewModel = value.Arbeitszeiten;
|
||||
stundenplanView.RefreshView();
|
||||
}
|
||||
|
||||
if (tabitem_falldaten.Content != null && tabitem_falldaten.Content is CustomerFalldatenView falldatenView)
|
||||
{
|
||||
falldatenView.ViewModel = value.CustomerFalldatenVM;
|
||||
}
|
||||
|
||||
_saveInProgress = false;
|
||||
|
||||
@@ -557,7 +558,22 @@ namespace BeWo.View.Detail
|
||||
|
||||
private void ReloadViewModel(long pCustomerOID)
|
||||
{
|
||||
var list = ViewModel.CustomerVermittlungArbeitListVM;
|
||||
var sel_index = list?.VMList.IndexOf(list.SelectedVM) ?? -1;
|
||||
|
||||
var list2 = ViewModel.CustomerWohnhilfeListVM;
|
||||
var sel_index2 = list2?.VMList.IndexOf(list2.SelectedVM) ?? -1;
|
||||
|
||||
VMFactory.CreateCustomerVMAsync(pCustomerOID, cb => this.Dispatch(delegate {
|
||||
if(cb?.CustomerVermittlungArbeitListVM is object && -1 < sel_index)
|
||||
{
|
||||
cb.CustomerVermittlungArbeitListVM.SetSelectByIndex(sel_index);
|
||||
}
|
||||
if (cb?.CustomerWohnhilfeListVM is object && -1 < sel_index2)
|
||||
{
|
||||
cb.CustomerWohnhilfeListVM.SetSelectByIndex(sel_index2);
|
||||
}
|
||||
|
||||
ViewModel = cb;
|
||||
|
||||
UpdateUris();
|
||||
@@ -1093,14 +1109,6 @@ namespace BeWo.View.Detail
|
||||
}
|
||||
}
|
||||
|
||||
private void tabitem_falldaten_Selected(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (tabitem_falldaten.Content == null)
|
||||
{
|
||||
tabitem_falldaten.Content = new CustomerFalldatenView(ViewModel.CustomerFalldatenVM);
|
||||
}
|
||||
}
|
||||
|
||||
private void tabitem_notizen_Selected(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (ViewModel.IsNew)
|
||||
|
||||
@@ -1,83 +1,99 @@
|
||||
<UserControl x:Class="BeWo.View.Detail.CustomerWohnhilfeView"
|
||||
x:Name="root_control"
|
||||
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.Detail"
|
||||
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:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe"
|
||||
xmlns:converter="clr-namespace:BeWo.Converter"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVM, IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Detail.CustomerWohnhilfeView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:converter="clr-namespace:BeWo.Converter"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
xmlns:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe"
|
||||
x:Name="root_control"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVM,
|
||||
IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<GroupBox Header="Wohnungslosenhilfe" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid DataContext="{Binding CustomerWohnhilfeListVM}">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch">
|
||||
<Button Content="Neue Wohnhilfe hinzufügen" Command="{Binding AddVMCommand}">
|
||||
</Button>
|
||||
<Button Content="Übertragen" ToolTip="Daten aus den Stammdaten in aktuelle Wohnhilfe übernehmen" Command="{Binding InsertDetailsCommand}">
|
||||
<StackPanel HorizontalAlignment="Stretch" Orientation="Horizontal">
|
||||
<Button Command="{Binding AddVMCommand}" Content="Neue Wohnhilfe hinzufügen" />
|
||||
<Button
|
||||
Command="{Binding InsertDetailsCommand}"
|
||||
Content="Übertragen"
|
||||
ToolTip="Daten aus den Stammdaten in aktuelle Wohnhilfe übernehmen">
|
||||
<Button.Visibility>
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter }">
|
||||
<Binding Path="VMList.Count" Converter="{StaticResource CollectionCountToBoolConverter}"/>
|
||||
<Binding Path="PermissionCustomerWohnhilfeEdit" ElementName="root_control" />
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter}">
|
||||
<Binding Converter="{StaticResource CollectionCountToBoolConverter}" Path="VMList.Count" />
|
||||
<Binding ElementName="root_control" Path="PermissionCustomerWohnhilfeManage" />
|
||||
</MultiBinding>
|
||||
</Button.Visibility>
|
||||
</Button>
|
||||
<Button Content="Kopieren" ToolTip="Aktuelle Wohnhilfe kopieren" Command="{Binding CopySelectedVMCommand}">
|
||||
<Button
|
||||
Command="{Binding CopySelectedVMCommand}"
|
||||
Content="Kopieren"
|
||||
ToolTip="Aktuelle Wohnhilfe kopieren">
|
||||
<Button.Visibility>
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter }">
|
||||
<Binding Path="VMList.Count" Converter="{StaticResource CollectionCountToBoolConverter}"/>
|
||||
<Binding Path="PermissionCustomerWohnhilfeCreate" ElementName="root_control" />
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter}">
|
||||
<Binding Converter="{StaticResource CollectionCountToBoolConverter}" Path="VMList.Count" />
|
||||
<Binding ElementName="root_control" Path="PermissionCustomerWohnhilfeManage" />
|
||||
</MultiBinding>
|
||||
</Button.Visibility>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
||||
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
||||
<CheckBox x:Name="checkbox_size" IsChecked="{Binding Path=IsLarge, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">Groß</CheckBox>
|
||||
</StackPanel>
|
||||
<TabControl Grid.Row="1" Margin="5"
|
||||
ItemsSource="{Binding VMList}"
|
||||
SelectedItem="{Binding SelectedVM}" x:Name="tabcontrol_NotizenKategorien"
|
||||
Visibility="{Binding VMList.Count, Converter={StaticResource CollectionCountToVisibilityConverter}}">
|
||||
<TabControl
|
||||
x:Name="tabcontrol_NotizenKategorien"
|
||||
Grid.Row="1"
|
||||
Margin="5"
|
||||
ItemsSource="{Binding VMList}"
|
||||
SelectedItem="{Binding SelectedVM}"
|
||||
Visibility="{Binding VMList.Count, Converter={StaticResource CollectionCountToVisibilityConverter}}">
|
||||
<TabControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Label Content="{Binding Displayname}" />
|
||||
<Button VerticalAlignment="Center" Height="20"
|
||||
ToolTip="Wohnhilfe umbenennen"
|
||||
Content="!" FontFamily="Wingdings"
|
||||
Click="Wohnhilfe_Display_Edit_Button_Click">
|
||||
<Button
|
||||
Height="20"
|
||||
VerticalAlignment="Center"
|
||||
Click="Wohnhilfe_Display_Edit_Button_Click"
|
||||
Content="!"
|
||||
FontFamily="Wingdings"
|
||||
ToolTip="Wohnhilfe umbenennen">
|
||||
<Button.Visibility>
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter }">
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter}">
|
||||
<Binding Path="IsSelected" RelativeSource="{RelativeSource AncestorType={x:Type TabItem}}" />
|
||||
<Binding Path="PermissionCustomerWohnhilfeEdit" ElementName="root_control" />
|
||||
<Binding ElementName="root_control" Path="PermissionCustomerWohnhilfeManage" />
|
||||
</MultiBinding>
|
||||
</Button.Visibility>
|
||||
</Button>
|
||||
<Button VerticalAlignment="Center" Height="20"
|
||||
Tag="{Binding}"
|
||||
ToolTip="Wohnhilfe entfernen"
|
||||
Style="{DynamicResource CloseButtonStyle}"
|
||||
Command="{Binding Path=DataContext.DeleteSelectedVMCommand, RelativeSource={RelativeSource AncestorType=TabControl}}">
|
||||
<Button
|
||||
Height="20"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding Path=DataContext.DeleteSelectedVMCommand, RelativeSource={RelativeSource AncestorType=TabControl}}"
|
||||
Style="{DynamicResource CloseButtonStyle}"
|
||||
Tag="{Binding}"
|
||||
ToolTip="Wohnhilfe entfernen">
|
||||
<Button.Visibility>
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter }">
|
||||
<MultiBinding Converter="{StaticResource BoolVisibilityMultiConverter}">
|
||||
<Binding Path="IsSelected" RelativeSource="{RelativeSource AncestorType={x:Type TabItem}}" />
|
||||
<Binding Path="PermissionCustomerWohnhilfeDelete" ElementName="root_control" />
|
||||
<Binding ElementName="root_control" Path="PermissionCustomerWohnhilfeManage" />
|
||||
</MultiBinding>
|
||||
</Button.Visibility>
|
||||
</Button>
|
||||
@@ -86,25 +102,32 @@
|
||||
</TabControl.ItemTemplate>
|
||||
<TabControl.ContentTemplate>
|
||||
<DataTemplate>
|
||||
<wohnhilfe:CustomerWohnhilfeControl
|
||||
ParentWidth="{Binding Path=ActualWidth, ElementName=tabcontrol_NotizenKategorien}"
|
||||
IsLarge="{Binding DataContext.IsLarge, ElementName=tabcontrol_NotizenKategorien, Mode=TwoWay}" />
|
||||
<wohnhilfe:CustomerWohnhilfeControl IsLarge="{Binding DataContext.IsLarge, ElementName=tabcontrol_NotizenKategorien, Mode=TwoWay}" ParentWidth="{Binding Path=ActualWidth, ElementName=tabcontrol_NotizenKategorien}" />
|
||||
</DataTemplate>
|
||||
</TabControl.ContentTemplate>
|
||||
</TabControl>
|
||||
<Popup x:Name="popup_Wohnhilfe_Displayname_Edit"
|
||||
Placement="Mouse"
|
||||
StaysOpen="False"
|
||||
Focusable="False"
|
||||
Opened="popup_Wohnhilfe_Displayname_Edit_Opened">
|
||||
<Border Background="White"
|
||||
Padding="3"
|
||||
BorderThickness="1"
|
||||
BorderBrush="Gray"
|
||||
Focusable="False">
|
||||
<TextBox x:Name="txt_Wohnhilfe_Displayname_Edit" Width="200" Grid.Row="0" Grid.Column="0" Height="23" Margin="3" Text="{Binding Path=SelectedVM.Displayname, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Popup
|
||||
x:Name="popup_Wohnhilfe_Displayname_Edit"
|
||||
Focusable="False"
|
||||
Opened="popup_Wohnhilfe_Displayname_Edit_Opened"
|
||||
Placement="Mouse"
|
||||
StaysOpen="False">
|
||||
<Border
|
||||
Padding="3"
|
||||
Background="White"
|
||||
BorderBrush="Gray"
|
||||
BorderThickness="1"
|
||||
Focusable="False">
|
||||
<TextBox
|
||||
x:Name="txt_Wohnhilfe_Displayname_Edit"
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
Text="{Binding Path=SelectedVM.Displayname, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</Border>
|
||||
</Popup>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</UserControl>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
@@ -91,7 +91,7 @@
|
||||
Grid.Row="5"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
Style="{StaticResource TextBoxNoticeLargeStyle}"
|
||||
Style="{StaticResource TextBoxNoticeLarge}"
|
||||
Text="{Binding Path=WohneinheitBelegungListVM.CurrentVM.Kommentar, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<StackPanel
|
||||
x:Name="stackpanel_buttons"
|
||||
@@ -105,7 +105,7 @@
|
||||
Margin="3"
|
||||
Click="Save_Button_Click"
|
||||
IsEnabled="{Binding Path=WohneinheitBelegungListVM.CurrentVM.CanSave, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource ButtonGrayDisabledStyle}">
|
||||
Style="{StaticResource PrimaryButton}">
|
||||
Hinzufügen
|
||||
</Button>
|
||||
<Button
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<Popup.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Popup.Resources>
|
||||
@@ -89,7 +89,7 @@
|
||||
Grid.Row="5"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
Style="{StaticResource TextBoxNoticeLargeStyle}"
|
||||
Style="{StaticResource TextBoxNoticeLarge}"
|
||||
Text="{Binding Path=WohneinheitBelegungListVM.CurrentVM.Kommentar, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<StackPanel
|
||||
Grid.Row="7"
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
<dx:ThemedWindow x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitBelegungWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
mc:Ignorable="d"
|
||||
Title="WohneinheitBelegungWindow" SizeToContent="WidthAndHeight"
|
||||
Height="400">
|
||||
<dx:ThemedWindow
|
||||
x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitBelegungWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Title="WohneinheitBelegungWindow"
|
||||
Height="400"
|
||||
SizeToContent="WidthAndHeight"
|
||||
mc:Ignorable="d">
|
||||
<dxmvvm:Interaction.Behaviors>
|
||||
<dxmvvm:CurrentWindowService ClosingCommand="{Binding WindowClosingCommand}" />
|
||||
</dxmvvm:Interaction.Behaviors>
|
||||
<Grid
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch">
|
||||
<local:WohneinheitBelegungEditControl DataContext="{Binding}"/>
|
||||
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
||||
<local:WohneinheitBelegungEditControl DataContext="{Binding}" />
|
||||
</Grid>
|
||||
</dx:ThemedWindow>
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:local="clr-namespace:BeWo.View.Controls"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:viewmodel="clr-namespace:BeWo.ViewModel.ListViewModel"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohneinheitListVM}"
|
||||
Width="500"
|
||||
Closed="Popup_Closed"
|
||||
Opened="Popup_Opened"
|
||||
@@ -15,7 +16,7 @@
|
||||
<Popup.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Popup.Resources>
|
||||
@@ -74,7 +75,7 @@
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Baujahr, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditYearStyle}" />
|
||||
Style="{StaticResource TextEditYear}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
@@ -92,7 +93,7 @@
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=QM, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditQmStyle}" />
|
||||
Style="{StaticResource TextEditQm}" />
|
||||
|
||||
<Label Grid.Row="5">
|
||||
Kaution
|
||||
@@ -101,7 +102,7 @@
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Kaution, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Grid Grid.Row="6" Grid.ColumnSpan="2">
|
||||
<Grid.RowDefinitions>
|
||||
@@ -123,7 +124,7 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Miete, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label Grid.Row="1">
|
||||
Heizung
|
||||
@@ -132,7 +133,7 @@
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Heizung, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label Grid.Row="2">
|
||||
Strom
|
||||
@@ -141,7 +142,7 @@
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Strom, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="2">
|
||||
Betriebskosten
|
||||
@@ -150,7 +151,7 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=Betriebskosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="2">
|
||||
Sonstige Kosten
|
||||
@@ -159,7 +160,7 @@
|
||||
Grid.Row="1"
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=SonstigeKosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="2">
|
||||
Brutto
|
||||
@@ -169,21 +170,21 @@
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=Brutto, Mode=OneWay}"
|
||||
IsReadOnly="True"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
</Grid>
|
||||
|
||||
<Label Grid.Row="7" Content="Möbilierung" />
|
||||
<TextBox
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
Style="{StaticResource TextBoxNoticeStyle}"
|
||||
Style="{StaticResource TextBoxNotice}"
|
||||
Text="{Binding Path=Mobilierung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label Grid.Row="8" Content="Notiz" />
|
||||
<TextBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
Style="{StaticResource TextBoxNoticeExtendedStyle}"
|
||||
Style="{StaticResource TextBoxNoticeExtended}"
|
||||
Text="{Binding Path=Zusatznotiz, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<StackPanel
|
||||
Grid.Row="9"
|
||||
|
||||
@@ -24,17 +24,7 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
/// </summary>
|
||||
public partial class WohneinheitEditPopup : Popup
|
||||
{
|
||||
public static readonly DependencyProperty ViewModelProperty = DependencyProperty.Register(
|
||||
"ViewModel", typeof(WohneinheitListVM),
|
||||
typeof(WohneinheitEditPopup),
|
||||
new PropertyMetadata(null)
|
||||
);
|
||||
|
||||
public WohneinheitListVM ViewModel
|
||||
{
|
||||
get => (WohneinheitListVM)GetValue(ViewModelProperty);
|
||||
set => SetValue(ViewModelProperty, value);
|
||||
}
|
||||
public WohneinheitListVM ViewModel => DataContext as WohneinheitListVM;
|
||||
|
||||
public bool AddMode { get; set; }
|
||||
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitGrundrissControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<GroupBox
|
||||
Margin="10"
|
||||
Header="Grundrissverwaltung"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<ListBox
|
||||
Name="PhotosListBox"
|
||||
ItemsSource="{Binding VMList}"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Auto"
|
||||
SelectedIndex="0"
|
||||
ContextMenuOpening="PhotosListBox_ContextMenuOpening"
|
||||
Style="{StaticResource PhotoListBox}">
|
||||
<ListBox.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Click="MenuItem_Add_Click" Header="Hinzufügen" />
|
||||
<MenuItem Click="MenuItem_Del_Click" Header="Löschen" />
|
||||
</ContextMenu>
|
||||
</ListBox.ContextMenu>
|
||||
<ListBox.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<UniformGrid Columns="3" />
|
||||
</ItemsPanelTemplate>
|
||||
</ListBox.ItemsPanel>
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel MouseDown="StackPanel_MouseDown">
|
||||
<Image
|
||||
Height="150"
|
||||
Source="{Binding Original}"
|
||||
Stretch="Uniform" />
|
||||
<Label HorizontalAlignment="Center" Content="{Binding Filename}" />
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,96 @@
|
||||
using BeWo.Core;
|
||||
using BeWo.ViewModel;
|
||||
using BeWo.ViewModel.ListViewModel;
|
||||
using BS.Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
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.Detail.Wohneinheit
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für WohneinheitGrundrissControl.xaml
|
||||
/// </summary>
|
||||
public partial class WohneinheitGrundrissControl : UserControl
|
||||
{
|
||||
public bool PermissionWohneinheitGalleryManage { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Gallery_Manage);
|
||||
|
||||
public ImageListVM ViewModel => DataContext as ImageListVM;
|
||||
|
||||
public WohneinheitGrundrissControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void MenuItem_Add_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var dialog = new Microsoft.Win32.OpenFileDialog();
|
||||
dialog.Title = "Wähle einen Grundriss aus";
|
||||
dialog.Filter = "ALL supported Graphics| *.jpeg; *.jpg;*.png;";
|
||||
|
||||
// Show open file dialog box
|
||||
bool? result = dialog.ShowDialog();
|
||||
|
||||
if (result != true)
|
||||
return;
|
||||
|
||||
var info = new FileInfo(dialog.FileName);
|
||||
|
||||
if (!info.Exists)
|
||||
return;
|
||||
|
||||
var vm = new ImageVM();
|
||||
|
||||
vm.Filename = info.Name;
|
||||
vm.Fullname = info.FullName;
|
||||
vm.Original = File.ReadAllBytes(info.FullName);
|
||||
|
||||
ViewModel.VMList.Add(vm);
|
||||
}
|
||||
|
||||
private void MenuItem_Del_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var t = PhotosListBox.SelectedItem as ImageVM;
|
||||
|
||||
if (t is null)
|
||||
return;
|
||||
|
||||
ViewModel.VMList.Remove(t);
|
||||
}
|
||||
|
||||
private void StackPanel_MouseDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
var stackpanel = sender as StackPanel;
|
||||
|
||||
var image = stackpanel?.Children?[0] as Image;
|
||||
|
||||
var image_source = image?.Source;
|
||||
|
||||
if (image_source is object)
|
||||
{
|
||||
if (e.ClickCount >= 2)
|
||||
{
|
||||
BeWoUtils.ShowImageForm(image_source);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PhotosListBox_ContextMenuOpening(object sender, ContextMenuEventArgs e)
|
||||
{
|
||||
if (!PermissionWohneinheitGalleryManage)
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,73 +1,39 @@
|
||||
<localView:BeWoView x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitGrundrissModalPopup"
|
||||
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.Detail.Wohneinheit"
|
||||
xmlns:localView="clr-namespace:BeWo.View"
|
||||
mc:Ignorable="d">
|
||||
<localView:BeWoView
|
||||
x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitGrundrissModalPopup"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
xmlns:localView="clr-namespace:BeWo.View"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d">
|
||||
<localView:BeWoView.Resources>
|
||||
<Style TargetType="{x:Type ListBox}" x:Key="PhotoListBoxStyle">
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
<Setter Property="Margin" Value="5" />
|
||||
<Setter Property="MinHeight" Value="100" />
|
||||
<Setter Property="MaxHeight" Value="800" />
|
||||
<Setter Property="IsSynchronizedWithCurrentItem" Value="True" />
|
||||
<Setter Property="SelectionMode" Value="Single" />
|
||||
</Style>
|
||||
<Style TargetType="ListBoxItem">
|
||||
<Style.Resources>
|
||||
<!--SelectedItem with focus-->
|
||||
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="LightBlue" Opacity=".4"/>
|
||||
<!--SelectedItem without focus-->
|
||||
<SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey }" Color="LightBlue" Opacity=".4"/>
|
||||
</Style.Resources>
|
||||
</Style>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</localView:BeWoView.Resources>
|
||||
<GroupBox Width="1400" Style="{StaticResource PopUpWindowStyle}">
|
||||
<GroupBox.Header>
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,0">
|
||||
<Image Source="..\..\..\Ressources\Icons\CoinsDisabled.png" Height="28" />
|
||||
<TextBox Margin="10,4,0,0" Background="{x:Null}" Foreground="{DynamicResource MainGroupBoxForegroundBrush}"
|
||||
FontSize="20" BorderBrush="{x:Null}" VerticalAlignment="Stretch" BorderThickness="0,0,0,0"
|
||||
Padding="0,0,0,0" />
|
||||
</StackPanel>
|
||||
</GroupBox.Header>
|
||||
<GroupBox.Header>
|
||||
<StackPanel
|
||||
Margin="0,0,0,0"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Image Height="28" Source="..\..\..\Ressources\Icons\CoinsDisabled.png" />
|
||||
<TextBox
|
||||
Margin="10,4,0,0"
|
||||
Padding="0,0,0,0"
|
||||
VerticalAlignment="Stretch"
|
||||
Background="{x:Null}"
|
||||
BorderBrush="{x:Null}"
|
||||
BorderThickness="0,0,0,0"
|
||||
FontSize="20"
|
||||
Foreground="{DynamicResource MainGroupBoxForegroundBrush}" />
|
||||
</StackPanel>
|
||||
</GroupBox.Header>
|
||||
<Grid Background="{StaticResource ObjectEditBackgroundBrush}">
|
||||
<GroupBox Margin="10" Header="Grundrissverwaltung" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<ListBox
|
||||
Name="PhotosListBox"
|
||||
ItemsSource="{Binding}"
|
||||
Style="{StaticResource PhotoListBoxStyle}"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Auto"
|
||||
SelectedIndex="0">
|
||||
<ListBox.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Header="Hinzufügen" Click="MenuItem_Add_Click" />
|
||||
<MenuItem Header="Löschen" Click="MenuItem_Del_Click" />
|
||||
</ContextMenu>
|
||||
</ListBox.ContextMenu>
|
||||
<ListBox.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<UniformGrid Columns="3"/>
|
||||
</ItemsPanelTemplate>
|
||||
</ListBox.ItemsPanel>
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel MouseDown="StackPanel_MouseDown">
|
||||
<Image Source="{Binding Original}" Height="150" Stretch="Uniform"></Image>
|
||||
<Label Content="{Binding Filename}" HorizontalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
<ListBox.ItemContainerStyle>
|
||||
<Style TargetType="ListBoxItem">
|
||||
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
|
||||
</Style>
|
||||
</ListBox.ItemContainerStyle>
|
||||
</ListBox>
|
||||
</GroupBox>
|
||||
<local:WohneinheitGrundrissControl />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</localView:BeWoView>
|
||||
|
||||
@@ -26,74 +26,18 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
/// </summary>
|
||||
public partial class WohneinheitGrundrissModalPopup : BeWoView
|
||||
{
|
||||
public ImageListVM Images { get; set; }
|
||||
|
||||
public WohneinheitGrundrissModalPopup(ImageListVM images)
|
||||
public WohneinheitGrundrissModalPopup()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.CommandBindings.Add(new CommandBinding(ApplicationCommands.Close,
|
||||
CommandBindings.Add(new CommandBinding(ApplicationCommands.Close,
|
||||
(s, e) =>
|
||||
{
|
||||
BeWoApp.MainControl.CloseCurrentPopUp();
|
||||
e.Handled = true;
|
||||
}));
|
||||
|
||||
Images = images;
|
||||
|
||||
DataContext = Images.VMList;
|
||||
}
|
||||
|
||||
private void MenuItem_Add_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var dialog = new Microsoft.Win32.OpenFileDialog();
|
||||
dialog.Title = "Wähle einen Grundriss aus";
|
||||
dialog.Filter = "ALL supported Graphics| *.jpeg; *.jpg;*.png;";
|
||||
|
||||
// Show open file dialog box
|
||||
bool? result = dialog.ShowDialog();
|
||||
|
||||
if (result != true)
|
||||
return;
|
||||
|
||||
var info = new FileInfo(dialog.FileName);
|
||||
|
||||
if (!info.Exists)
|
||||
return;
|
||||
|
||||
var vm = new ImageVM();
|
||||
|
||||
vm.Filename = info.Name;
|
||||
vm.Fullname = info.FullName;
|
||||
vm.Original = File.ReadAllBytes(info.FullName);
|
||||
|
||||
Images.VMList.Add(vm);
|
||||
}
|
||||
|
||||
private void MenuItem_Del_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var t = PhotosListBox.SelectedItem as ImageVM;
|
||||
|
||||
if (t is null)
|
||||
return;
|
||||
|
||||
Images.VMList.Remove(t);
|
||||
}
|
||||
|
||||
private void StackPanel_MouseDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
var stackpanel = sender as StackPanel;
|
||||
|
||||
var image = stackpanel?.Children?[0] as Image;
|
||||
|
||||
var image_source = image?.Source;
|
||||
|
||||
if (image_source is object)
|
||||
{
|
||||
if(e.ClickCount >= 2)
|
||||
{
|
||||
BeWoUtils.ShowImageForm(image_source);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
@@ -219,7 +219,7 @@
|
||||
</dxg:GridControl.View>
|
||||
</dxg:GridControl>
|
||||
|
||||
<local:WohneinheitEditPopup x:Name="popup_newWohneinheit" ViewModel="{Binding}" />
|
||||
<local:WohneinheitEditPopup x:Name="popup_newWohneinheit" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
||||
@@ -95,7 +95,9 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
|
||||
var vm = datagrid_wohneinheiten.GetCurrentValue<WohneinheitVM>();
|
||||
|
||||
var control = new WohneinheitGrundrissModalPopup(vm.ImageListVM);
|
||||
var control = new WohneinheitGrundrissModalPopup();
|
||||
|
||||
control.DataContext = vm.ImageListVM;
|
||||
|
||||
BeWoApp.MainControl.ShowControlAsModalPopup(control);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
@@ -28,7 +28,7 @@
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditCurrencyStyleManage"
|
||||
BasedOn="{StaticResource TextEditCurrencyStyle}"
|
||||
BasedOn="{StaticResource TextEditCurrency}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="IsReadOnly" Value="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}" />
|
||||
</Style>
|
||||
@@ -83,174 +83,182 @@
|
||||
ToolTip="Wohneinheit entfernen" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<GroupBox
|
||||
x:Name="groupbox_newWohneinheit"
|
||||
<ScrollViewer
|
||||
Grid.Column="2"
|
||||
Margin="5"
|
||||
DataContext="{Binding SelectedVM}"
|
||||
Header="Allgemeine Informationen"
|
||||
Style="{StaticResource ObjectEditGroupBox}"
|
||||
VerticalScrollBarVisibility="Visible"
|
||||
Padding="5"
|
||||
Visibility="{Binding Path=., Converter={StaticResource ObjectVisibilityConverter}}">
|
||||
<Grid>
|
||||
<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" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<GroupBox
|
||||
x:Name="groupbox_newWohneinheit"
|
||||
Header="Allgemeine Informationen"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<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" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label Grid.Row="0">
|
||||
Wohnungsname
|
||||
</Label>
|
||||
<TextBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Text="{Binding Path=Wohnname, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label Grid.Row="1">
|
||||
Zimmername
|
||||
</Label>
|
||||
<TextBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Text="{Binding Path=Zimmername, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label Grid.Row="2">
|
||||
Baujahr
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Baujahr, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextEditYearStyle}" />
|
||||
<Label Grid.Row="0">
|
||||
Wohnungsname
|
||||
</Label>
|
||||
<TextBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Text="{Binding Path=Wohnname, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label Grid.Row="1">
|
||||
Zimmername
|
||||
</Label>
|
||||
<TextBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Text="{Binding Path=Zimmername, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label Grid.Row="2">
|
||||
Baujahr
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Baujahr, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextEditYear}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
Content="Stock" />
|
||||
<TextBox
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Text="{Binding Path=Stock, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
Content="Stock" />
|
||||
<TextBox
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Text="{Binding Path=Stock, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label Grid.Row="4">
|
||||
Fläche
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=QM, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextEditQmStyle}" />
|
||||
<Label Grid.Row="4">
|
||||
Fläche
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=QM, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextEditQm}" />
|
||||
|
||||
<Label Grid.Row="5">
|
||||
Kaution
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Kaution, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="5">
|
||||
Kaution
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Kaution, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
|
||||
<Grid Grid.Row="6" Grid.ColumnSpan="2">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="7*" />
|
||||
<ColumnDefinition Width="15*" />
|
||||
<ColumnDefinition Width="12*" />
|
||||
<ColumnDefinition Width="15*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid Grid.Row="6" Grid.ColumnSpan="2">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="7*" />
|
||||
<ColumnDefinition Width="15*" />
|
||||
<ColumnDefinition Width="12*" />
|
||||
<ColumnDefinition Width="15*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label Grid.Row="0">
|
||||
Miete
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Miete, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="1" Grid.Column="0">
|
||||
Heizung
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Heizung, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="2" Grid.Column="0">
|
||||
Strom
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Strom, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="0" Grid.Column="2">
|
||||
Betriebskosten
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=Betriebskosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="1" Grid.Column="2">
|
||||
Sonstige Kosten
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=SonstigeKosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="2" Grid.Column="2">
|
||||
Brutto
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=Brutto, Mode=OneWay}"
|
||||
IsReadOnly="True"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
</Grid>
|
||||
<Label Grid.Row="0">
|
||||
Miete
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Miete, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="1" Grid.Column="0">
|
||||
Heizung
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Heizung, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="2" Grid.Column="0">
|
||||
Strom
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
EditValue="{Binding Path=Strom, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="0" Grid.Column="2">
|
||||
Betriebskosten
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=Betriebskosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="1" Grid.Column="2">
|
||||
Sonstige Kosten
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=SonstigeKosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="2" Grid.Column="2">
|
||||
Brutto
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="3"
|
||||
EditValue="{Binding Path=Brutto, Mode=OneWay}"
|
||||
IsReadOnly="True"
|
||||
Style="{StaticResource TextEditCurrency}" />
|
||||
</Grid>
|
||||
|
||||
<Label
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
Content="Möbilierung" />
|
||||
<TextBox
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextBoxNoticeStyle}"
|
||||
Text="{Binding Path=Mobilierung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Label
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
Content="Möbilierung" />
|
||||
<TextBox
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextBoxNoticeExtended}"
|
||||
Text="{Binding Path=Mobilierung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
Content="Notiz" />
|
||||
<TextBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextBoxNoticeExtended}"
|
||||
Text="{Binding Path=Zusatznotiz, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<local:WohneinheitGrundrissControl Visibility="{Binding Path=DataContext.PermissionWohneinheitGalleryView, ElementName=root_grid,Converter={StaticResource BoolVisibilityConverter}}" DataContext="{Binding ImageListVM}" />
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
|
||||
<Label
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
Content="Notiz" />
|
||||
<TextBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextBoxNoticeExtendedStyle}"
|
||||
Text="{Binding Path=Zusatznotiz, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
||||
@@ -1,606 +0,0 @@
|
||||
using System;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.ViewModel
|
||||
{
|
||||
public class CustomerFalldatenVM : AbstractDCMapperVM<FalldatenDC>
|
||||
{
|
||||
private string _EigenesAktenzeichen;
|
||||
private DateTime? _Auftragseingang;
|
||||
private ValueListEntryDC _Auftragsherkunft;
|
||||
private ObservableSortCollection<ValueListEntryDC> _Auftragsherkunfte;
|
||||
private ValueListEntryDC _Vermittlungsgrundlage;
|
||||
private ObservableSortCollection<ValueListEntryDC> _Vermittlungsgrundlagen;
|
||||
private decimal? _Tagessatze;
|
||||
private decimal? _Tagessatzhohe;
|
||||
private decimal? _HoheDerGeldstrafe;
|
||||
private decimal? _ZuLeistendeArbeitsstunden;
|
||||
private string _Hinweis;
|
||||
private DateTime? _Termin;
|
||||
private FalldatenBearbeitungsstatus? _FalldatenBearbeitungsstatus;
|
||||
private string _Auftragsruckgabe;
|
||||
private string _Verlauf;
|
||||
private decimal? _AbgeleisteteStunden;
|
||||
private decimal? _ErsparteHafttage;
|
||||
private decimal? _GeleisteteRatenzahlung;
|
||||
private string _Bemerkung;
|
||||
private decimal? _GeleisteteEinmalzahlung;
|
||||
private bool _GrundArbeitsunfahig;
|
||||
private bool _GrundSuchtproblem;
|
||||
private bool _GrundPsychischeProbleme;
|
||||
private bool _GrundKeineMotivation;
|
||||
private bool _GrundInHaft;
|
||||
private bool _GrundUnbekannt;
|
||||
private bool _GrundKeinKontakt;
|
||||
private bool _GrundNichtAngetreten;
|
||||
private bool _GrundAbbruchDerTatigkeit;
|
||||
private bool _GrundWiderruf;
|
||||
private bool _Grund459StPO;
|
||||
private bool _GrundAusbleibenDerZahlung;
|
||||
private bool _BesonderheitMehrfacheBeauftragung;
|
||||
private bool _BesonderheitMehrfacheVermittlung;
|
||||
private bool _BesonderheitVermittlungAusHaft;
|
||||
private bool _BesonderheitDurchBGBWAufgesucht;
|
||||
|
||||
public CustomerFalldatenVM(CustomerVM cust, FalldatenDC dc) : base(dc, dc.IsNew)
|
||||
{
|
||||
Customer = cust;
|
||||
}
|
||||
|
||||
public CustomerVM Customer { get; set; }
|
||||
|
||||
public bool PermissionFalldatenEdit { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.Customer_GemeinnutzigeArbeit_Manage);
|
||||
public bool NoPermissionFalldatenEdit => !PermissionFalldatenEdit;
|
||||
|
||||
public string EigenesAktenzeichen
|
||||
{
|
||||
get { return _EigenesAktenzeichen; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EigenesAktenzeichen, value))
|
||||
return;
|
||||
|
||||
_EigenesAktenzeichen = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EigenesAktenzeichen, value), nameof(EigenesAktenzeichen));
|
||||
FirePropertyChanged(nameof(EigenesAktenzeichen));
|
||||
}
|
||||
}
|
||||
public DateTime? Auftragseingang
|
||||
{
|
||||
get { return _Auftragseingang; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Auftragseingang, value))
|
||||
return;
|
||||
|
||||
_Auftragseingang = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Auftragseingang, value), nameof(Auftragseingang));
|
||||
FirePropertyChanged(nameof(Auftragseingang));
|
||||
}
|
||||
}
|
||||
public ValueListEntryDC Auftragsherkunft
|
||||
{
|
||||
get { return _Auftragsherkunft; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Auftragsherkunft, value))
|
||||
return;
|
||||
|
||||
_Auftragsherkunft = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Auftragsherkunft, value), nameof(Auftragsherkunft));
|
||||
FirePropertyChanged(nameof(Auftragsherkunft));
|
||||
}
|
||||
}
|
||||
public ObservableSortCollection<ValueListEntryDC> Auftragsherkunfte
|
||||
{
|
||||
get { return _Auftragsherkunfte ?? (_Auftragsherkunfte = new ObservableSortCollection<ValueListEntryDC>()); }
|
||||
set { _Auftragsherkunfte = value; }
|
||||
}
|
||||
public ValueListEntryDC Vermittlungsgrundlage
|
||||
{
|
||||
get { return _Vermittlungsgrundlage; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Vermittlungsgrundlage, value))
|
||||
return;
|
||||
|
||||
_Vermittlungsgrundlage = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Vermittlungsgrundlage, value), nameof(Vermittlungsgrundlage));
|
||||
FirePropertyChanged(nameof(Vermittlungsgrundlage));
|
||||
}
|
||||
}
|
||||
public ObservableSortCollection<ValueListEntryDC> Vermittlungsgrundlagen
|
||||
{
|
||||
get { return _Vermittlungsgrundlagen ?? (_Vermittlungsgrundlagen = new ObservableSortCollection<ValueListEntryDC>()); }
|
||||
set { _Vermittlungsgrundlagen = value; }
|
||||
}
|
||||
public decimal? Tagessatze
|
||||
{
|
||||
get { return _Tagessatze; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Tagessatze, value))
|
||||
return;
|
||||
|
||||
_Tagessatze = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Tagessatze, value), nameof(Tagessatze));
|
||||
FirePropertyChanged(nameof(Tagessatze));
|
||||
UpdateHoheDerGeldstrafe();
|
||||
}
|
||||
}
|
||||
public decimal? Tagessatzhohe
|
||||
{
|
||||
get { return _Tagessatzhohe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Tagessatzhohe, value))
|
||||
return;
|
||||
|
||||
_Tagessatzhohe = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Tagessatzhohe, value), nameof(Tagessatzhohe));
|
||||
FirePropertyChanged(nameof(Tagessatzhohe));
|
||||
UpdateHoheDerGeldstrafe();
|
||||
}
|
||||
}
|
||||
public decimal? HoheDerGeldstrafe
|
||||
{
|
||||
get { return _HoheDerGeldstrafe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_HoheDerGeldstrafe, value))
|
||||
return;
|
||||
|
||||
_HoheDerGeldstrafe = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.HoheDerGeldstrafe, value), nameof(HoheDerGeldstrafe));
|
||||
FirePropertyChanged(nameof(HoheDerGeldstrafe));
|
||||
}
|
||||
}
|
||||
public decimal? ZuLeistendeArbeitsstunden
|
||||
{
|
||||
get { return _ZuLeistendeArbeitsstunden; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_ZuLeistendeArbeitsstunden, value))
|
||||
return;
|
||||
|
||||
_ZuLeistendeArbeitsstunden = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.ZuLeistendeArbeitsstunden, value), nameof(ZuLeistendeArbeitsstunden));
|
||||
FirePropertyChanged(nameof(ZuLeistendeArbeitsstunden));
|
||||
}
|
||||
}
|
||||
public string Hinweis
|
||||
{
|
||||
get { return _Hinweis; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Hinweis, value))
|
||||
return;
|
||||
|
||||
_Hinweis = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Hinweis, value), nameof(Hinweis));
|
||||
FirePropertyChanged(nameof(Hinweis));
|
||||
}
|
||||
}
|
||||
public DateTime? Termin
|
||||
{
|
||||
get { return _Termin; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Termin, value))
|
||||
return;
|
||||
|
||||
_Termin = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Termin, value), nameof(Termin));
|
||||
FirePropertyChanged(nameof(Termin));
|
||||
}
|
||||
}
|
||||
public FalldatenBearbeitungsstatus? FalldatenBearbeitungsstatus
|
||||
{
|
||||
get { return _FalldatenBearbeitungsstatus; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_FalldatenBearbeitungsstatus, value))
|
||||
return;
|
||||
|
||||
_FalldatenBearbeitungsstatus = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.FalldatenBearbeitungsstatus, value), nameof(FalldatenBearbeitungsstatus));
|
||||
FirePropertyChanged(nameof(FalldatenBearbeitungsstatus));
|
||||
}
|
||||
}
|
||||
public string Auftragsruckgabe
|
||||
{
|
||||
get { return _Auftragsruckgabe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Auftragsruckgabe, value))
|
||||
return;
|
||||
|
||||
_Auftragsruckgabe = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Auftragsruckgabe, value), nameof(Auftragsruckgabe));
|
||||
FirePropertyChanged(nameof(Auftragsruckgabe));
|
||||
}
|
||||
}
|
||||
public string Verlauf
|
||||
{
|
||||
get { return _Verlauf; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Verlauf, value))
|
||||
return;
|
||||
|
||||
_Verlauf = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Verlauf, value), nameof(Verlauf));
|
||||
FirePropertyChanged(nameof(Verlauf));
|
||||
}
|
||||
}
|
||||
public decimal? AbgeleisteteStunden
|
||||
{
|
||||
get { return _AbgeleisteteStunden; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_AbgeleisteteStunden, value))
|
||||
return;
|
||||
|
||||
_AbgeleisteteStunden = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.AbgeleisteteStunden, value), nameof(AbgeleisteteStunden));
|
||||
FirePropertyChanged(nameof(AbgeleisteteStunden));
|
||||
}
|
||||
}
|
||||
public decimal? ErsparteHafttage
|
||||
{
|
||||
get { return _ErsparteHafttage; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_ErsparteHafttage, value))
|
||||
return;
|
||||
|
||||
_ErsparteHafttage = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.ErsparteHafttage, value), nameof(ErsparteHafttage));
|
||||
FirePropertyChanged(nameof(ErsparteHafttage));
|
||||
}
|
||||
}
|
||||
public decimal? GeleisteteRatenzahlung
|
||||
{
|
||||
get { return _GeleisteteRatenzahlung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GeleisteteRatenzahlung, value))
|
||||
return;
|
||||
|
||||
_GeleisteteRatenzahlung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GeleisteteRatenzahlung, value), nameof(GeleisteteRatenzahlung));
|
||||
FirePropertyChanged(nameof(GeleisteteRatenzahlung));
|
||||
}
|
||||
}
|
||||
public string Bemerkung
|
||||
{
|
||||
get { return _Bemerkung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Bemerkung, value))
|
||||
return;
|
||||
|
||||
_Bemerkung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Bemerkung, value), nameof(Bemerkung));
|
||||
FirePropertyChanged(nameof(Bemerkung));
|
||||
}
|
||||
}
|
||||
public decimal? GeleisteteEinmalzahlung
|
||||
{
|
||||
get { return _GeleisteteEinmalzahlung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GeleisteteEinmalzahlung, value))
|
||||
return;
|
||||
|
||||
_GeleisteteEinmalzahlung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GeleisteteEinmalzahlung, value), nameof(GeleisteteEinmalzahlung));
|
||||
FirePropertyChanged(nameof(GeleisteteEinmalzahlung));
|
||||
}
|
||||
}
|
||||
public bool GrundArbeitsunfahig
|
||||
{
|
||||
get { return _GrundArbeitsunfahig; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundArbeitsunfahig, value))
|
||||
return;
|
||||
|
||||
_GrundArbeitsunfahig = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundArbeitsunfahig, value), nameof(GrundArbeitsunfahig));
|
||||
FirePropertyChanged(nameof(GrundArbeitsunfahig));
|
||||
}
|
||||
}
|
||||
public bool GrundSuchtproblem
|
||||
{
|
||||
get { return _GrundSuchtproblem; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundSuchtproblem, value))
|
||||
return;
|
||||
|
||||
_GrundSuchtproblem = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundSuchtproblem, value), nameof(GrundSuchtproblem));
|
||||
FirePropertyChanged(nameof(GrundSuchtproblem));
|
||||
}
|
||||
}
|
||||
public bool GrundPsychischeProbleme
|
||||
{
|
||||
get { return _GrundPsychischeProbleme; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundPsychischeProbleme, value))
|
||||
return;
|
||||
|
||||
_GrundPsychischeProbleme = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundPsychischeProbleme, value), nameof(GrundPsychischeProbleme));
|
||||
FirePropertyChanged(nameof(GrundPsychischeProbleme));
|
||||
}
|
||||
}
|
||||
public bool GrundKeineMotivation
|
||||
{
|
||||
get { return _GrundKeineMotivation; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundKeineMotivation, value))
|
||||
return;
|
||||
|
||||
_GrundKeineMotivation = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundKeineMotivation, value), nameof(GrundKeineMotivation));
|
||||
FirePropertyChanged(nameof(GrundKeineMotivation));
|
||||
}
|
||||
}
|
||||
public bool GrundInHaft
|
||||
{
|
||||
get { return _GrundInHaft; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundInHaft, value))
|
||||
return;
|
||||
|
||||
_GrundInHaft = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundInHaft, value), nameof(GrundInHaft));
|
||||
FirePropertyChanged(nameof(GrundInHaft));
|
||||
}
|
||||
}
|
||||
public bool GrundUnbekannt
|
||||
{
|
||||
get { return _GrundUnbekannt; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundUnbekannt, value))
|
||||
return;
|
||||
|
||||
_GrundUnbekannt = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundUnbekannt, value), nameof(GrundUnbekannt));
|
||||
FirePropertyChanged(nameof(GrundUnbekannt));
|
||||
}
|
||||
}
|
||||
public bool GrundKeinKontakt
|
||||
{
|
||||
get { return _GrundKeinKontakt; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundKeinKontakt, value))
|
||||
return;
|
||||
|
||||
_GrundKeinKontakt = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundKeinKontakt, value), nameof(GrundKeinKontakt));
|
||||
FirePropertyChanged(nameof(GrundKeinKontakt));
|
||||
}
|
||||
}
|
||||
public bool GrundNichtAngetreten
|
||||
{
|
||||
get { return _GrundNichtAngetreten; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundNichtAngetreten, value))
|
||||
return;
|
||||
|
||||
_GrundNichtAngetreten = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundNichtAngetreten, value), nameof(GrundNichtAngetreten));
|
||||
FirePropertyChanged(nameof(GrundNichtAngetreten));
|
||||
}
|
||||
}
|
||||
public bool GrundAbbruchDerTatigkeit
|
||||
{
|
||||
get { return _GrundAbbruchDerTatigkeit; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundAbbruchDerTatigkeit, value))
|
||||
return;
|
||||
|
||||
_GrundAbbruchDerTatigkeit = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundAbbruchDerTatigkeit, value), nameof(GrundAbbruchDerTatigkeit));
|
||||
FirePropertyChanged(nameof(GrundAbbruchDerTatigkeit));
|
||||
}
|
||||
}
|
||||
public bool GrundWiderruf
|
||||
{
|
||||
get { return _GrundWiderruf; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundWiderruf, value))
|
||||
return;
|
||||
|
||||
_GrundWiderruf = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundWiderruf, value), nameof(GrundWiderruf));
|
||||
FirePropertyChanged(nameof(GrundWiderruf));
|
||||
}
|
||||
}
|
||||
public bool Grund459StPO
|
||||
{
|
||||
get { return _Grund459StPO; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Grund459StPO, value))
|
||||
return;
|
||||
|
||||
_Grund459StPO = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Grund459StPO, value), nameof(Grund459StPO));
|
||||
FirePropertyChanged(nameof(Grund459StPO));
|
||||
}
|
||||
}
|
||||
public bool GrundAusbleibenDerZahlung
|
||||
{
|
||||
get { return _GrundAusbleibenDerZahlung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundAusbleibenDerZahlung, value))
|
||||
return;
|
||||
|
||||
_GrundAusbleibenDerZahlung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.GrundAusbleibenDerZahlung, value), nameof(GrundAusbleibenDerZahlung));
|
||||
FirePropertyChanged(nameof(GrundAusbleibenDerZahlung));
|
||||
}
|
||||
}
|
||||
public bool BesonderheitMehrfacheBeauftragung
|
||||
{
|
||||
get { return _BesonderheitMehrfacheBeauftragung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BesonderheitMehrfacheBeauftragung, value))
|
||||
return;
|
||||
|
||||
_BesonderheitMehrfacheBeauftragung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BesonderheitMehrfacheBeauftragung, value), nameof(BesonderheitMehrfacheBeauftragung));
|
||||
FirePropertyChanged(nameof(BesonderheitMehrfacheBeauftragung));
|
||||
}
|
||||
}
|
||||
public bool BesonderheitMehrfacheVermittlung
|
||||
{
|
||||
get { return _BesonderheitMehrfacheVermittlung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BesonderheitMehrfacheVermittlung, value))
|
||||
return;
|
||||
|
||||
_BesonderheitMehrfacheVermittlung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BesonderheitMehrfacheVermittlung, value), nameof(BesonderheitMehrfacheVermittlung));
|
||||
FirePropertyChanged(nameof(BesonderheitMehrfacheVermittlung));
|
||||
}
|
||||
}
|
||||
public bool BesonderheitVermittlungAusHaft
|
||||
{
|
||||
get { return _BesonderheitVermittlungAusHaft; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BesonderheitVermittlungAusHaft, value))
|
||||
return;
|
||||
|
||||
_BesonderheitVermittlungAusHaft = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BesonderheitVermittlungAusHaft, value), nameof(BesonderheitVermittlungAusHaft));
|
||||
FirePropertyChanged(nameof(BesonderheitVermittlungAusHaft));
|
||||
}
|
||||
}
|
||||
public bool BesonderheitDurchBGBWAufgesucht
|
||||
{
|
||||
get { return _BesonderheitDurchBGBWAufgesucht; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BesonderheitDurchBGBWAufgesucht, value))
|
||||
return;
|
||||
|
||||
_BesonderheitDurchBGBWAufgesucht = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BesonderheitDurchBGBWAufgesucht, value), nameof(BesonderheitDurchBGBWAufgesucht));
|
||||
FirePropertyChanged(nameof(BesonderheitDurchBGBWAufgesucht));
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateHoheDerGeldstrafe()
|
||||
{
|
||||
if (!Tagessatze.HasValue || !Tagessatzhohe.HasValue)
|
||||
return;
|
||||
|
||||
HoheDerGeldstrafe = Tagessatze * Tagessatzhohe;
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(FalldatenDC pDataContract)
|
||||
{
|
||||
_EigenesAktenzeichen = pDataContract.EigenesAktenzeichen;
|
||||
_Auftragseingang = pDataContract.Auftragseingang;
|
||||
_Auftragsherkunft = pDataContract.Auftragsherkunft;
|
||||
_Vermittlungsgrundlage = pDataContract.Vermittlungsgrundlage;
|
||||
_Tagessatze = pDataContract.Tagessatze;
|
||||
_Tagessatzhohe = pDataContract.Tagessatzhohe;
|
||||
_HoheDerGeldstrafe = pDataContract.HoheDerGeldstrafe;
|
||||
_ZuLeistendeArbeitsstunden = pDataContract.ZuLeistendeArbeitsstunden;
|
||||
_Hinweis = pDataContract.Hinweis;
|
||||
_Termin = pDataContract.Termin;
|
||||
_FalldatenBearbeitungsstatus = pDataContract.FalldatenBearbeitungsstatus;
|
||||
_Auftragsruckgabe = pDataContract.Auftragsruckgabe;
|
||||
_Verlauf = pDataContract.Verlauf;
|
||||
_AbgeleisteteStunden = pDataContract.AbgeleisteteStunden;
|
||||
_ErsparteHafttage = pDataContract.ErsparteHafttage;
|
||||
_GeleisteteRatenzahlung = pDataContract.GeleisteteRatenzahlung;
|
||||
_Bemerkung = pDataContract.Bemerkung;
|
||||
_GeleisteteEinmalzahlung = pDataContract.GeleisteteEinmalzahlung;
|
||||
_GrundArbeitsunfahig = pDataContract.GrundArbeitsunfahig;
|
||||
_GrundSuchtproblem = pDataContract.GrundSuchtproblem;
|
||||
_GrundPsychischeProbleme = pDataContract.GrundPsychischeProbleme;
|
||||
_GrundKeineMotivation = pDataContract.GrundKeineMotivation;
|
||||
_GrundInHaft = pDataContract.GrundInHaft;
|
||||
_GrundUnbekannt = pDataContract.GrundUnbekannt;
|
||||
_GrundKeinKontakt = pDataContract.GrundKeinKontakt;
|
||||
_GrundNichtAngetreten = pDataContract.GrundNichtAngetreten;
|
||||
_GrundAbbruchDerTatigkeit = pDataContract.GrundAbbruchDerTatigkeit;
|
||||
_GrundWiderruf = pDataContract.GrundWiderruf;
|
||||
_Grund459StPO = pDataContract.Grund459StPO;
|
||||
_GrundAusbleibenDerZahlung = pDataContract.GrundAusbleibenDerZahlung;
|
||||
_BesonderheitMehrfacheBeauftragung = pDataContract.BesonderheitMehrfacheBeauftragung;
|
||||
_BesonderheitMehrfacheVermittlung = pDataContract.BesonderheitMehrfacheVermittlung;
|
||||
_BesonderheitVermittlungAusHaft = pDataContract.BesonderheitVermittlungAusHaft;
|
||||
_BesonderheitDurchBGBWAufgesucht = pDataContract.BesonderheitDurchBGBWAufgesucht;
|
||||
}
|
||||
|
||||
internal void InitValueListEntrys(ObservableSortCollection<ValueListEntryDC> auftragsherkunfte, ObservableSortCollection<ValueListEntryDC> vermittlungsgrundlage)
|
||||
{
|
||||
_Auftragsherkunfte = auftragsherkunfte;
|
||||
_Vermittlungsgrundlagen = vermittlungsgrundlage;
|
||||
}
|
||||
|
||||
protected override FalldatenDC MapToDataContract(FalldatenDC pDataContract, bool doCommit)
|
||||
{
|
||||
pDataContract.EigenesAktenzeichen = _EigenesAktenzeichen;
|
||||
pDataContract.Auftragseingang = _Auftragseingang;
|
||||
pDataContract.Auftragsherkunft = _Auftragsherkunft;
|
||||
pDataContract.Vermittlungsgrundlage = _Vermittlungsgrundlage;
|
||||
pDataContract.Tagessatze = _Tagessatze;
|
||||
pDataContract.Tagessatzhohe = _Tagessatzhohe;
|
||||
pDataContract.HoheDerGeldstrafe = _HoheDerGeldstrafe;
|
||||
pDataContract.ZuLeistendeArbeitsstunden = _ZuLeistendeArbeitsstunden;
|
||||
pDataContract.Hinweis = _Hinweis;
|
||||
pDataContract.Termin = _Termin;
|
||||
pDataContract.FalldatenBearbeitungsstatus = _FalldatenBearbeitungsstatus;
|
||||
pDataContract.Auftragsruckgabe = _Auftragsruckgabe;
|
||||
pDataContract.Verlauf = _Verlauf;
|
||||
pDataContract.AbgeleisteteStunden = _AbgeleisteteStunden;
|
||||
pDataContract.ErsparteHafttage = _ErsparteHafttage;
|
||||
pDataContract.GeleisteteRatenzahlung = _GeleisteteRatenzahlung;
|
||||
pDataContract.Bemerkung = _Bemerkung;
|
||||
pDataContract.GeleisteteEinmalzahlung = _GeleisteteEinmalzahlung;
|
||||
pDataContract.GrundArbeitsunfahig = _GrundArbeitsunfahig;
|
||||
pDataContract.GrundSuchtproblem = _GrundSuchtproblem;
|
||||
pDataContract.GrundPsychischeProbleme = _GrundPsychischeProbleme;
|
||||
pDataContract.GrundKeineMotivation = _GrundKeineMotivation;
|
||||
pDataContract.GrundInHaft = _GrundInHaft;
|
||||
pDataContract.GrundUnbekannt = _GrundUnbekannt;
|
||||
pDataContract.GrundKeinKontakt = _GrundKeinKontakt;
|
||||
pDataContract.GrundNichtAngetreten = _GrundNichtAngetreten;
|
||||
pDataContract.GrundAbbruchDerTatigkeit = _GrundAbbruchDerTatigkeit;
|
||||
pDataContract.GrundWiderruf = _GrundWiderruf;
|
||||
pDataContract.Grund459StPO = _Grund459StPO;
|
||||
pDataContract.GrundAusbleibenDerZahlung = _GrundAusbleibenDerZahlung;
|
||||
pDataContract.BesonderheitMehrfacheBeauftragung = _BesonderheitMehrfacheBeauftragung;
|
||||
pDataContract.BesonderheitMehrfacheVermittlung = _BesonderheitMehrfacheVermittlung;
|
||||
pDataContract.BesonderheitVermittlungAusHaft = _BesonderheitVermittlungAusHaft;
|
||||
pDataContract.BesonderheitDurchBGBWAufgesucht = _BesonderheitDurchBGBWAufgesucht;
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -236,9 +236,8 @@ namespace BeWo.ViewModel
|
||||
private ObservableSortCollection<ValueListEntryDC> _EintragKategorien;
|
||||
|
||||
private SubstitutionNeed _SubstitutionNeed;
|
||||
private CustomerFalldatenVM _CustomerFalldatenVM;
|
||||
private CustomerWohnhilfeListVM _CustomerWohnhilfeListVM;
|
||||
private CustomerGemeinnutzigeArbeitListVM _CustomerGemeinnutzigeArbeitListVM;
|
||||
private CustomerVermittlungArbeitListVM _CustomerGemeinnutzigeArbeitListVM;
|
||||
|
||||
public CustomerVM()
|
||||
{
|
||||
@@ -271,7 +270,6 @@ namespace BeWo.ViewModel
|
||||
var auftragsherkunfte = new ObservableSortCollection<ValueListEntryDC>(possibleauftragsherkunfte, Comparer.ValueListEntryDCComparer);
|
||||
var vermittlungsgrundlage = new ObservableSortCollection<ValueListEntryDC>(possiblevermittlungsgrundlage, Comparer.ValueListEntryDCComparer);
|
||||
|
||||
_CustomerFalldatenVM.InitValueListEntrys(auftragsherkunfte, vermittlungsgrundlage);
|
||||
_CustomerGemeinnutzigeArbeitListVM.InitValueListEntrys(auftragsherkunfte, vermittlungsgrundlage);
|
||||
|
||||
_MedArten = new BindingList<MedArtDC>(pPossibleMedArten);
|
||||
@@ -838,9 +836,8 @@ namespace BeWo.ViewModel
|
||||
return base.IsDirty || TeamRelations.IsDirty || EmployeeRelations.IsDirty || _EnvironmentPersons.IsDirty ||
|
||||
_EnvironmentOrganisations.IsDirty || _AbsenceTimes.IsDirty || _VarFields.IsDirty ||
|
||||
CostBearers.IsDirty || _IndividualAssessmentSheetCategories.IsDirty ||
|
||||
_PlacementList.IsDirty || _MedVerordnungslisten.IsDirty || _EnvironmentPersonsWithFamily.IsDirty || _Arbeitszeiten.IsDirty ||
|
||||
_CustomerFalldatenVM.IsDirty
|
||||
//|| _CustomerWohnhilfeListVM.IsDirty
|
||||
_PlacementList.IsDirty || _MedVerordnungslisten.IsDirty || _EnvironmentPersonsWithFamily.IsDirty || _Arbeitszeiten.IsDirty
|
||||
|| _CustomerGemeinnutzigeArbeitListVM.IsDirty || _CustomerWohnhilfeListVM.IsDirty
|
||||
;
|
||||
}
|
||||
}
|
||||
@@ -1745,18 +1742,6 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
}
|
||||
public CustomerFalldatenVM CustomerFalldatenVM
|
||||
{
|
||||
get { return _CustomerFalldatenVM; }
|
||||
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_CustomerFalldatenVM, value))
|
||||
return;
|
||||
_CustomerFalldatenVM = value;
|
||||
FirePropertyChanged(nameof(CustomerFalldatenVM));
|
||||
}
|
||||
}
|
||||
public CustomerWohnhilfeListVM CustomerWohnhilfeListVM
|
||||
{
|
||||
get { return _CustomerWohnhilfeListVM; }
|
||||
@@ -1770,16 +1755,16 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public CustomerGemeinnutzigeArbeitListVM CustomerGemeinnutzigeArbeitListVM
|
||||
public CustomerVermittlungArbeitListVM CustomerVermittlungArbeitListVM
|
||||
{
|
||||
get { return _CustomerGemeinnutzigeArbeitListVM; }
|
||||
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(CustomerGemeinnutzigeArbeitListVM, value))
|
||||
if (!AreDifferent(CustomerVermittlungArbeitListVM, value))
|
||||
return;
|
||||
_CustomerGemeinnutzigeArbeitListVM = value;
|
||||
FirePropertyChanged(nameof(CustomerGemeinnutzigeArbeitListVM));
|
||||
FirePropertyChanged(nameof(CustomerVermittlungArbeitListVM));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2015,8 +2000,6 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
CustomerFalldatenVM = new CustomerFalldatenVM(this, pDataContract.FalldatenDC ?? (pDataContract.FalldatenDC = new FalldatenDC(true)));
|
||||
|
||||
EnvironmentPersons = VMFactory.CreateCustomerEnvironmentPersonRelListVM(dcListUmfeld, ValueListEntryType.EnvironmentPersonType);
|
||||
EnvironmentPersonsWithFamily = VMFactory.CreateCustomerEnvironmentPersonRelListVM(dcListFamily, ValueListEntryType.RoleInFamily);
|
||||
|
||||
@@ -2037,7 +2020,7 @@ namespace BeWo.ViewModel
|
||||
|
||||
CustomerWohnhilfeListVM = new CustomerWohnhilfeListVM(this, pDataContract.CustomerWohnhilfeDC ?? (pDataContract.CustomerWohnhilfeDC = new List<CustomerWohnhilfeDC>()));
|
||||
|
||||
CustomerGemeinnutzigeArbeitListVM = new CustomerGemeinnutzigeArbeitListVM(pDataContract.CustomerGemeinnutzigeArbeitDC ?? (pDataContract.CustomerGemeinnutzigeArbeitDC = new List<FalldatenDC>()));
|
||||
CustomerVermittlungArbeitListVM = new CustomerVermittlungArbeitListVM(pDataContract.CustomerVermittlungArbeitDC ?? (pDataContract.CustomerVermittlungArbeitDC = new List<CustomerVermittlungArbeitDC>()));
|
||||
}
|
||||
protected override CustomerDC MapToDataContract(CustomerDC pDataContract, bool doCommit)
|
||||
{
|
||||
@@ -2100,15 +2083,6 @@ namespace BeWo.ViewModel
|
||||
pDataContract.SubstitutionNeed = _SubstitutionNeed;
|
||||
pDataContract.AufenthaltGueltigBis = _AufenthaltGueltigBis;
|
||||
|
||||
var falldaten_new_and_no_changed = _CustomerFalldatenVM.IsNew && !_CustomerFalldatenVM.IsDirty;
|
||||
|
||||
if (!falldaten_new_and_no_changed)
|
||||
{
|
||||
pDataContract.FalldatenDC = _CustomerFalldatenVM.CommitToDataContract();
|
||||
}
|
||||
|
||||
if(_CustomerFalldatenVM.IsNew && !_CustomerFalldatenVM.IsDirty)
|
||||
|
||||
if (_MerkzeichenListe != null)
|
||||
{
|
||||
pDataContract.MerkzeichenListe = _MerkzeichenListe.ToList();
|
||||
@@ -2210,7 +2184,12 @@ namespace BeWo.ViewModel
|
||||
pDataContract.Arbeitszeiten = _Arbeitszeiten.CopyToDCList(doCommit);
|
||||
}
|
||||
|
||||
if(_CustomerWohnhilfeListVM != null)
|
||||
if (_CustomerGemeinnutzigeArbeitListVM != null)
|
||||
{
|
||||
pDataContract.CustomerVermittlungArbeitDC = _CustomerGemeinnutzigeArbeitListVM.CopyToDCList(doCommit);
|
||||
}
|
||||
|
||||
if (_CustomerWohnhilfeListVM != null)
|
||||
{
|
||||
pDataContract.CustomerWohnhilfeDC = _CustomerWohnhilfeListVM.CopyToDCList(doCommit);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BeWo.ViewModel
|
||||
{
|
||||
public class CustomerGemeinnutzigeArbeitVM : AbstractDCMapperVM<FalldatenDC>
|
||||
public class CustomerVermittlungArbeitVM : AbstractDCMapperVM<CustomerVermittlungArbeitDC>
|
||||
{
|
||||
private string _EigenesAktenzeichen;
|
||||
private DateTime? _Auftragseingang;
|
||||
@@ -22,7 +22,7 @@ namespace BeWo.ViewModel
|
||||
private decimal? _ZuLeistendeArbeitsstunden;
|
||||
private string _Hinweis;
|
||||
private DateTime? _Termin;
|
||||
private FalldatenBearbeitungsstatus? _FalldatenBearbeitungsstatus;
|
||||
private CustomerVermittlungBearbeitungsstatus? _CustomerVermittlungBearbeitungsstatus;
|
||||
private string _Auftragsruckgabe;
|
||||
private string _Verlauf;
|
||||
private decimal? _AbgeleisteteStunden;
|
||||
@@ -47,12 +47,12 @@ namespace BeWo.ViewModel
|
||||
private bool _BesonderheitVermittlungAusHaft;
|
||||
private bool _BesonderheitDurchBGBWAufgesucht;
|
||||
|
||||
public CustomerGemeinnutzigeArbeitVM()
|
||||
public CustomerVermittlungArbeitVM()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public CustomerGemeinnutzigeArbeitVM(FalldatenDC falldatenDC) : base(falldatenDC, falldatenDC.IsNew)
|
||||
public CustomerVermittlungArbeitVM(CustomerVermittlungArbeitDC vermittlung) : base(vermittlung, vermittlung.Oid == null)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -98,11 +98,6 @@ namespace BeWo.ViewModel
|
||||
FirePropertyChanged(nameof(Auftragsherkunft));
|
||||
}
|
||||
}
|
||||
public ObservableSortCollection<ValueListEntryDC> Auftragsherkunfte
|
||||
{
|
||||
get { return _Auftragsherkunfte ?? (_Auftragsherkunfte = new ObservableSortCollection<ValueListEntryDC>()); }
|
||||
set { _Auftragsherkunfte = value; }
|
||||
}
|
||||
public ValueListEntryDC Vermittlungsgrundlage
|
||||
{
|
||||
get { return _Vermittlungsgrundlage; }
|
||||
@@ -116,11 +111,6 @@ namespace BeWo.ViewModel
|
||||
FirePropertyChanged(nameof(Vermittlungsgrundlage));
|
||||
}
|
||||
}
|
||||
public ObservableSortCollection<ValueListEntryDC> Vermittlungsgrundlagen
|
||||
{
|
||||
get { return _Vermittlungsgrundlagen ?? (_Vermittlungsgrundlagen = new ObservableSortCollection<ValueListEntryDC>()); }
|
||||
set { _Vermittlungsgrundlagen = value; }
|
||||
}
|
||||
public decimal? Tagessatze
|
||||
{
|
||||
get { return _Tagessatze; }
|
||||
@@ -201,18 +191,18 @@ namespace BeWo.ViewModel
|
||||
FirePropertyChanged(nameof(Termin));
|
||||
}
|
||||
}
|
||||
public IEnumerable<FalldatenBearbeitungsstatus> FalldatenBearbeitungsstatusTypes => Utils.GetAllEnumValues<FalldatenBearbeitungsstatus>();
|
||||
public FalldatenBearbeitungsstatus? FalldatenBearbeitungsstatus
|
||||
public IEnumerable<CustomerVermittlungBearbeitungsstatus> CustomerVermittlungBearbeitungsstatusTypes => Utils.GetAllEnumValues<CustomerVermittlungBearbeitungsstatus>();
|
||||
public CustomerVermittlungBearbeitungsstatus? CustomerVermittlungBearbeitungsstatus
|
||||
{
|
||||
get { return _FalldatenBearbeitungsstatus; }
|
||||
get { return _CustomerVermittlungBearbeitungsstatus; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_FalldatenBearbeitungsstatus, value))
|
||||
if (!AreDifferent(_CustomerVermittlungBearbeitungsstatus, value))
|
||||
return;
|
||||
|
||||
_FalldatenBearbeitungsstatus = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.FalldatenBearbeitungsstatus, value), nameof(FalldatenBearbeitungsstatus));
|
||||
FirePropertyChanged(nameof(FalldatenBearbeitungsstatus));
|
||||
_CustomerVermittlungBearbeitungsstatus = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.CustomerVermittlungBearbeitungsstatus, value), nameof(CustomerVermittlungBearbeitungsstatus));
|
||||
FirePropertyChanged(nameof(CustomerVermittlungBearbeitungsstatus));
|
||||
}
|
||||
}
|
||||
public string Auftragsruckgabe
|
||||
@@ -523,7 +513,7 @@ namespace BeWo.ViewModel
|
||||
HoheDerGeldstrafe = Tagessatze * Tagessatzhohe;
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(FalldatenDC pDataContract)
|
||||
protected override void InitByDataContract(CustomerVermittlungArbeitDC pDataContract)
|
||||
{
|
||||
_EigenesAktenzeichen = pDataContract.EigenesAktenzeichen;
|
||||
_Auftragseingang = pDataContract.Auftragseingang;
|
||||
@@ -535,7 +525,7 @@ namespace BeWo.ViewModel
|
||||
_ZuLeistendeArbeitsstunden = pDataContract.ZuLeistendeArbeitsstunden;
|
||||
_Hinweis = pDataContract.Hinweis;
|
||||
_Termin = pDataContract.Termin;
|
||||
_FalldatenBearbeitungsstatus = pDataContract.FalldatenBearbeitungsstatus;
|
||||
_CustomerVermittlungBearbeitungsstatus = pDataContract.CustomerVermittlungBearbeitungsstatus;
|
||||
_Auftragsruckgabe = pDataContract.Auftragsruckgabe;
|
||||
_Verlauf = pDataContract.Verlauf;
|
||||
_AbgeleisteteStunden = pDataContract.AbgeleisteteStunden;
|
||||
@@ -567,7 +557,7 @@ namespace BeWo.ViewModel
|
||||
_Vermittlungsgrundlagen = vermittlungsgrundlage;
|
||||
}
|
||||
|
||||
protected override FalldatenDC MapToDataContract(FalldatenDC pDataContract, bool doCommit)
|
||||
protected override CustomerVermittlungArbeitDC MapToDataContract(CustomerVermittlungArbeitDC pDataContract, bool doCommit)
|
||||
{
|
||||
pDataContract.EigenesAktenzeichen = _EigenesAktenzeichen;
|
||||
pDataContract.Auftragseingang = _Auftragseingang;
|
||||
@@ -579,7 +569,7 @@ namespace BeWo.ViewModel
|
||||
pDataContract.ZuLeistendeArbeitsstunden = _ZuLeistendeArbeitsstunden;
|
||||
pDataContract.Hinweis = _Hinweis;
|
||||
pDataContract.Termin = _Termin;
|
||||
pDataContract.FalldatenBearbeitungsstatus = _FalldatenBearbeitungsstatus;
|
||||
pDataContract.CustomerVermittlungBearbeitungsstatus = _CustomerVermittlungBearbeitungsstatus;
|
||||
pDataContract.Auftragsruckgabe = _Auftragsruckgabe;
|
||||
pDataContract.Verlauf = _Verlauf;
|
||||
pDataContract.AbgeleisteteStunden = _AbgeleisteteStunden;
|
||||
@@ -114,17 +114,19 @@ namespace BeWo.ViewModel
|
||||
|
||||
protected override void InitByDataContract(CustomerWohnhilfeDC dc)
|
||||
{
|
||||
Displayname = "Test " + counter++;
|
||||
Displayname = dc.Displayname;
|
||||
|
||||
_BereichBundVM = new CustomerWohnhilfeBereichBundVM(dc.BereichBundDC ?? (dc.BereichBundDC = new CustomerWohnhilfeBereichBundDC()));
|
||||
_BereichEinkommenUndArbeitVM = new CustomerWohnhilfeBereichEinkommenUndArbeitVM(dc.BereichEinkommenUndArbeitDC ?? (dc.BereichEinkommenUndArbeitDC = new CustomerWohnhilfeBereichEinkommenUndArbeitDC())); ;
|
||||
_BereichSozialeKontakteVM = new CustomerWohnhilfeBereichSozialeKontakteVM(dc.BereichSozialeKontakteDC ?? (dc.BereichSozialeKontakteDC = new CustomerWohnhilfeBereichSozialeKontakteDC()));
|
||||
_BereichSozialstrukturVM = new CustomerWohnhilfeBereichSozialstrukturVM(dc.BereichSozialstrukturDC ?? (dc.BereichSozialstrukturDC = new CustomerWohnhilfeBereichSozialstrukturDC()));
|
||||
var isNew = dc.Oid == null;
|
||||
|
||||
_BereichBundVM = new CustomerWohnhilfeBereichBundVM(dc.BereichBundDC ?? (dc.BereichBundDC = new CustomerWohnhilfeBereichBundDC()), isNew);
|
||||
_BereichEinkommenUndArbeitVM = new CustomerWohnhilfeBereichEinkommenUndArbeitVM(dc.BereichEinkommenUndArbeitDC ?? (dc.BereichEinkommenUndArbeitDC = new CustomerWohnhilfeBereichEinkommenUndArbeitDC()), isNew); ;
|
||||
_BereichSozialeKontakteVM = new CustomerWohnhilfeBereichSozialeKontakteVM(dc.BereichSozialeKontakteDC ?? (dc.BereichSozialeKontakteDC = new CustomerWohnhilfeBereichSozialeKontakteDC()), isNew);
|
||||
_BereichSozialstrukturVM = new CustomerWohnhilfeBereichSozialstrukturVM(dc.BereichSozialstrukturDC ?? (dc.BereichSozialstrukturDC = new CustomerWohnhilfeBereichSozialstrukturDC()), isNew);
|
||||
}
|
||||
|
||||
protected override CustomerWohnhilfeDC MapToDataContract(CustomerWohnhilfeDC pDataContract, bool doCommit)
|
||||
{
|
||||
pDataContract.Dispalyname = _Displayname;
|
||||
pDataContract.Displayname = _Displayname;
|
||||
|
||||
pDataContract.BereichBundDC = _BereichBundVM.CommitToDataContract();
|
||||
pDataContract.BereichEinkommenUndArbeitDC = _BereichEinkommenUndArbeitVM.CommitToDataContract();
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BeWo.ViewModel.ListViewModel
|
||||
@@ -184,7 +185,7 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
// Wichtig! NewVM, wenn _NewVM null ist
|
||||
var vm = NewVM;
|
||||
|
||||
_VMList.Add(vm);
|
||||
VMList.Add(vm);
|
||||
|
||||
// _VMList.Sort();
|
||||
if (select)
|
||||
@@ -258,5 +259,14 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
|
||||
return lConstr.Invoke(new object[] { pDC }) as VMType;
|
||||
}
|
||||
|
||||
public void SetSelectByIndex(int index)
|
||||
{
|
||||
if(-1 < index && index < VMList.Count){
|
||||
var x = VMList[index];
|
||||
|
||||
SelectedVM = x;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,12 +9,12 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
public class CustomerGemeinnutzigeArbeitListVM : AbstractListVM<FalldatenDC, CustomerGemeinnutzigeArbeitVM>
|
||||
public class CustomerVermittlungArbeitListVM : AbstractListVM<CustomerVermittlungArbeitDC, CustomerVermittlungArbeitVM>
|
||||
{
|
||||
private ObservableSortCollection<ValueListEntryDC> _Auftragsherkunfte;
|
||||
private ObservableSortCollection<ValueListEntryDC> _Vermittlungsgrundlagen;
|
||||
|
||||
public CustomerGemeinnutzigeArbeitListVM(IEnumerable<FalldatenDC> arbeiten) : base(arbeiten)
|
||||
public CustomerVermittlungArbeitListVM(IEnumerable<CustomerVermittlungArbeitDC> arbeiten) : base(arbeiten)
|
||||
{
|
||||
AddVMCommand = new DelegateCommand(() => AddNewVMToListAndSelect(true), CanAddVM);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
using DevExpress.Mvvm;
|
||||
@@ -24,7 +25,7 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
Customer = vm;
|
||||
|
||||
AddVMCommand = new DelegateCommand(() => AddNewVMToListAndSelect(true), CanAddWohnhilfe);
|
||||
AddVMCommand = new DelegateCommand(AddVM, CanAddWohnhilfe);
|
||||
|
||||
DeleteSelectedVMCommand = new DelegateCommand(() => DeleteSelectedVM($"Wohnhilfe '{SelectedVM.Displayname}'"));
|
||||
|
||||
@@ -50,6 +51,13 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public void AddVM()
|
||||
{
|
||||
var new_vm = AddNewVMToListAndSelect(true);
|
||||
|
||||
new_vm.Displayname = "Wohnhilfe";
|
||||
}
|
||||
|
||||
public void CopySelectedWohnhilfe()
|
||||
{
|
||||
var old_vm = SelectedVM;
|
||||
@@ -63,8 +71,12 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
var selected_vm = SelectedVM;
|
||||
|
||||
selected_vm.BereichSozialstrukturVM.Geburtsdatum = Customer.DateOfBirth;
|
||||
|
||||
if (selected_vm.BereichSozialstrukturVM.Geburtsdatum.HasValue)
|
||||
{
|
||||
selected_vm.BereichSozialstrukturVM.Geburtsdatum = Customer.DateOfBirth;
|
||||
selected_vm.BereichBundVM.AlterAmStichtag = Utils.GetAge(Customer.DateOfBirth.Value);
|
||||
}
|
||||
|
||||
if (Customer.IsMale)
|
||||
selected_vm.BereichBundVM.Geschlecht = Geschlecht.Mannlich;
|
||||
else if (Customer.IsFemale)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -20,11 +20,13 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
public bool PermissionWohneinheitManage { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Manage);
|
||||
|
||||
public bool PermissionWohneinheitGalleryView { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Gallery_View);
|
||||
public bool PermissionWohneinheitGalleryManage { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Gallery_Manage);
|
||||
|
||||
/// <summary>
|
||||
/// Designer
|
||||
/// </summary>
|
||||
public WohneinheitListVM() : base(null)
|
||||
{
|
||||
|
||||
VMList.Add(new WohneinheitVM());
|
||||
}
|
||||
|
||||
public WohneinheitListVM(List<WohneinheitDC> pDCs) : base(pDCs)
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
_AlterAmStichtag = 1000;
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichBundVM(CustomerWohnhilfeBereichBundDC dc) : base(dc, dc.Oid == null)
|
||||
public CustomerWohnhilfeBereichBundVM(CustomerWohnhilfeBereichBundDC dc, bool isNew) : base(dc, isNew)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
_Uberschuldung = WohnhilfeBoolData.Ja;
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichEinkommenUndArbeitVM(CustomerWohnhilfeBereichEinkommenUndArbeitDC dc) : base(dc, dc.Oid == null)
|
||||
public CustomerWohnhilfeBereichEinkommenUndArbeitVM(CustomerWohnhilfeBereichEinkommenUndArbeitDC dc, bool isNew) : base(dc, isNew)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -9,6 +9,8 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
{
|
||||
public class CustomerWohnhilfeBereichSozialeKontakteVM : AbstractDCMapperVM<CustomerWohnhilfeBereichSozialeKontakteDC>
|
||||
{
|
||||
public bool PermissionCustomerWohnhilfeManage { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_Wohnhilfe_Manage);
|
||||
|
||||
private bool _CanEditBeginnKontakt;
|
||||
private bool _CanEditEndeKontakt;
|
||||
|
||||
@@ -39,9 +41,10 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
_EndeKrankenversicherung = Krankenversicherung.Nein;
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichSozialeKontakteVM(CustomerWohnhilfeBereichSozialeKontakteDC dc) : base(dc, dc.Oid == null)
|
||||
public CustomerWohnhilfeBereichSozialeKontakteVM(CustomerWohnhilfeBereichSozialeKontakteDC dc, bool isNew) : base(dc, isNew)
|
||||
{
|
||||
|
||||
_CanEditBeginnKontakt &= PermissionCustomerWohnhilfeManage;
|
||||
_CanEditEndeKontakt &= PermissionCustomerWohnhilfeManage;
|
||||
}
|
||||
|
||||
public IEnumerable<WohnhilfeBoolData> WohnhilfeBoolDataTypes => Utils.GetAllEnumValues<WohnhilfeBoolData>();
|
||||
@@ -57,6 +60,9 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
if (!AreDifferent(_CanEditBeginnKontakt, value))
|
||||
return;
|
||||
|
||||
if (!PermissionCustomerWohnhilfeManage)
|
||||
return;
|
||||
|
||||
_CanEditBeginnKontakt = value;
|
||||
|
||||
//if (!value)
|
||||
@@ -81,6 +87,9 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
if (!AreDifferent(_CanEditEndeKontakt, value))
|
||||
return;
|
||||
|
||||
if (!PermissionCustomerWohnhilfeManage)
|
||||
return;
|
||||
|
||||
_CanEditEndeKontakt = value;
|
||||
|
||||
//if (!value)
|
||||
@@ -388,6 +397,9 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
_BeginnKontaktArzt = pDataContract.BeginnKontaktArzt;
|
||||
_EndeKontaktArzt = pDataContract.EndeKontaktArzt;
|
||||
_VorlageSchwerbehindertenausweises = pDataContract.VorlageSchwerbehindertenausweises;
|
||||
|
||||
_CanEditBeginnKontakt = pDataContract.BeginnSozialeKontakte == WohnhilfeBoolData.Ja;
|
||||
_CanEditEndeKontakt = pDataContract.EndeSozialeKontakte == WohnhilfeBoolData.Ja;
|
||||
}
|
||||
|
||||
protected override CustomerWohnhilfeBereichSozialeKontakteDC MapToDataContract(CustomerWohnhilfeBereichSozialeKontakteDC pDataContract, bool doCommit)
|
||||
|
||||
@@ -30,10 +30,10 @@ namespace BeWo.ViewModel.Wohnhilfe
|
||||
{
|
||||
_Bundesland = BS.Shared.DataContracts.Wohnhilfe.Bundesland.Bayern;
|
||||
_IsWohnungslosenhilfe = true;
|
||||
_ArtDesHilfeangebots = BS.Shared.DataContracts.Wohnhilfe.ArtDesHilfeangebots.vollstationär;
|
||||
_ArtDesHilfeangebots = ArtDesHilfeangebots.vollstationär;
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichSozialstrukturVM(CustomerWohnhilfeBereichSozialstrukturDC dc) : base(dc, dc.Oid == null)
|
||||
public CustomerWohnhilfeBereichSozialstrukturVM(CustomerWohnhilfeBereichSozialstrukturDC dc, bool isNew) : base(dc, isNew)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
|
||||
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
|
||||
|
||||
@@ -206,11 +206,13 @@
|
||||
<Compile Include="Access\UserDAO.cs" />
|
||||
<Compile Include="ASPHibernateSessionManager.cs" />
|
||||
<Compile Include="DefaultHibernateSessionManager.cs" />
|
||||
<Compile Include="Entities\AiSettings.cs" />
|
||||
<Compile Include="Entities\CustomerVermittlungArbeit.cs" />
|
||||
<Compile Include="Entities\CustomerWohnhilfe.cs" />
|
||||
<Compile Include="Entities\TwoFactorCode.cs" />
|
||||
<Compile Include="Entities\AbwesenheitsInformationPrint.cs" />
|
||||
<Compile Include="Entities\AddressHistory.cs" />
|
||||
<Compile Include="Entities\Bargeldtransaktionshistory.cs" />
|
||||
<Compile Include="Entities\CustomerFalldaten.cs" />
|
||||
<Compile Include="Entities\ErrorMessage.cs" />
|
||||
<Compile Include="Entities\AddressRoute.cs" />
|
||||
<Compile Include="Entities\ConfirmationReceiptSignature.cs" />
|
||||
@@ -769,10 +771,14 @@
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Mappings\GkvTransferProtokoll.hbm.xml" />
|
||||
<EmbeddedResource Include="Mappings\CustomerFalldaten.hbm.xml">
|
||||
<EmbeddedResource Include="Mappings\CustomerVermittlungArbeit.hbm.xml">
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Mappings\CustomerWohnhilfe.hbm.xml">
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Mappings\TwoFactorCode.hbm.xml" />
|
||||
<EmbeddedResource Include="Mappings\AiSettings.hbm.xml" />
|
||||
<Content Include="Mappings\Timesheet2Mail.hbm.xml" />
|
||||
<EmbeddedResource Include="Mappings\ContactHistory.hbm.xml">
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
19
Data/Entities/AiSettings.cs
Normal file
19
Data/Entities/AiSettings.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
public class AiSettings : BeWoEntityBase
|
||||
{
|
||||
|
||||
public AiSettings()
|
||||
{
|
||||
this._Tid = TableID.AbsenceReason;
|
||||
}
|
||||
|
||||
public virtual int SettingsType { get; set; }
|
||||
|
||||
public virtual string Settings { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -8,115 +8,117 @@ namespace BeWo.Data.Entities
|
||||
{
|
||||
public class Customer : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_AbsenceTimes = "AbsenceTimes";
|
||||
public static string PropertyName_Ansprechpartner = "Ansprechpartner";
|
||||
public static string PropertyName_AssessmentSheetCategoryList = "AssessmentSheetCategoryList";
|
||||
public static string PropertyName_Childs = "Childs";
|
||||
public static string PropertyName_Customer2CostBearerList = "Customer2CostBearerList";
|
||||
public static string PropertyName_Customer2PersonList = "Customer2PersonList";
|
||||
public static string PropertyName_Customer2OrganisationList = "Customer2OrganisationList";
|
||||
public static string PropertyName_DebitorNumber = "DebitorNumber";
|
||||
public static string PropertyName_CostCenter = "CostCenter";
|
||||
public static string PropertyName_Diagnosis = "Diagnosis";
|
||||
public static string PropertyName_Diagnosis2CustomerList = "Diagnosis2CustomerList";
|
||||
public static string PropertyName_Employee2CustomerList = "Employee2CustomerList";
|
||||
public static string PropertyName_FamilyData = "FamilyData";
|
||||
public static string PropertyName_Team2CustomerList = "Team2CustomerList";
|
||||
public static string PropertyName_EquityContribution = "EquityContribution";
|
||||
public static string PropertyName_ICD10Diagnosis = "ICD10Diagnosis";
|
||||
public static string PropertyName_IsAdvisedOrAttended = "IsAdvisedOrAttended";
|
||||
public static string PropertyName_Medication = "Medication";
|
||||
public static string PropertyName_Jugendamt = "Jugendamt";
|
||||
public static string PropertyName_Person = "Person";
|
||||
public static string PropertyName_PlacementList = "PlacementList";
|
||||
public static string PropertyName_ReferenceNumber = "ReferenceNumber";
|
||||
public static string PropertyName_ServiceRecordList = "ServiceRecordList";
|
||||
public static string PropertyName_SupportConcepts = "SupportConcepts";
|
||||
public static string PropertyName_TerminationDate = "TerminationDate";
|
||||
public static string PropertyName_TerminationReason = "TerminationReason";
|
||||
public static string PropertyName_ValueList = "ValueList";
|
||||
public static string PropertyName_VarFieldValueList = "VarFieldValueList";
|
||||
public static string PropertyName_Medikamentenverordnungslisten = "Medikamentenverordnungslisten";
|
||||
public static string PropertyName_AssistanceBegin = "AssistanceBegin";
|
||||
public static string PropertyName_AusstVersAmt = "AusstVersAmt";
|
||||
public static string PropertyName_AusweisGueltigVon = "AusweisGueltigVon";
|
||||
public static string PropertyName_AusweisGueltigBis = "AusweisGueltigBis";
|
||||
public static string PropertyName_AusweisUnbefristetGueltig = "AusweisUnbefristetGueltig";
|
||||
public static string PropertyName_AusweisAktenzeichen = "AusweisAktenzeichen";
|
||||
public static string PropertyName_BeiblattGueltigBis = "BeiblattGueltigBis";
|
||||
public static string PropertyName_GradDerBehinderung = "GradDerBehinderung";
|
||||
public static string PropertyName_MerkzeichenListe = "MerkzeichenListe";
|
||||
public static string PropertyName_BehinderungsartenListe = "BehinderungsartenListe";
|
||||
public static string PropertyName_CustomerAlias = "CustomerAlias";
|
||||
public static string PropertyName_Pflegegrad = "Pflegegrad";
|
||||
public static string PropertyName_IsMigrant = "IsMigrant";
|
||||
public static string PropertyName_Nationalitaet = "Nationalitaet";
|
||||
public static string PropertyName_AufenthaltsStatus = "AufenthaltsStatus";
|
||||
public static string PropertyName_VertretungGewuenscht = "VertretungGewuenscht";
|
||||
public static string PropertyName_AbWelchemKrankheitsTag = "AbWelchemKrankheitsTag ";
|
||||
public static string PropertyName_VertretungDringendErforderlich = "VertretungGewuenscht";
|
||||
public static string PropertyName_Arbeitszeit = "Arbeitszeit";
|
||||
public static string PropertyName_HealthInsurance = "Krankenkasse";
|
||||
public static string PropertyName_InsuranceNumber = "InsuranceNumber";
|
||||
public static string PropertyName_VersichertenStatus = "Versichertenstatus";
|
||||
public static string PropertyName_AbsenceTimes = "AbsenceTimes";
|
||||
public static string PropertyName_Ansprechpartner = "Ansprechpartner";
|
||||
public static string PropertyName_AssessmentSheetCategoryList = "AssessmentSheetCategoryList";
|
||||
public static string PropertyName_Childs = "Childs";
|
||||
public static string PropertyName_Customer2CostBearerList = "Customer2CostBearerList";
|
||||
public static string PropertyName_Customer2PersonList = "Customer2PersonList";
|
||||
public static string PropertyName_Customer2OrganisationList = "Customer2OrganisationList";
|
||||
public static string PropertyName_DebitorNumber = "DebitorNumber";
|
||||
public static string PropertyName_CostCenter = "CostCenter";
|
||||
public static string PropertyName_Diagnosis = "Diagnosis";
|
||||
public static string PropertyName_Diagnosis2CustomerList = "Diagnosis2CustomerList";
|
||||
public static string PropertyName_Employee2CustomerList = "Employee2CustomerList";
|
||||
public static string PropertyName_FamilyData = "FamilyData";
|
||||
public static string PropertyName_Team2CustomerList = "Team2CustomerList";
|
||||
public static string PropertyName_EquityContribution = "EquityContribution";
|
||||
public static string PropertyName_ICD10Diagnosis = "ICD10Diagnosis";
|
||||
public static string PropertyName_IsAdvisedOrAttended = "IsAdvisedOrAttended";
|
||||
public static string PropertyName_Medication = "Medication";
|
||||
public static string PropertyName_Jugendamt = "Jugendamt";
|
||||
public static string PropertyName_Person = "Person";
|
||||
public static string PropertyName_PlacementList = "PlacementList";
|
||||
public static string PropertyName_ReferenceNumber = "ReferenceNumber";
|
||||
public static string PropertyName_ServiceRecordList = "ServiceRecordList";
|
||||
public static string PropertyName_SupportConcepts = "SupportConcepts";
|
||||
public static string PropertyName_TerminationDate = "TerminationDate";
|
||||
public static string PropertyName_TerminationReason = "TerminationReason";
|
||||
public static string PropertyName_ValueList = "ValueList";
|
||||
public static string PropertyName_VarFieldValueList = "VarFieldValueList";
|
||||
public static string PropertyName_Medikamentenverordnungslisten = "Medikamentenverordnungslisten";
|
||||
public static string PropertyName_AssistanceBegin = "AssistanceBegin";
|
||||
public static string PropertyName_AusstVersAmt = "AusstVersAmt";
|
||||
public static string PropertyName_AusweisGueltigVon = "AusweisGueltigVon";
|
||||
public static string PropertyName_AusweisGueltigBis = "AusweisGueltigBis";
|
||||
public static string PropertyName_AusweisUnbefristetGueltig = "AusweisUnbefristetGueltig";
|
||||
public static string PropertyName_AusweisAktenzeichen = "AusweisAktenzeichen";
|
||||
public static string PropertyName_BeiblattGueltigBis = "BeiblattGueltigBis";
|
||||
public static string PropertyName_GradDerBehinderung = "GradDerBehinderung";
|
||||
public static string PropertyName_MerkzeichenListe = "MerkzeichenListe";
|
||||
public static string PropertyName_BehinderungsartenListe = "BehinderungsartenListe";
|
||||
public static string PropertyName_CustomerAlias = "CustomerAlias";
|
||||
public static string PropertyName_Pflegegrad = "Pflegegrad";
|
||||
public static string PropertyName_IsMigrant = "IsMigrant";
|
||||
public static string PropertyName_Nationalitaet = "Nationalitaet";
|
||||
public static string PropertyName_AufenthaltsStatus = "AufenthaltsStatus";
|
||||
public static string PropertyName_VertretungGewuenscht = "VertretungGewuenscht";
|
||||
public static string PropertyName_AbWelchemKrankheitsTag = "AbWelchemKrankheitsTag ";
|
||||
public static string PropertyName_VertretungDringendErforderlich = "VertretungGewuenscht";
|
||||
public static string PropertyName_Arbeitszeit = "Arbeitszeit";
|
||||
public static string PropertyName_HealthInsurance = "Krankenkasse";
|
||||
public static string PropertyName_InsuranceNumber = "InsuranceNumber";
|
||||
public static string PropertyName_VersichertenStatus = "Versichertenstatus";
|
||||
|
||||
private IList<AbsenceTime> _AbsenceTimes;
|
||||
private Person _Ansprechpartner;
|
||||
private IList<AssessmentSheetCategory> _AssessmentSheetCategoryList;
|
||||
private string _Childs;
|
||||
private string _CostCenter;
|
||||
private IList<Customer2CostBearer> _Customer2CostBearerList;
|
||||
private IList<Customer2Organisation> _Customer2OrganisationList;
|
||||
private IList<Customer2Person> _Customer2PersonList;
|
||||
private string _DebitorNumber;
|
||||
private string _Diagnosis;
|
||||
private IList<Diagnosis2Customer> _Diagnosis2CustomerList;
|
||||
private IList<Employee2Customer> _Employee2CustomerList;
|
||||
private string _Environment;
|
||||
private decimal? _EquityContribution;
|
||||
private FamilyData _FamilyData;
|
||||
private string _ICD10Diagnosis;
|
||||
private bool? _IsAdvisedOrAttended;
|
||||
private Organisation _Jugendamt;
|
||||
private string _Medication;
|
||||
private IList<AbsenceTime> _AbsenceTimes;
|
||||
private Person _Ansprechpartner;
|
||||
private IList<AssessmentSheetCategory> _AssessmentSheetCategoryList;
|
||||
private string _Childs;
|
||||
private string _CostCenter;
|
||||
private IList<Customer2CostBearer> _Customer2CostBearerList;
|
||||
private IList<Customer2Organisation> _Customer2OrganisationList;
|
||||
private IList<Customer2Person> _Customer2PersonList;
|
||||
private string _DebitorNumber;
|
||||
private string _Diagnosis;
|
||||
private IList<Diagnosis2Customer> _Diagnosis2CustomerList;
|
||||
private IList<Employee2Customer> _Employee2CustomerList;
|
||||
private string _Environment;
|
||||
private decimal? _EquityContribution;
|
||||
private FamilyData _FamilyData;
|
||||
private string _ICD10Diagnosis;
|
||||
private bool? _IsAdvisedOrAttended;
|
||||
private Organisation _Jugendamt;
|
||||
private string _Medication;
|
||||
private IList<Medikamentenverordnungsliste> _Medikamentenverordnungslisten;
|
||||
private Person _Person;
|
||||
private IList<Placement> _PlacementList;
|
||||
private string _ReferenceNumber;
|
||||
private IList<ServiceRecord> _ServiceRecordList;
|
||||
private IList<SupportConcept> _SupportConcepts;
|
||||
private IList<Team2Customer> _Team2CustomerList;
|
||||
private DateTime? _TerminationDate;
|
||||
private ValueListEntry _TerminationReason;
|
||||
private IList<ValueListEntry2Object> _ValueList;
|
||||
private IList<VarFieldValue> _VarFieldValueList;
|
||||
private DateTime? _AssistanceBegin;
|
||||
private string _AusstVersAmt;
|
||||
private DateTime? _AusweisGueltigVon;
|
||||
private DateTime? _AusweisGueltigBis;
|
||||
private bool? _AusweisUnbefristetGueltig;
|
||||
private string _AusweisAktenzeichen;
|
||||
private DateTime? _BeiblattGueltigBis;
|
||||
private string _GradDerBehinderung;
|
||||
private IList<Merkzeichen> _MerkzeichenListe;
|
||||
private IList<Behinderungsart> _BehinderungsartenListe;
|
||||
private string _CustomerAlias;
|
||||
private Pflegegrad? _Pflegegrad;
|
||||
private bool _VertretungGewuenscht;
|
||||
private int _AbWelchemKrankheitsTag;
|
||||
private bool _VertretungDringendErforderlich;
|
||||
private IList<Arbeitszeit> _Arbeitszeit;
|
||||
private SubstitutionNeed _SubstitutionNeed;
|
||||
private string _HealthInsurance;
|
||||
private string _InsuranceNumber;
|
||||
private string _VersichertenStatus;
|
||||
private Person _Person;
|
||||
private IList<Placement> _PlacementList;
|
||||
private string _ReferenceNumber;
|
||||
private IList<ServiceRecord> _ServiceRecordList;
|
||||
private IList<SupportConcept> _SupportConcepts;
|
||||
private IList<Team2Customer> _Team2CustomerList;
|
||||
private DateTime? _TerminationDate;
|
||||
private ValueListEntry _TerminationReason;
|
||||
private IList<ValueListEntry2Object> _ValueList;
|
||||
private IList<VarFieldValue> _VarFieldValueList;
|
||||
private DateTime? _AssistanceBegin;
|
||||
private string _AusstVersAmt;
|
||||
private DateTime? _AusweisGueltigVon;
|
||||
private DateTime? _AusweisGueltigBis;
|
||||
private bool? _AusweisUnbefristetGueltig;
|
||||
private string _AusweisAktenzeichen;
|
||||
private DateTime? _BeiblattGueltigBis;
|
||||
private string _GradDerBehinderung;
|
||||
private IList<Merkzeichen> _MerkzeichenListe;
|
||||
private IList<Behinderungsart> _BehinderungsartenListe;
|
||||
private string _CustomerAlias;
|
||||
private Pflegegrad? _Pflegegrad;
|
||||
private bool _VertretungGewuenscht;
|
||||
private int _AbWelchemKrankheitsTag;
|
||||
private bool _VertretungDringendErforderlich;
|
||||
private IList<Arbeitszeit> _Arbeitszeit;
|
||||
private SubstitutionNeed _SubstitutionNeed;
|
||||
private string _HealthInsurance;
|
||||
private string _InsuranceNumber;
|
||||
private string _VersichertenStatus;
|
||||
private IList<CustomerVermittlungArbeit> _CustomerVermittlungArbeiten;
|
||||
private IList<CustomerWohnhilfe> _CustomerWohnhilfen;
|
||||
|
||||
public Customer()
|
||||
public Customer()
|
||||
{
|
||||
_Tid = TableID.Customer;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public virtual int? DistanceInMeter { get; set; }
|
||||
|
||||
public virtual IList<AbsenceTime> AbsenceTimes
|
||||
@@ -284,16 +286,16 @@ namespace BeWo.Data.Entities
|
||||
}
|
||||
}
|
||||
|
||||
public virtual Pflegegrad? Pflegegrad
|
||||
{
|
||||
get { return _Pflegegrad; }
|
||||
public virtual Pflegegrad? Pflegegrad
|
||||
{
|
||||
get { return _Pflegegrad; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_Pflegegrad, value))
|
||||
_Pflegegrad = value;
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_Pflegegrad, value))
|
||||
_Pflegegrad = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual IList<Team2Customer> Team2CustomerList
|
||||
{
|
||||
@@ -317,7 +319,7 @@ namespace BeWo.Data.Entities
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public virtual string ICD10Diagnosis
|
||||
{
|
||||
get { return _ICD10Diagnosis; }
|
||||
@@ -470,18 +472,18 @@ namespace BeWo.Data.Entities
|
||||
}
|
||||
}
|
||||
|
||||
public virtual DateTime? AssistanceBegin
|
||||
{
|
||||
get { return _AssistanceBegin; }
|
||||
public virtual DateTime? AssistanceBegin
|
||||
{
|
||||
get { return _AssistanceBegin; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AssistanceBegin, value))
|
||||
{
|
||||
_AssistanceBegin = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AssistanceBegin, value))
|
||||
{
|
||||
_AssistanceBegin = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual ValueListEntry TerminationReason
|
||||
{
|
||||
@@ -541,58 +543,58 @@ namespace BeWo.Data.Entities
|
||||
|
||||
return lResult;
|
||||
}
|
||||
|
||||
public virtual string AusstVersAmt
|
||||
{
|
||||
get { return _AusstVersAmt; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusstVersAmt, value))
|
||||
{
|
||||
_AusstVersAmt = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
public virtual string AusstVersAmt
|
||||
{
|
||||
get { return _AusstVersAmt; }
|
||||
|
||||
public virtual DateTime? AusweisGueltigVon
|
||||
{
|
||||
get { return _AusweisGueltigVon; }
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusstVersAmt, value))
|
||||
{
|
||||
_AusstVersAmt = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisGueltigVon, value))
|
||||
{
|
||||
_AusweisGueltigVon = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
public virtual DateTime? AusweisGueltigVon
|
||||
{
|
||||
get { return _AusweisGueltigVon; }
|
||||
|
||||
public virtual DateTime? AusweisGueltigBis
|
||||
{
|
||||
get { return _AusweisGueltigBis; }
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisGueltigVon, value))
|
||||
{
|
||||
_AusweisGueltigVon = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisGueltigBis, value))
|
||||
{
|
||||
_AusweisGueltigBis = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
public virtual DateTime? AusweisGueltigBis
|
||||
{
|
||||
get { return _AusweisGueltigBis; }
|
||||
|
||||
public virtual bool? AusweisUnbefristetGueltig
|
||||
{
|
||||
get { return _AusweisUnbefristetGueltig; }
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisGueltigBis, value))
|
||||
{
|
||||
_AusweisGueltigBis = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisUnbefristetGueltig, value))
|
||||
{
|
||||
_AusweisUnbefristetGueltig = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
public virtual bool? AusweisUnbefristetGueltig
|
||||
{
|
||||
get { return _AusweisUnbefristetGueltig; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AusweisUnbefristetGueltig, value))
|
||||
{
|
||||
_AusweisUnbefristetGueltig = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string AusweisAktenzeichen
|
||||
{
|
||||
@@ -608,134 +610,134 @@ namespace BeWo.Data.Entities
|
||||
}
|
||||
|
||||
public virtual DateTime? BeiblattGueltigBis
|
||||
{
|
||||
get { return _BeiblattGueltigBis; }
|
||||
{
|
||||
get { return _BeiblattGueltigBis; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_BeiblattGueltigBis, value))
|
||||
{
|
||||
_BeiblattGueltigBis = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_BeiblattGueltigBis, value))
|
||||
{
|
||||
_BeiblattGueltigBis = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string GradDerBehinderung
|
||||
{
|
||||
get { return _GradDerBehinderung; }
|
||||
public virtual string GradDerBehinderung
|
||||
{
|
||||
get { return _GradDerBehinderung; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_GradDerBehinderung, value))
|
||||
{
|
||||
_GradDerBehinderung = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_GradDerBehinderung, value))
|
||||
{
|
||||
_GradDerBehinderung = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual IList<Behinderungsart> BehinderungsartenListe
|
||||
{
|
||||
get { return _BehinderungsartenListe; }
|
||||
public virtual IList<Behinderungsart> BehinderungsartenListe
|
||||
{
|
||||
get { return _BehinderungsartenListe; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_BehinderungsartenListe, value))
|
||||
{
|
||||
_BehinderungsartenListe = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_BehinderungsartenListe, value))
|
||||
{
|
||||
_BehinderungsartenListe = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual IList<Merkzeichen> MerkzeichenListe
|
||||
{
|
||||
get { return _MerkzeichenListe; }
|
||||
public virtual IList<Merkzeichen> MerkzeichenListe
|
||||
{
|
||||
get { return _MerkzeichenListe; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_MerkzeichenListe, value))
|
||||
{
|
||||
_MerkzeichenListe = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_MerkzeichenListe, value))
|
||||
{
|
||||
_MerkzeichenListe = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string CustomerAlias
|
||||
{
|
||||
get { return _CustomerAlias; }
|
||||
public virtual string CustomerAlias
|
||||
{
|
||||
get { return _CustomerAlias; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_CustomerAlias, value))
|
||||
{
|
||||
_CustomerAlias = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_CustomerAlias, value))
|
||||
{
|
||||
_CustomerAlias = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool VertretungGewuenscht
|
||||
{
|
||||
get { return _VertretungGewuenscht; }
|
||||
public virtual bool VertretungGewuenscht
|
||||
{
|
||||
get { return _VertretungGewuenscht; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_VertretungGewuenscht, value))
|
||||
{
|
||||
_VertretungGewuenscht = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_VertretungGewuenscht, value))
|
||||
{
|
||||
_VertretungGewuenscht = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool VertretungDringendErforderlich
|
||||
{
|
||||
get { return _VertretungDringendErforderlich; }
|
||||
public virtual bool VertretungDringendErforderlich
|
||||
{
|
||||
get { return _VertretungDringendErforderlich; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_VertretungDringendErforderlich, value))
|
||||
{
|
||||
_VertretungDringendErforderlich = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_VertretungDringendErforderlich, value))
|
||||
{
|
||||
_VertretungDringendErforderlich = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual int AbWelchemKrankheitsTag
|
||||
{
|
||||
get { return _AbWelchemKrankheitsTag;}
|
||||
public virtual int AbWelchemKrankheitsTag
|
||||
{
|
||||
get { return _AbWelchemKrankheitsTag; }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AbWelchemKrankheitsTag, value))
|
||||
{
|
||||
_AbWelchemKrankheitsTag = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_AbWelchemKrankheitsTag, value))
|
||||
{
|
||||
_AbWelchemKrankheitsTag = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual SubstitutionNeed SubstitutionNeed
|
||||
{
|
||||
get => _SubstitutionNeed;
|
||||
public virtual SubstitutionNeed SubstitutionNeed
|
||||
{
|
||||
get => _SubstitutionNeed;
|
||||
|
||||
set
|
||||
{
|
||||
if(AreDifferent(_SubstitutionNeed, value))
|
||||
{
|
||||
_SubstitutionNeed = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_SubstitutionNeed, value))
|
||||
{
|
||||
_SubstitutionNeed = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual IList<Arbeitszeit> Arbeitszeiten
|
||||
{
|
||||
get { return _Arbeitszeit ?? (_Arbeitszeit = new List<Arbeitszeit>()); }
|
||||
public virtual IList<Arbeitszeit> Arbeitszeiten
|
||||
{
|
||||
get { return _Arbeitszeit ?? (_Arbeitszeit = new List<Arbeitszeit>()); }
|
||||
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_Arbeitszeit, value))
|
||||
{
|
||||
_Arbeitszeit = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_Arbeitszeit, value))
|
||||
{
|
||||
_Arbeitszeit = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string HealthInsurance
|
||||
{
|
||||
@@ -777,35 +779,44 @@ namespace BeWo.Data.Entities
|
||||
}
|
||||
|
||||
public virtual bool Pflege { get; set; }
|
||||
public virtual bool Toilettengang { get; set; }
|
||||
public virtual bool Aggressiv { get; set; }
|
||||
public virtual bool Hygienebelehrung { get; set; }
|
||||
public virtual string Schutzstufe { get; set; }
|
||||
public virtual bool Toilettengang { get; set; }
|
||||
public virtual bool Aggressiv { get; set; }
|
||||
public virtual bool Hygienebelehrung { get; set; }
|
||||
public virtual string Schutzstufe { get; set; }
|
||||
|
||||
public virtual string Uebernahmeort { get; set; }
|
||||
public virtual string Verhalten { get; set; }
|
||||
public virtual string Betreuungsbedarf { get; set; }
|
||||
public virtual string BemerkungenSbd { get; set; }
|
||||
public virtual string TeamSimpleString
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Team2CustomerList == null)
|
||||
return null;
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Team2CustomerList == null)
|
||||
return null;
|
||||
|
||||
string name = "";
|
||||
string name = "";
|
||||
|
||||
foreach (var t2c in Team2CustomerList)
|
||||
{
|
||||
if (name.Length > 0)
|
||||
name += ", ";
|
||||
name = t2c.Team.Name;
|
||||
}
|
||||
foreach (var t2c in Team2CustomerList)
|
||||
{
|
||||
if (name.Length > 0)
|
||||
name += ", ";
|
||||
name = t2c.Team.Name;
|
||||
}
|
||||
|
||||
return name;
|
||||
}
|
||||
}
|
||||
return name;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual CustomerFalldaten CustomerFalldaten { get; set; }
|
||||
public virtual IList<CustomerVermittlungArbeit> CustomerVermittlungArbeiten
|
||||
{
|
||||
get => _CustomerVermittlungArbeiten ?? (_CustomerVermittlungArbeiten = new List<CustomerVermittlungArbeit>());
|
||||
set => _CustomerVermittlungArbeiten = value;
|
||||
}
|
||||
public virtual IList<CustomerWohnhilfe> CustomerWohnhilfen
|
||||
{
|
||||
get => _CustomerWohnhilfen ?? (_CustomerWohnhilfen = new List<CustomerWohnhilfe>());
|
||||
set => _CustomerWohnhilfen = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,460 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
public class CustomerFalldaten : BeWoEntityBase
|
||||
{
|
||||
private string _EigenesAktenzeichen;
|
||||
private DateTime? _Auftragseingang;
|
||||
private ValueListEntry _Auftragsherkunft;
|
||||
private ValueListEntry _Vermittlungsgrundlage;
|
||||
private decimal? _Tagessatze;
|
||||
private decimal? _Tagessatzhohe;
|
||||
private decimal? _HoheDerGeldstrafe;
|
||||
private decimal? _ZuLeistendeArbeitsstunden;
|
||||
private string _Hinweis;
|
||||
private DateTime? _Termin;
|
||||
private FalldatenBearbeitungsstatus? _FalldatenBearbeitungsstatus;
|
||||
private string _Auftragsruckgabe;
|
||||
private string _Verlauf;
|
||||
private decimal? _AbgeleisteteStunden;
|
||||
private decimal? _ErsparteHafttage;
|
||||
private decimal? _GeleisteteRatenzahlung;
|
||||
private string _Bemerkung;
|
||||
private decimal? _GeleisteteEinmalzahlung;
|
||||
private bool _GrundArbeitsunfahig;
|
||||
private bool _GrundSuchtproblem;
|
||||
private bool _GrundPsychischeProbleme;
|
||||
private bool _GrundKeineMotivation;
|
||||
private bool _GrundInHaft;
|
||||
private bool _GrundUnbekannt;
|
||||
private bool _GrundKeinKontakt;
|
||||
private bool _GrundNichtAngetreten;
|
||||
private bool _GrundAbbruchDerTatigkeit;
|
||||
private bool _GrundWiderruf;
|
||||
private bool _Grund459StPO;
|
||||
private bool _GrundAusbleibenDerZahlung;
|
||||
private bool _BesonderheitMehrfacheBeauftragung;
|
||||
private bool _BesonderheitMehrfacheVermittlung;
|
||||
private bool _BesonderheitVermittlungAusHaft;
|
||||
private bool _BesonderheitDurchBGBWAufgesucht;
|
||||
|
||||
public CustomerFalldaten()
|
||||
{
|
||||
_Tid = TableID.CustomerFalldaten;
|
||||
}
|
||||
|
||||
public virtual string EigenesAktenzeichen
|
||||
{
|
||||
get { return _EigenesAktenzeichen; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EigenesAktenzeichen, value))
|
||||
return;
|
||||
|
||||
_EigenesAktenzeichen = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual DateTime? Auftragseingang
|
||||
{
|
||||
get { return _Auftragseingang; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Auftragseingang, value))
|
||||
return;
|
||||
|
||||
_Auftragseingang = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual ValueListEntry Auftragsherkunft
|
||||
{
|
||||
get { return _Auftragsherkunft; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Auftragsherkunft, value))
|
||||
return;
|
||||
|
||||
_Auftragsherkunft = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual ValueListEntry Vermittlungsgrundlage
|
||||
{
|
||||
get { return _Vermittlungsgrundlage; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Vermittlungsgrundlage, value))
|
||||
return;
|
||||
|
||||
_Vermittlungsgrundlage = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? Tagessatze
|
||||
{
|
||||
get { return _Tagessatze; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Tagessatze, value))
|
||||
return;
|
||||
|
||||
_Tagessatze = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? Tagessatzhohe
|
||||
{
|
||||
get { return _Tagessatzhohe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Tagessatzhohe, value))
|
||||
return;
|
||||
|
||||
_Tagessatzhohe = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? HoheDerGeldstrafe
|
||||
{
|
||||
get { return _HoheDerGeldstrafe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_HoheDerGeldstrafe, value))
|
||||
return;
|
||||
|
||||
_HoheDerGeldstrafe = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? ZuLeistendeArbeitsstunden
|
||||
{
|
||||
get { return _ZuLeistendeArbeitsstunden; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_ZuLeistendeArbeitsstunden, value))
|
||||
return;
|
||||
|
||||
_ZuLeistendeArbeitsstunden = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string Hinweis
|
||||
{
|
||||
get { return _Hinweis; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Hinweis, value))
|
||||
return;
|
||||
|
||||
_Hinweis = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual DateTime? Termin
|
||||
{
|
||||
get { return _Termin; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Termin, value))
|
||||
return;
|
||||
|
||||
_Termin = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual FalldatenBearbeitungsstatus? FalldatenBearbeitungsstatus
|
||||
{
|
||||
get { return _FalldatenBearbeitungsstatus; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_FalldatenBearbeitungsstatus, value))
|
||||
return;
|
||||
|
||||
_FalldatenBearbeitungsstatus = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string Auftragsruckgabe
|
||||
{
|
||||
get { return _Auftragsruckgabe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Auftragsruckgabe, value))
|
||||
return;
|
||||
|
||||
_Auftragsruckgabe = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string Verlauf
|
||||
{
|
||||
get { return _Verlauf; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Verlauf, value))
|
||||
return;
|
||||
|
||||
_Verlauf = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? AbgeleisteteStunden
|
||||
{
|
||||
get { return _AbgeleisteteStunden; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_AbgeleisteteStunden, value))
|
||||
return;
|
||||
|
||||
_AbgeleisteteStunden = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? ErsparteHafttage
|
||||
{
|
||||
get { return _ErsparteHafttage; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_ErsparteHafttage, value))
|
||||
return;
|
||||
|
||||
_ErsparteHafttage = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? GeleisteteRatenzahlung
|
||||
{
|
||||
get { return _GeleisteteRatenzahlung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GeleisteteRatenzahlung, value))
|
||||
return;
|
||||
|
||||
_GeleisteteRatenzahlung = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string Bemerkung
|
||||
{
|
||||
get { return _Bemerkung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Bemerkung, value))
|
||||
return;
|
||||
|
||||
_Bemerkung = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? GeleisteteEinmalzahlung
|
||||
{
|
||||
get { return _GeleisteteEinmalzahlung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GeleisteteEinmalzahlung, value))
|
||||
return;
|
||||
|
||||
_GeleisteteEinmalzahlung = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundArbeitsunfahig
|
||||
{
|
||||
get { return _GrundArbeitsunfahig; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundArbeitsunfahig, value))
|
||||
return;
|
||||
|
||||
_GrundArbeitsunfahig = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundSuchtproblem
|
||||
{
|
||||
get { return _GrundSuchtproblem; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundSuchtproblem, value))
|
||||
return;
|
||||
|
||||
_GrundSuchtproblem = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundPsychischeProbleme
|
||||
{
|
||||
get { return _GrundPsychischeProbleme; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundPsychischeProbleme, value))
|
||||
return;
|
||||
|
||||
_GrundPsychischeProbleme = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundKeineMotivation
|
||||
{
|
||||
get { return _GrundKeineMotivation; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundKeineMotivation, value))
|
||||
return;
|
||||
|
||||
_GrundKeineMotivation = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundInHaft
|
||||
{
|
||||
get { return _GrundInHaft; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundInHaft, value))
|
||||
return;
|
||||
|
||||
_GrundInHaft = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundUnbekannt
|
||||
{
|
||||
get { return _GrundUnbekannt; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundUnbekannt, value))
|
||||
return;
|
||||
|
||||
_GrundUnbekannt = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundKeinKontakt
|
||||
{
|
||||
get { return _GrundKeinKontakt; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundKeinKontakt, value))
|
||||
return;
|
||||
|
||||
_GrundKeinKontakt = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundNichtAngetreten
|
||||
{
|
||||
get { return _GrundNichtAngetreten; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundNichtAngetreten, value))
|
||||
return;
|
||||
|
||||
_GrundNichtAngetreten = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundAbbruchDerTatigkeit
|
||||
{
|
||||
get { return _GrundAbbruchDerTatigkeit; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundAbbruchDerTatigkeit, value))
|
||||
return;
|
||||
|
||||
_GrundAbbruchDerTatigkeit = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundWiderruf
|
||||
{
|
||||
get { return _GrundWiderruf; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundWiderruf, value))
|
||||
return;
|
||||
|
||||
_GrundWiderruf = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool Grund459StPO
|
||||
{
|
||||
get { return _Grund459StPO; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Grund459StPO, value))
|
||||
return;
|
||||
|
||||
_Grund459StPO = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool GrundAusbleibenDerZahlung
|
||||
{
|
||||
get { return _GrundAusbleibenDerZahlung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_GrundAusbleibenDerZahlung, value))
|
||||
return;
|
||||
|
||||
_GrundAusbleibenDerZahlung = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool BesonderheitMehrfacheBeauftragung
|
||||
{
|
||||
get { return _BesonderheitMehrfacheBeauftragung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BesonderheitMehrfacheBeauftragung, value))
|
||||
return;
|
||||
|
||||
_BesonderheitMehrfacheBeauftragung = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool BesonderheitMehrfacheVermittlung
|
||||
{
|
||||
get { return _BesonderheitMehrfacheVermittlung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BesonderheitMehrfacheVermittlung, value))
|
||||
return;
|
||||
|
||||
_BesonderheitMehrfacheVermittlung = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool BesonderheitVermittlungAusHaft
|
||||
{
|
||||
get { return _BesonderheitVermittlungAusHaft; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BesonderheitVermittlungAusHaft, value))
|
||||
return;
|
||||
|
||||
_BesonderheitVermittlungAusHaft = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool BesonderheitDurchBGBWAufgesucht
|
||||
{
|
||||
get { return _BesonderheitDurchBGBWAufgesucht; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BesonderheitDurchBGBWAufgesucht, value))
|
||||
return;
|
||||
|
||||
_BesonderheitDurchBGBWAufgesucht = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
Data/Entities/CustomerVermittlungArbeit.cs
Normal file
56
Data/Entities/CustomerVermittlungArbeit.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
public class CustomerVermittlungArbeit : BeWoEntityBase
|
||||
{
|
||||
public CustomerVermittlungArbeit()
|
||||
{
|
||||
_Tid = TableID.CustomerGemeinnutzigeArbeit;
|
||||
}
|
||||
|
||||
public virtual Customer Customer { get; set; }
|
||||
|
||||
public virtual string EigenesAktenzeichen { get; set; }
|
||||
public virtual DateTime? Auftragseingang { get; set; }
|
||||
public virtual ValueListEntry Auftragsherkunft { get; set; }
|
||||
public virtual ValueListEntry Vermittlungsgrundlage { get; set; }
|
||||
public virtual decimal? Tagessatze { get; set; }
|
||||
public virtual decimal? Tagessatzhohe { get; set; }
|
||||
public virtual decimal? HoheDerGeldstrafe { get; set; }
|
||||
public virtual decimal? ZuLeistendeArbeitsstunden { get; set; }
|
||||
public virtual string Hinweis { get; set; }
|
||||
public virtual DateTime? Termin { get; set; }
|
||||
public virtual CustomerVermittlungBearbeitungsstatus? CustomerVermittlungBearbeitungsstatus { get; set; }
|
||||
public virtual string Auftragsruckgabe { get; set; }
|
||||
public virtual string Verlauf { get; set; }
|
||||
public virtual decimal? AbgeleisteteStunden { get; set; }
|
||||
public virtual decimal? ErsparteHafttage { get; set; }
|
||||
public virtual decimal? GeleisteteRatenzahlung { get; set; }
|
||||
public virtual string Bemerkung { get; set; }
|
||||
public virtual decimal? GeleisteteEinmalzahlung { get; set; }
|
||||
|
||||
public virtual bool GrundArbeitsunfahig { get; set; }
|
||||
public virtual bool GrundSuchtproblem { get; set; }
|
||||
public virtual bool GrundPsychischeProbleme { get; set; }
|
||||
public virtual bool GrundKeineMotivation { get; set; }
|
||||
public virtual bool GrundInHaft { get; set; }
|
||||
public virtual bool GrundUnbekannt { get; set; }
|
||||
public virtual bool GrundKeinKontakt { get; set; }
|
||||
public virtual bool GrundNichtAngetreten { get; set; }
|
||||
public virtual bool GrundAbbruchDerTatigkeit { get; set; }
|
||||
public virtual bool GrundWiderruf { get; set; }
|
||||
public virtual bool Grund459StPO { get; set; }
|
||||
public virtual bool GrundAusbleibenDerZahlung { get; set; }
|
||||
|
||||
public virtual bool BesonderheitMehrfacheBeauftragung { get; set; }
|
||||
public virtual bool BesonderheitMehrfacheVermittlung { get; set; }
|
||||
public virtual bool BesonderheitVermittlungAusHaft { get; set; }
|
||||
public virtual bool BesonderheitDurchBGBWAufgesucht { get; set; }
|
||||
}
|
||||
}
|
||||
131
Data/Entities/CustomerWohnhilfe.cs
Normal file
131
Data/Entities/CustomerWohnhilfe.cs
Normal file
@@ -0,0 +1,131 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
public class CustomerWohnhilfe : BeWoEntityBase
|
||||
{
|
||||
public CustomerWohnhilfe()
|
||||
{
|
||||
_Tid = TableID.CustomerWohnhilfe;
|
||||
}
|
||||
|
||||
public virtual Customer Customer { get; set; }
|
||||
|
||||
public virtual string Displayname { get; set; }
|
||||
|
||||
public virtual Verbandszugehorigkeit? Verbandszugehorigkeit { get; set; }
|
||||
|
||||
public virtual Geschlecht? Geschlecht { get; set; }
|
||||
|
||||
public virtual int? AlterAmStichtag { get; set; }
|
||||
|
||||
public virtual int? Haushaltsgrosse { get; set; }
|
||||
|
||||
public virtual string BerichtseinheitID { get; set; }
|
||||
|
||||
public virtual Unterbringungsart? Unterbringungsart { get; set; }
|
||||
|
||||
public virtual int? OrtDerEinrichtung { get; set; }
|
||||
|
||||
public virtual Angebot? Angebot { get; set; }
|
||||
|
||||
public virtual Einkommenssituation BeginnEinkommenssituation { get; set; }
|
||||
|
||||
public virtual Einkommenssituation EndeEinkommenssituation { get; set; }
|
||||
|
||||
public virtual AufstockungEinkommen BeginnAufstockungEinkommen { get; set; }
|
||||
|
||||
public virtual AufstockungEinkommen EndeAufstockungEinkommen { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData BeginnEigenesBankkonto { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData EndeEigenesBankkonto { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData Uberschuldung { get; set; }
|
||||
|
||||
public virtual Berufsabschluss Berufsabschluss { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData ErwerbsfahigkeitSinnSGB { get; set; }
|
||||
|
||||
public virtual Beschaftigungsstatus BeginnBeschaftigungsstatus { get; set; }
|
||||
|
||||
public virtual Beschaftigungsstatus EndeBeschaftigungsstatus { get; set; }
|
||||
|
||||
public virtual DauerArbeitslosigkeit DauerArbeitslosigkeit { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData BeginnSozialeKontakte { get; set; }
|
||||
|
||||
public virtual bool BeginnKontaktPartner { get; set; }
|
||||
|
||||
public virtual bool BeginnKontaktMindKinder { get; set; }
|
||||
|
||||
public virtual bool BeginnKontaktVolljahrKinderElternVerwandten { get; set; }
|
||||
|
||||
public virtual bool BeginnKontaktFreundenBekannten { get; set; }
|
||||
|
||||
public virtual bool BeginnKontaktSelbsthilfe { get; set; }
|
||||
|
||||
public virtual bool BeginnKontaktSonstige { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData EndeSozialeKontakte { get; set; }
|
||||
|
||||
public virtual bool EndeKontaktPartner { get; set; }
|
||||
|
||||
public virtual bool EndeKontaktMindKinder { get; set; }
|
||||
|
||||
public virtual bool EndeKontaktVolljahrKinderElternVerwandten { get; set; }
|
||||
|
||||
public virtual bool EndeKontaktFreundenBekannten { get; set; }
|
||||
|
||||
public virtual bool EndeKontaktSelbsthilfe { get; set; }
|
||||
|
||||
public virtual bool EndeKontaktSonstige { get; set; }
|
||||
|
||||
public virtual Krankenversicherung BeginnKrankenversicherung { get; set; }
|
||||
|
||||
public virtual Krankenversicherung EndeKrankenversicherung { get; set; }
|
||||
|
||||
public virtual KontaktArzt BeginnKontaktArzt { get; set; }
|
||||
|
||||
public virtual KontaktArzt EndeKontaktArzt { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData VorlageSchwerbehindertenausweises { get; set; }
|
||||
|
||||
public virtual Bundesland? Bundesland { get; set; }
|
||||
|
||||
public virtual bool IsWohnungslosenhilfe { get; set; }
|
||||
|
||||
public virtual ArtDesHilfeangebots ArtDesHilfeangebots { get; set; }
|
||||
|
||||
public virtual DateTime? Betreuungsbeginn { get; set; }
|
||||
|
||||
public virtual DateTime? Betreuungsende { get; set; }
|
||||
|
||||
public virtual int? BetreuungsdauerInTagen { get; set; }
|
||||
|
||||
public virtual ArtDerBeendigung ArtDerBeendigung { get; set; }
|
||||
|
||||
public virtual DateTime? Geburtsdatum { get; set; }
|
||||
|
||||
public virtual Geschlechtidentitat Geschlechtidentitat { get; set; }
|
||||
|
||||
public virtual Staatsangehorigkeit? Staatsangehorigkeit { get; set; }
|
||||
|
||||
public virtual Aufenthaltsstatus Aufenthaltsstatus { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData Migrationshintergrund { get; set; }
|
||||
|
||||
public virtual HochsterSchulabschluss HochsterSchulabschluss { get; set; }
|
||||
|
||||
public virtual Familienstand Familienstand { get; set; }
|
||||
|
||||
public virtual Haushaltsstruktur Haushaltsstruktur { get; set; }
|
||||
|
||||
public virtual WohnhilfeBoolData EigeneMindKinderAuserhalbHaushaltsstruktur { get; set; }
|
||||
}
|
||||
}
|
||||
20
Data/Mappings/AiSettings.hbm.xml
Normal file
20
Data/Mappings/AiSettings.hbm.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="BeWo.Data.Entities.AiSettings, BeWo.Data" table="AiSettings">
|
||||
<id name="Oid" column="Oid" type="Int64" unsaved-value="null">
|
||||
<generator class="identity" />
|
||||
</id>
|
||||
<version type="Int64" column="Version" name="Version" />
|
||||
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
||||
<property column="Notice" type="String" name="Notice" length="1024" />
|
||||
<property column="InsTs" type="DateTime" name="InsTs" />
|
||||
<property column="InsUser" type="String" name="InsUser" length="256" />
|
||||
<property column="UpdTs" type="DateTime" name="UpdTs" />
|
||||
<property column="UdpUser" type="String" name="UdpUser" length="256" />
|
||||
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
|
||||
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
|
||||
<property name="SettingsType" type="Int32" />
|
||||
<property name="Settings" type="String" />
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
@@ -136,6 +136,13 @@
|
||||
<key column="CustomerOid" />
|
||||
<one-to-many class="BeWo.Data.Entities.Arbeitszeit, BeWo.Data" />
|
||||
</bag>
|
||||
<many-to-one name="CustomerFalldaten" column="CustomerFalldatenOid" class="BeWo.Data.Entities.CustomerFalldaten,BeWo.Data" cascade="all-delete-orphan"/>
|
||||
<bag name="CustomerVermittlungArbeiten" table="customervermittlungarbeit" generic="true" cascade="all-delete-orphan" batch-size="250" inverse="true">
|
||||
<key column="CustomerOid" />
|
||||
<one-to-many class="BeWo.Data.Entities.CustomerVermittlungArbeit, BeWo.Data" />
|
||||
</bag>
|
||||
<bag name="CustomerWohnhilfen" table="customerwohnhilfe" generic="true" cascade="all-delete-orphan" batch-size="250" inverse="true">
|
||||
<key column="CustomerOid" />
|
||||
<one-to-many class="BeWo.Data.Entities.CustomerWohnhilfe, BeWo.Data" />
|
||||
</bag>
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
@@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="BeWo.Data.Entities.CustomerFalldaten,BeWo.Data" table="CustomerFalldaten">
|
||||
<id name="Oid" column="Oid" type="Int64" unsaved-value="null">
|
||||
<generator class="identity" />
|
||||
</id>
|
||||
<version type="Int64" column="Version" name="Version" />
|
||||
<property name="InsTs"/>
|
||||
<property name="InsUser"/>
|
||||
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
||||
<property name="UdpUser"/>
|
||||
<property name="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" />
|
||||
<property name="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" />
|
||||
<property name="Notice"/>
|
||||
<property name="EigenesAktenzeichen"/>
|
||||
<property name="Auftragseingang"/>
|
||||
<many-to-one name="Auftragsherkunft" column="AuftragsherkunftValueListEntryOid" class="BeWo.Data.Entities.ValueListEntry, BeWo.Data" cascade="none" />
|
||||
<many-to-one name="Vermittlungsgrundlage" column="VermittlungsgrundlageValueListEntryOid" class="BeWo.Data.Entities.ValueListEntry, BeWo.Data" cascade="none" />
|
||||
<property name="Tagessatze"/>
|
||||
<property name="Tagessatzhohe"/>
|
||||
<property name="HoheDerGeldstrafe"/>
|
||||
<property name="ZuLeistendeArbeitsstunden"/>
|
||||
<property name="Hinweis"/>
|
||||
<property name="Termin"/>
|
||||
<property column="FalldatenBearbeitungsstatus" type="BS.Shared.DataContracts.FalldatenBearbeitungsstatus, BS.Shared" name="FalldatenBearbeitungsstatus" />
|
||||
<property name="Auftragsruckgabe"/>
|
||||
<property name="Verlauf"/>
|
||||
<property name="AbgeleisteteStunden"/>
|
||||
<property name="ErsparteHafttage"/>
|
||||
<property name="GeleisteteRatenzahlung"/>
|
||||
<property name="Bemerkung"/>
|
||||
<property name="GeleisteteEinmalzahlung"/>
|
||||
<property name="GrundArbeitsunfahig"/>
|
||||
<property name="GrundSuchtproblem"/>
|
||||
<property name="GrundPsychischeProbleme"/>
|
||||
<property name="GrundKeineMotivation"/>
|
||||
<property name="GrundInHaft"/>
|
||||
<property name="GrundUnbekannt"/>
|
||||
<property name="GrundKeinKontakt"/>
|
||||
<property name="GrundNichtAngetreten"/>
|
||||
<property name="GrundAbbruchDerTatigkeit"/>
|
||||
<property name="GrundWiderruf"/>
|
||||
<property name="Grund459StPO"/>
|
||||
<property name="GrundAusbleibenDerZahlung"/>
|
||||
<property name="BesonderheitMehrfacheBeauftragung"/>
|
||||
<property name="BesonderheitMehrfacheVermittlung"/>
|
||||
<property name="BesonderheitVermittlungAusHaft"/>
|
||||
<property name="BesonderheitDurchBGBWAufgesucht"/>
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
52
Data/Mappings/CustomerVermittlungArbeit.hbm.xml
Normal file
52
Data/Mappings/CustomerVermittlungArbeit.hbm.xml
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="BeWo.Data.Entities.CustomerVermittlungArbeit,BeWo.Data" table="CustomerVermittlungArbeit">
|
||||
<id name="Oid" column ="Oid" unsaved-value="null">
|
||||
<generator class="identity" />
|
||||
</id>
|
||||
<version type="Int64" column="Version" name="Version" />
|
||||
<property name="InsTs"/>
|
||||
<property name="InsUser"/>
|
||||
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
||||
<property name="UdpUser"/>
|
||||
<property name="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" />
|
||||
<property name="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" />
|
||||
<property name="Notice"/>
|
||||
<many-to-one name="Customer" column="CustomerOid" class="BeWo.Data.Entities.Customer, BeWo.Data" cascade="none"/>
|
||||
<property name="EigenesAktenzeichen"/>
|
||||
<property name="Auftragseingang"/>
|
||||
<many-to-one name="Auftragsherkunft" column="Auftragsherkunft" class="BeWo.Data.Entities.ValueListEntry, BeWo.Data" cascade="none" />
|
||||
<many-to-one name="Vermittlungsgrundlage" column="Vermittlungsgrundlage" class="BeWo.Data.Entities.ValueListEntry, BeWo.Data" cascade="none" />
|
||||
<property name="Tagessatze"/>
|
||||
<property name="Tagessatzhohe"/>
|
||||
<property name="HoheDerGeldstrafe"/>
|
||||
<property name="ZuLeistendeArbeitsstunden"/>
|
||||
<property name="Hinweis"/>
|
||||
<property name="Termin"/>
|
||||
<property name="CustomerVermittlungBearbeitungsstatus" type="BS.Shared.DataContracts.CustomerVermittlungBearbeitungsstatus, BS.Shared" />
|
||||
<property name="Auftragsruckgabe"/>
|
||||
<property name="Verlauf"/>
|
||||
<property name="AbgeleisteteStunden"/>
|
||||
<property name="ErsparteHafttage"/>
|
||||
<property name="GeleisteteRatenzahlung"/>
|
||||
<property name="Bemerkung"/>
|
||||
<property name="GeleisteteEinmalzahlung"/>
|
||||
<property name="GrundArbeitsunfahig"/>
|
||||
<property name="GrundSuchtproblem"/>
|
||||
<property name="GrundPsychischeProbleme"/>
|
||||
<property name="GrundKeineMotivation"/>
|
||||
<property name="GrundInHaft"/>
|
||||
<property name="GrundUnbekannt"/>
|
||||
<property name="GrundKeinKontakt"/>
|
||||
<property name="GrundNichtAngetreten"/>
|
||||
<property name="GrundAbbruchDerTatigkeit"/>
|
||||
<property name="GrundWiderruf"/>
|
||||
<property name="Grund459StPO"/>
|
||||
<property name="GrundAusbleibenDerZahlung"/>
|
||||
<property name="BesonderheitMehrfacheBeauftragung"/>
|
||||
<property name="BesonderheitMehrfacheVermittlung"/>
|
||||
<property name="BesonderheitVermittlungAusHaft"/>
|
||||
<property name="BesonderheitDurchBGBWAufgesucht"/>
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
74
Data/Mappings/CustomerWohnhilfe.hbm.xml
Normal file
74
Data/Mappings/CustomerWohnhilfe.hbm.xml
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="BeWo.Data.Entities.CustomerWohnhilfe,BeWo.Data" table="CustomerWohnhilfe">
|
||||
<id name="Oid" column ="Oid" unsaved-value="null">
|
||||
<generator class="identity" />
|
||||
</id>
|
||||
<version type="Int64" column="Version" name="Version" />
|
||||
<property name="InsTs"/>
|
||||
<property name="InsUser"/>
|
||||
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
||||
<property name="UdpUser"/>
|
||||
<property name="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" />
|
||||
<property name="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" />
|
||||
<property name="Notice"/>
|
||||
<many-to-one name="Customer" column="CustomerOid" class="BeWo.Data.Entities.Customer, BeWo.Data" cascade="none"/>
|
||||
<property name="Displayname"/>
|
||||
<property name="Verbandszugehorigkeit"/>
|
||||
<property name="Geschlecht"/>
|
||||
<property name="AlterAmStichtag"/>
|
||||
<property name="Haushaltsgrosse"/>
|
||||
<property name="BerichtseinheitID"/>
|
||||
<property name="Unterbringungsart"/>
|
||||
<property name="OrtDerEinrichtung"/>
|
||||
<property name="Angebot"/>
|
||||
<property name="BeginnEinkommenssituation"/>
|
||||
<property name="EndeEinkommenssituation"/>
|
||||
<property name="BeginnAufstockungEinkommen"/>
|
||||
<property name="EndeAufstockungEinkommen"/>
|
||||
<property name="BeginnEigenesBankkonto"/>
|
||||
<property name="EndeEigenesBankkonto"/>
|
||||
<property name="Uberschuldung"/>
|
||||
<property name="Berufsabschluss"/>
|
||||
<property name="ErwerbsfahigkeitSinnSGB"/>
|
||||
<property name="BeginnBeschaftigungsstatus"/>
|
||||
<property name="EndeBeschaftigungsstatus"/>
|
||||
<property name="DauerArbeitslosigkeit"/>
|
||||
<property name="BeginnSozialeKontakte"/>
|
||||
<property name="BeginnKontaktPartner"/>
|
||||
<property name="BeginnKontaktMindKinder"/>
|
||||
<property name="BeginnKontaktVolljahrKinderElternVerwandten"/>
|
||||
<property name="BeginnKontaktFreundenBekannten"/>
|
||||
<property name="BeginnKontaktSelbsthilfe"/>
|
||||
<property name="BeginnKontaktSonstige"/>
|
||||
<property name="EndeSozialeKontakte"/>
|
||||
<property name="EndeKontaktPartner"/>
|
||||
<property name="EndeKontaktMindKinder"/>
|
||||
<property name="EndeKontaktVolljahrKinderElternVerwandten"/>
|
||||
<property name="EndeKontaktFreundenBekannten"/>
|
||||
<property name="EndeKontaktSelbsthilfe"/>
|
||||
<property name="EndeKontaktSonstige"/>
|
||||
<property name="BeginnKrankenversicherung"/>
|
||||
<property name="EndeKrankenversicherung"/>
|
||||
<property name="BeginnKontaktArzt"/>
|
||||
<property name="EndeKontaktArzt"/>
|
||||
<property name="VorlageSchwerbehindertenausweises"/>
|
||||
<property name="Bundesland"/>
|
||||
<property name="IsWohnungslosenhilfe"/>
|
||||
<property name="ArtDesHilfeangebots"/>
|
||||
<property name="Betreuungsbeginn"/>
|
||||
<property name="Betreuungsende"/>
|
||||
<property name="BetreuungsdauerInTagen"/>
|
||||
<property name="ArtDerBeendigung"/>
|
||||
<property name="Geburtsdatum"/>
|
||||
<property name="Geschlechtidentitat"/>
|
||||
<property name="Staatsangehorigkeit"/>
|
||||
<property name="Aufenthaltsstatus"/>
|
||||
<property name="Migrationshintergrund"/>
|
||||
<property name="HochsterSchulabschluss"/>
|
||||
<property name="Familienstand"/>
|
||||
<property name="Haushaltsstruktur"/>
|
||||
<property name="EigeneMindKinderAuserhalbHaushaltsstruktur"/>
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
8
Model/Changes_2024_09_22 CustomerFalldatenDrop.txt
Normal file
8
Model/Changes_2024_09_22 CustomerFalldatenDrop.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE `customer`
|
||||
DROP FOREIGN KEY `FK_CUSTOMERFALLDATEN`;
|
||||
ALTER TABLE `customer`
|
||||
DROP COLUMN `CustomerFalldatenOid`,
|
||||
DROP INDEX `FK_CUSTOMERFALLDATEN_idx` ;
|
||||
;
|
||||
|
||||
|
||||
60
Model/Changes_2024_09_23 Customer Vermittlung Arbeit.txt
Normal file
60
Model/Changes_2024_09_23 Customer Vermittlung Arbeit.txt
Normal file
@@ -0,0 +1,60 @@
|
||||
CREATE TABLE `CustomerVermittlungArbeit` (
|
||||
`Oid` bigint NOT NULL AUTO_INCREMENT,
|
||||
`InsTs` datetime DEFAULT NULL,
|
||||
`InsUser` varchar(256) DEFAULT NULL,
|
||||
`Notice` varchar(1024) DEFAULT NULL,
|
||||
`Tid` int DEFAULT NULL,
|
||||
`UdpUser` varchar(256) DEFAULT NULL,
|
||||
`Version` bigint DEFAULT NULL,
|
||||
`IsActive` tinyint DEFAULT NULL,
|
||||
`SystemEntryID` int DEFAULT NULL,
|
||||
`CustomerOid` bigint NOT NULL,
|
||||
`EigenesAktenzeichen` varchar(256),
|
||||
`Auftragseingang` datetime DEFAULT NULL,
|
||||
`Auftragsherkunft` bigint DEFAULT NULL,
|
||||
`Vermittlungsgrundlage` bigint DEFAULT NULL,
|
||||
`Tagessatze` decimal(18,10) DEFAULT NULL,
|
||||
`Tagessatzhohe` decimal(18,10) DEFAULT NULL,
|
||||
`HoheDerGeldstrafe` decimal(18,10) DEFAULT NULL,
|
||||
`ZuLeistendeArbeitsstunden` decimal(18,10) DEFAULT NULL,
|
||||
`Hinweis` varchar(256),
|
||||
`Termin` datetime DEFAULT NULL,
|
||||
`CustomerVermittlungBearbeitungsstatus` tinyint DEFAULT NULL,
|
||||
`Auftragsruckgabe` varchar(256),
|
||||
`Verlauf` varchar(256),
|
||||
`AbgeleisteteStunden` decimal(18,10) DEFAULT NULL,
|
||||
`ErsparteHafttage` decimal(18,10) DEFAULT NULL,
|
||||
`GeleisteteRatenzahlung` decimal(18,10) DEFAULT NULL,
|
||||
`Bemerkung` varchar(256),
|
||||
`GeleisteteEinmalzahlung` decimal(18,10) DEFAULT NULL,
|
||||
`GrundArbeitsunfahig` tinyint,
|
||||
`GrundSuchtproblem` tinyint,
|
||||
`GrundPsychischeProbleme` tinyint,
|
||||
`GrundKeineMotivation` tinyint,
|
||||
`GrundInHaft` tinyint,
|
||||
`GrundUnbekannt` tinyint,
|
||||
`GrundKeinKontakt` tinyint,
|
||||
`GrundNichtAngetreten` tinyint,
|
||||
`GrundAbbruchDerTatigkeit` tinyint,
|
||||
`GrundWiderruf` tinyint,
|
||||
`Grund459StPO` tinyint,
|
||||
`GrundAusbleibenDerZahlung` tinyint,
|
||||
`BesonderheitMehrfacheBeauftragung` tinyint,
|
||||
`BesonderheitMehrfacheVermittlung` tinyint,
|
||||
`BesonderheitVermittlungAusHaft` tinyint,
|
||||
`BesonderheitDurchBGBWAufgesucht` tinyint,
|
||||
PRIMARY KEY (`Oid`),
|
||||
CONSTRAINT `FK_CUSTOMERVERMITTLUNGARBEIT_CUSTOMER` FOREIGN KEY (`CustomerOid`) REFERENCES `customer` (`Oid`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=latin1;
|
||||
|
||||
ALTER TABLE `customervermittlungarbeit`
|
||||
ADD CONSTRAINT `FK_CUSTOMERVERMITTLUNGARBEIT_AUFTRAGSHERKUNFT`
|
||||
FOREIGN KEY (`Auftragsherkunft`)
|
||||
REFERENCES `7375324044`.`valuelistentry` (`Oid`)
|
||||
ON DELETE SET NULL
|
||||
ON UPDATE CASCADE,
|
||||
ADD CONSTRAINT `FK_CUSTOMERVERMITTLUNGARBEIT_VERMITTLUNGSGRUNDLAGE`
|
||||
FOREIGN KEY (`Vermittlungsgrundlage`)
|
||||
REFERENCES `valuelistentry` (`Oid`)
|
||||
ON DELETE SET NULL
|
||||
ON UPDATE CASCADE;
|
||||
70
Model/Changes_2024_09_23 Customer Wohnhilfe.txt
Normal file
70
Model/Changes_2024_09_23 Customer Wohnhilfe.txt
Normal file
@@ -0,0 +1,70 @@
|
||||
CREATE TABLE `CustomerWohnhilfe` (
|
||||
`Oid` bigint NOT NULL AUTO_INCREMENT,
|
||||
`InsTs` datetime DEFAULT NULL,
|
||||
`InsUser` varchar(256) DEFAULT NULL,
|
||||
`Notice` varchar(1024) DEFAULT NULL,
|
||||
`Tid` int DEFAULT NULL,
|
||||
`UdpUser` varchar(256) DEFAULT NULL,
|
||||
`Version` bigint DEFAULT NULL,
|
||||
`IsActive` tinyint DEFAULT NULL,
|
||||
`SystemEntryID` int DEFAULT NULL,
|
||||
`CustomerOid` bigint NOT NULL,
|
||||
`Displayname` varchar(256) DEFAULT NULL,
|
||||
`Verbandszugehorigkeit` tinyint DEFAULT NULL,
|
||||
`Geschlecht` tinyint DEFAULT NULL,
|
||||
`AlterAmStichtag` int DEFAULT NULL,
|
||||
`Haushaltsgrosse` int DEFAULT NULL,
|
||||
`BerichtseinheitID` varchar(256),
|
||||
`Unterbringungsart` tinyint DEFAULT NULL,
|
||||
`OrtDerEinrichtung` int DEFAULT NULL,
|
||||
`Angebot` tinyint DEFAULT NULL,
|
||||
`BeginnEinkommenssituation` tinyint,
|
||||
`EndeEinkommenssituation` tinyint,
|
||||
`BeginnAufstockungEinkommen` tinyint,
|
||||
`EndeAufstockungEinkommen` tinyint,
|
||||
`BeginnEigenesBankkonto` tinyint,
|
||||
`EndeEigenesBankkonto` tinyint,
|
||||
`Uberschuldung` tinyint,
|
||||
`Berufsabschluss` tinyint,
|
||||
`ErwerbsfahigkeitSinnSGB` tinyint,
|
||||
`BeginnBeschaftigungsstatus` tinyint,
|
||||
`EndeBeschaftigungsstatus` tinyint,
|
||||
`DauerArbeitslosigkeit` tinyint,
|
||||
`BeginnSozialeKontakte` tinyint,
|
||||
`BeginnKontaktPartner` tinyint,
|
||||
`BeginnKontaktMindKinder` tinyint,
|
||||
`BeginnKontaktVolljahrKinderElternVerwandten` tinyint,
|
||||
`BeginnKontaktFreundenBekannten` tinyint,
|
||||
`BeginnKontaktSelbsthilfe` tinyint,
|
||||
`BeginnKontaktSonstige` tinyint,
|
||||
`EndeSozialeKontakte` tinyint,
|
||||
`EndeKontaktPartner` tinyint,
|
||||
`EndeKontaktMindKinder` tinyint,
|
||||
`EndeKontaktVolljahrKinderElternVerwandten` tinyint,
|
||||
`EndeKontaktFreundenBekannten` tinyint,
|
||||
`EndeKontaktSelbsthilfe` tinyint,
|
||||
`EndeKontaktSonstige` tinyint,
|
||||
`BeginnKrankenversicherung` tinyint,
|
||||
`EndeKrankenversicherung` tinyint,
|
||||
`BeginnKontaktArzt` tinyint,
|
||||
`EndeKontaktArzt` tinyint,
|
||||
`VorlageSchwerbehindertenausweises` tinyint,
|
||||
`Bundesland` tinyint DEFAULT NULL,
|
||||
`IsWohnungslosenhilfe` tinyint,
|
||||
`ArtDesHilfeangebots` tinyint,
|
||||
`Betreuungsbeginn` datetime DEFAULT NULL,
|
||||
`Betreuungsende` datetime DEFAULT NULL,
|
||||
`BetreuungsdauerInTagen` int DEFAULT NULL,
|
||||
`ArtDerBeendigung` tinyint,
|
||||
`Geburtsdatum` datetime DEFAULT NULL,
|
||||
`Geschlechtidentitat` tinyint,
|
||||
`Staatsangehorigkeit` SMALLINT DEFAULT NULL,
|
||||
`Aufenthaltsstatus` tinyint,
|
||||
`Migrationshintergrund` tinyint,
|
||||
`HochsterSchulabschluss` tinyint,
|
||||
`Familienstand` tinyint,
|
||||
`Haushaltsstruktur` tinyint,
|
||||
`EigeneMindKinderAuserhalbHaushaltsstruktur` tinyint,
|
||||
PRIMARY KEY (`Oid`),
|
||||
CONSTRAINT `FK_CUSTOMERWOHNHILFE_CUSTOMER` FOREIGN KEY (`CustomerOid`) REFERENCES `customer` (`Oid`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=latin1;
|
||||
@@ -1231,3 +1231,21 @@ ADD COLUMN `Fullname` VARCHAR(1024) NULL DEFAULT NULL AFTER `Filename`;
|
||||
|
||||
ALTER TABLE `organisation`
|
||||
ADD COLUMN `BusinessPartnerId` VARCHAR(256) NULL DEFAULT NULL AFTER `Leistungserbringergruppe`;
|
||||
|
||||
CREATE TABLE `aisettings` (
|
||||
`Oid` bigint NOT NULL AUTO_INCREMENT,
|
||||
`Tid` int NOT NULL,
|
||||
`Description` varchar(256) DEFAULT NULL,
|
||||
`Notice` varchar(1024) DEFAULT NULL,
|
||||
`InsTs` datetime DEFAULT NULL,
|
||||
`InsUser` varchar(256) DEFAULT NULL,
|
||||
`Version` bigint DEFAULT NULL,
|
||||
`UpdTs` datetime DEFAULT NULL,
|
||||
`UdpUser` varchar(256) DEFAULT NULL,
|
||||
`IsActive` tinyint DEFAULT NULL,
|
||||
`SystemEntryID` int DEFAULT NULL,
|
||||
`SettingsType` int DEFAULT NULL,
|
||||
`Settings` MEDIUMTEXT DEFAULT NULL,
|
||||
PRIMARY KEY (`Oid`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
|
||||
|
||||
|
||||
@@ -64,6 +64,12 @@
|
||||
<Compile Include="Export\QueryListReport.Designer.cs">
|
||||
<DependentUpon>QueryListReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Finanzauswertung.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Finanzauswertung.designer.cs">
|
||||
<DependentUpon>Finanzauswertung.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SBUmsatzerprobung.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -205,6 +211,10 @@
|
||||
<DependentUpon>QueryListReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Finanzauswertung.resx">
|
||||
<DependentUpon>Finanzauswertung.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SBUmsatzerprobung.resx">
|
||||
<DependentUpon>SBUmsatzerprobung.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
67
ReportImp/AWOMuensterlandRecklinghausen/Finanzauswertung.cs
Normal file
67
ReportImp/AWOMuensterlandRecklinghausen/Finanzauswertung.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using BeWo.Report;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
namespace AWOMuensterlandRecklinghausen
|
||||
{
|
||||
public partial class Finanzauswertung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<FinanceRO>
|
||||
{
|
||||
public Finanzauswertung()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(FinanceRO pRO)
|
||||
{
|
||||
pRO.CalculateBillableAmountInReportTimeSpan();
|
||||
pRO.CalculatePaidAmountInReportTimeSpan();
|
||||
|
||||
if (pRO.ReportStartDate.HasValue && pRO.ReportEndDate.HasValue)
|
||||
{
|
||||
DateTime start = pRO.ReportStartDate.Value;
|
||||
DateTime end = pRO.ReportEndDate.Value;
|
||||
|
||||
if (start.Year == end.Year && start.Month == end.Month && start.Day == 1 &&
|
||||
end.Day == DateTime.DaysInMonth(end.Year, end.Month))
|
||||
{
|
||||
lblTitel.Text = String.Format("Finanzauswertung {0:MMMM yyyy}", start);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:MMMM}", start);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:MMMM}", start);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblTitel.Text = String.Format("Finanzauswertung {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellBewilligtImZeitraumHeader.Text = String.Format("bewilligte FLS {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
cellGeleistetImZeitraumHeader.Text = String.Format("geleistete Std. {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
//cellFehlkontakteHeader.Text = String.Format("Fehl-\nkontakte {0:dd.MM.yyyy}-{1:dd.MM.yyyy}", start, end);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cellBewilligtImZeitraumHeader.Visible = false;
|
||||
cellBewilligteFLSImBereich.Visible = false;
|
||||
cellGeleistetImBereich.Visible = false;
|
||||
cellGeleistetImZeitraumHeader.Visible = false;
|
||||
}
|
||||
|
||||
if (pRO.GruppierungLeistungskategorie && pRO.SupportConceptFinanceList != null)
|
||||
{
|
||||
GroupHeader1.Visible = true;
|
||||
GroupFooter1.Visible = true;
|
||||
foreach (var scRo in pRO.SupportConceptFinanceList)
|
||||
{
|
||||
if (String.IsNullOrEmpty(scRo.Leistungskategorie))
|
||||
{
|
||||
scRo.GruppierungsKategorie = " ";
|
||||
}
|
||||
else
|
||||
{
|
||||
scRo.GruppierungsKategorie = String.Format("Leistungskategorie {0}", scRo.Leistungskategorie);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
965
ReportImp/AWOMuensterlandRecklinghausen/Finanzauswertung.designer.cs
generated
Normal file
965
ReportImp/AWOMuensterlandRecklinghausen/Finanzauswertung.designer.cs
generated
Normal file
@@ -0,0 +1,965 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AWOMuensterlandRecklinghausen
|
||||
{
|
||||
partial class Finanzauswertung
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary5 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary6 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary7 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary8 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary9 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary10 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary11 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary12 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary13 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary14 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellBewilligteFLSImBereich = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellGeleistetImBereich = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblTitel = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellBewilligtImZeitraumHeader = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellGeleistetImZeitraumHeader = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
|
||||
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
||||
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
|
||||
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.openAmountReportTime = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Expanded = false;
|
||||
this.Detail.HeightF = 0F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// Detail1
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable2});
|
||||
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
|
||||
this.Detail1.HeightF = 25F;
|
||||
this.Detail1.KeepTogetherWithDetailReports = true;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(892.7083F, 25F);
|
||||
this.xrTable2.StylePriority.UseBorders = false;
|
||||
this.xrTable2.StylePriority.UseFont = false;
|
||||
this.xrTable2.StylePriority.UsePadding = false;
|
||||
this.xrTable2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell12,
|
||||
this.cellBewilligteFLSImBereich,
|
||||
this.cellGeleistetImBereich,
|
||||
this.xrTableCell26,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell24});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "[CustomerName]\r\n[SupportConceptTimeSpanString]";
|
||||
this.xrTableCell6.Weight = 0.66469718772399189D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.CostBearerName")});
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Mitarbeiter/in";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell7.Weight = 0.5317577529262556D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.ApprovedHours", "{0:0.00}")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell14.Text = "xrTableCell14";
|
||||
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell14.Weight = 0.35450517012236349D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.BillableHours", "{0:0.00}")});
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell12.Text = "xrTableCell12";
|
||||
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell12.Weight = 0.35450516999471204D;
|
||||
//
|
||||
// cellBewilligteFLSImBereich
|
||||
//
|
||||
this.cellBewilligteFLSImBereich.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.ApprovedHoursInReportTimeSpan", "{0:0.00}")});
|
||||
this.cellBewilligteFLSImBereich.Name = "cellBewilligteFLSImBereich";
|
||||
this.cellBewilligteFLSImBereich.StylePriority.UseTextAlignment = false;
|
||||
this.cellBewilligteFLSImBereich.Text = "cellBewilligteFLSImBereich";
|
||||
this.cellBewilligteFLSImBereich.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.cellBewilligteFLSImBereich.Weight = 0.31019202369719984D;
|
||||
//
|
||||
// cellGeleistetImBereich
|
||||
//
|
||||
this.cellGeleistetImBereich.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.StundenNichtFehlkontakteInReportTimeSpan", "{0:0.00}")});
|
||||
this.cellGeleistetImBereich.Name = "cellGeleistetImBereich";
|
||||
this.cellGeleistetImBereich.StylePriority.UseTextAlignment = false;
|
||||
this.cellGeleistetImBereich.Text = "cellGeleistetImBereich";
|
||||
this.cellGeleistetImBereich.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.cellGeleistetImBereich.Weight = 0.31019202366528686D;
|
||||
//
|
||||
// xrTableCell26
|
||||
//
|
||||
this.xrTableCell26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.BillableAmountInReportTimeSpan", "{0:c}")});
|
||||
this.xrTableCell26.Name = "xrTableCell26";
|
||||
this.xrTableCell26.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell26.Weight = 0.36856870721468521D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.AmountPaidInReportTimeSpan")});
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.Text = "xrTableCell8";
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell8.TextFormatString = "{0:c}";
|
||||
this.xrTableCell8.Weight = 0.36856945707114541D;
|
||||
//
|
||||
// xrTableCell24
|
||||
//
|
||||
this.xrTableCell24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.openAmountReportTime")});
|
||||
this.xrTableCell24.Multiline = true;
|
||||
this.xrTableCell24.Name = "xrTableCell24";
|
||||
this.xrTableCell24.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell24.Text = "xrTableCell24";
|
||||
this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell24.TextFormatString = "{0:c}";
|
||||
this.xrTableCell24.Weight = 0.39284569702388022D;
|
||||
//
|
||||
// lblTitel
|
||||
//
|
||||
this.lblTitel.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.lblTitel.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
|
||||
this.lblTitel.Name = "lblTitel";
|
||||
this.lblTitel.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.lblTitel.SizeF = new System.Drawing.SizeF(825.0001F, 23F);
|
||||
this.lblTitel.StylePriority.UseFont = false;
|
||||
this.lblTitel.Text = "Finanzauswertung";
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.GroupFooter1,
|
||||
this.GroupHeader2,
|
||||
this.GroupFooter2,
|
||||
this.GroupHeader1});
|
||||
this.DetailReport.DataMember = "SupportConceptFinanceList";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable4});
|
||||
this.GroupFooter1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.GroupFooter1.HeightF = 25F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseFont = false;
|
||||
this.GroupFooter1.Visible = false;
|
||||
//
|
||||
// xrTable4
|
||||
//
|
||||
this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable4.Name = "xrTable4";
|
||||
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow4});
|
||||
this.xrTable4.SizeF = new System.Drawing.SizeF(892.7083F, 25F);
|
||||
this.xrTable4.StylePriority.UseBorders = false;
|
||||
this.xrTable4.StylePriority.UseFont = false;
|
||||
this.xrTable4.StylePriority.UsePadding = false;
|
||||
this.xrTable4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow4
|
||||
//
|
||||
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell31,
|
||||
this.xrTableCell35,
|
||||
this.xrTableCell36,
|
||||
this.xrTableCell37,
|
||||
this.xrTableCell38,
|
||||
this.xrTableCell41,
|
||||
this.xrTableCell29,
|
||||
this.xrTableCell30});
|
||||
this.xrTableRow4.Name = "xrTableRow4";
|
||||
this.xrTableRow4.Weight = 1D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
this.xrTableCell28.CanGrow = false;
|
||||
this.xrTableCell28.Multiline = true;
|
||||
this.xrTableCell28.Name = "xrTableCell28";
|
||||
this.xrTableCell28.Weight = 0.66469718772399189D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
this.xrTableCell31.CanGrow = false;
|
||||
this.xrTableCell31.Name = "xrTableCell31";
|
||||
this.xrTableCell31.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell31.Weight = 0.5317577529262556D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.CanGrow = false;
|
||||
this.xrTableCell35.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.ApprovedHours")});
|
||||
this.xrTableCell35.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.StylePriority.UseFont = false;
|
||||
this.xrTableCell35.StylePriority.UseTextAlignment = false;
|
||||
xrSummary1.FormatString = "{0:0.00}";
|
||||
xrSummary1.IgnoreNullValues = true;
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell35.Summary = xrSummary1;
|
||||
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell35.Weight = 0.35450517012236349D;
|
||||
//
|
||||
// xrTableCell36
|
||||
//
|
||||
this.xrTableCell36.CanGrow = false;
|
||||
this.xrTableCell36.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.BillableHours")});
|
||||
this.xrTableCell36.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell36.Name = "xrTableCell36";
|
||||
this.xrTableCell36.StylePriority.UseFont = false;
|
||||
this.xrTableCell36.StylePriority.UseTextAlignment = false;
|
||||
xrSummary2.FormatString = "{0:0.00}";
|
||||
xrSummary2.IgnoreNullValues = true;
|
||||
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell36.Summary = xrSummary2;
|
||||
this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell36.Weight = 0.35450516999471215D;
|
||||
//
|
||||
// xrTableCell37
|
||||
//
|
||||
this.xrTableCell37.CanGrow = false;
|
||||
this.xrTableCell37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.ApprovedHoursInReportTimeSpan")});
|
||||
this.xrTableCell37.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell37.Name = "xrTableCell37";
|
||||
this.xrTableCell37.StylePriority.UseFont = false;
|
||||
this.xrTableCell37.StylePriority.UseTextAlignment = false;
|
||||
xrSummary3.FormatString = "{0:0.00}";
|
||||
xrSummary3.IgnoreNullValues = true;
|
||||
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell37.Summary = xrSummary3;
|
||||
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell37.Weight = 0.31019202369719984D;
|
||||
//
|
||||
// xrTableCell38
|
||||
//
|
||||
this.xrTableCell38.CanGrow = false;
|
||||
this.xrTableCell38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.StundenNichtFehlkontakteInReportTimeSpan")});
|
||||
this.xrTableCell38.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell38.Name = "xrTableCell38";
|
||||
this.xrTableCell38.StylePriority.UseFont = false;
|
||||
this.xrTableCell38.StylePriority.UseTextAlignment = false;
|
||||
xrSummary4.FormatString = "{0:0.00}";
|
||||
xrSummary4.IgnoreNullValues = true;
|
||||
xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell38.Summary = xrSummary4;
|
||||
this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell38.Weight = 0.31019202366528686D;
|
||||
//
|
||||
// xrTableCell41
|
||||
//
|
||||
this.xrTableCell41.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.BillableAmountInReportTimeSpan")});
|
||||
this.xrTableCell41.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell41.Name = "xrTableCell41";
|
||||
this.xrTableCell41.StylePriority.UseFont = false;
|
||||
this.xrTableCell41.StylePriority.UseTextAlignment = false;
|
||||
xrSummary5.FormatString = "{0:c}";
|
||||
xrSummary5.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell41.Summary = xrSummary5;
|
||||
this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell41.Weight = 0.36856870721468521D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.AmountPaidInReportTimeSpan")});
|
||||
this.xrTableCell29.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell29.Multiline = true;
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.StylePriority.UseFont = false;
|
||||
this.xrTableCell29.StylePriority.UseTextAlignment = false;
|
||||
xrSummary6.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell29.Summary = xrSummary6;
|
||||
this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell29.TextFormatString = "{0:c}";
|
||||
this.xrTableCell29.Weight = 0.36856945707114541D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.openAmountReportTime")});
|
||||
this.xrTableCell30.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell30.Multiline = true;
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.StylePriority.UseFont = false;
|
||||
this.xrTableCell30.StylePriority.UseTextAlignment = false;
|
||||
xrSummary7.FormatString = "{0:c}";
|
||||
xrSummary7.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell30.Summary = xrSummary7;
|
||||
this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell30.Weight = 0.39284569702388022D;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.GroupHeader2.HeightF = 50F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
this.GroupHeader2.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(892.7083F, 50F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
this.xrTable1.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell11,
|
||||
this.cellBewilligtImZeitraumHeader,
|
||||
this.cellGeleistetImZeitraumHeader,
|
||||
this.xrTableCell25,
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell17});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1.3953493323567705D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "KlientIn/Hilfeplan";
|
||||
this.xrTableCell1.Weight = 0.65261207928425036D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell2.Text = "Kostenträger";
|
||||
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell2.Weight = 0.5220895665938059D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell13.Text = "Bis dato bewilligte FLS";
|
||||
this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell13.Weight = 0.34805961298674093D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell11.Text = "Bis dato geleistete FLS";
|
||||
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell11.Weight = 0.34805961285908948D;
|
||||
//
|
||||
// cellBewilligtImZeitraumHeader
|
||||
//
|
||||
this.cellBewilligtImZeitraumHeader.Name = "cellBewilligtImZeitraumHeader";
|
||||
this.cellBewilligtImZeitraumHeader.StylePriority.UseTextAlignment = false;
|
||||
this.cellBewilligtImZeitraumHeader.Text = "bewilligte FLS";
|
||||
this.cellBewilligtImZeitraumHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.cellBewilligtImZeitraumHeader.Weight = 0.3045519081026955D;
|
||||
//
|
||||
// cellGeleistetImZeitraumHeader
|
||||
//
|
||||
this.cellGeleistetImZeitraumHeader.Name = "cellGeleistetImZeitraumHeader";
|
||||
this.cellGeleistetImZeitraumHeader.StylePriority.UseTextAlignment = false;
|
||||
this.cellGeleistetImZeitraumHeader.Text = "geleistete FLS";
|
||||
this.cellGeleistetImZeitraumHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.cellGeleistetImZeitraumHeader.Weight = 0.30455243916761571D;
|
||||
//
|
||||
// xrTableCell25
|
||||
//
|
||||
this.xrTableCell25.Name = "xrTableCell25";
|
||||
this.xrTableCell25.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell25.Text = "Errechneter Betrag";
|
||||
this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell25.Weight = 0.36186833386075445D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Multiline = true;
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.Text = "In Rechnung gestellt";
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell3.Weight = 0.36186831279035137D;
|
||||
//
|
||||
// xrTableCell17
|
||||
//
|
||||
this.xrTableCell17.Multiline = true;
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell17.Text = "Noch nicht abgerechnet";
|
||||
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell17.Weight = 0.38570297193542397D;
|
||||
//
|
||||
// GroupFooter2
|
||||
//
|
||||
this.GroupFooter2.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.GroupFooter2.HeightF = 0F;
|
||||
this.GroupFooter2.Level = 1;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
this.GroupFooter2.StylePriority.UseFont = false;
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1});
|
||||
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
|
||||
new DevExpress.XtraReports.UI.GroupField("GruppierungsKategorie", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
|
||||
this.GroupHeader1.HeightF = 43.75F;
|
||||
this.GroupHeader1.Level = 1;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.Visible = false;
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.GruppierungsKategorie")});
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(825.0001F, 23F);
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "xrLabel1";
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblTitel});
|
||||
this.ReportHeader.HeightF = 52.08333F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// pageFooterBand1
|
||||
//
|
||||
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrPageInfo2,
|
||||
this.xrPageInfo1});
|
||||
this.pageFooterBand1.HeightF = 48F;
|
||||
this.pageFooterBand1.Name = "pageFooterBand1";
|
||||
//
|
||||
// xrPageInfo2
|
||||
//
|
||||
this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(796.7803F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(95.00006F, 23F);
|
||||
this.xrPageInfo2.StyleName = "PageInfo";
|
||||
this.xrPageInfo2.StylePriority.UseFont = false;
|
||||
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrPageInfo2.TextFormatString = "Seite {0} von {1}";
|
||||
//
|
||||
// xrPageInfo1
|
||||
//
|
||||
this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.xrPageInfo1.Name = "xrPageInfo1";
|
||||
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
||||
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(270.0002F, 23F);
|
||||
this.xrPageInfo1.StyleName = "PageInfo";
|
||||
this.xrPageInfo1.StylePriority.UseFont = false;
|
||||
//
|
||||
// Title
|
||||
//
|
||||
this.Title.BackColor = System.Drawing.Color.White;
|
||||
this.Title.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.Title.BorderWidth = 1F;
|
||||
this.Title.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F);
|
||||
this.Title.ForeColor = System.Drawing.Color.Black;
|
||||
this.Title.Name = "Title";
|
||||
//
|
||||
// FieldCaption
|
||||
//
|
||||
this.FieldCaption.BackColor = System.Drawing.Color.White;
|
||||
this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.FieldCaption.BorderWidth = 1F;
|
||||
this.FieldCaption.Font = new DevExpress.Drawing.DXFont("Times New Roman", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
|
||||
this.FieldCaption.Name = "FieldCaption";
|
||||
//
|
||||
// PageInfo
|
||||
//
|
||||
this.PageInfo.BackColor = System.Drawing.Color.White;
|
||||
this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.PageInfo.BorderWidth = 1F;
|
||||
this.PageInfo.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
|
||||
this.PageInfo.ForeColor = System.Drawing.Color.Black;
|
||||
this.PageInfo.Name = "PageInfo";
|
||||
//
|
||||
// DataField
|
||||
//
|
||||
this.DataField.BackColor = System.Drawing.Color.White;
|
||||
this.DataField.BorderColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.DataField.BorderWidth = 1F;
|
||||
this.DataField.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F);
|
||||
this.DataField.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.DataField.Name = "DataField";
|
||||
//
|
||||
// fieldFLS
|
||||
//
|
||||
this.fieldFLS.DataMember = "FLSReportGroups";
|
||||
this.fieldFLS.DataSource = this.bindingSource1;
|
||||
this.fieldFLS.Expression = "[TotalFLM] / 60";
|
||||
this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldFLS.Name = "fieldFLS";
|
||||
//
|
||||
// topMarginBand1
|
||||
//
|
||||
this.topMarginBand1.HeightF = 50F;
|
||||
this.topMarginBand1.Name = "topMarginBand1";
|
||||
//
|
||||
// bottomMarginBand1
|
||||
//
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable3});
|
||||
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.ReportFooter.HeightF = 25F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable3
|
||||
//
|
||||
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow3});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(892.7083F, 25F);
|
||||
this.xrTable3.StylePriority.UseBorders = false;
|
||||
this.xrTable3.StylePriority.UseFont = false;
|
||||
this.xrTable3.StylePriority.UsePadding = false;
|
||||
this.xrTable3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
//
|
||||
// xrTableRow3
|
||||
//
|
||||
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell15,
|
||||
this.xrTableCell16,
|
||||
this.xrTableCell20,
|
||||
this.xrTableCell21,
|
||||
this.xrTableCell22,
|
||||
this.xrTableCell23,
|
||||
this.xrTableCell27,
|
||||
this.xrTableCell32,
|
||||
this.xrTableCell39});
|
||||
this.xrTableRow3.Name = "xrTableRow3";
|
||||
this.xrTableRow3.Weight = 1D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.CanGrow = false;
|
||||
this.xrTableCell15.Multiline = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Weight = 0.66469718772399189D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.CanGrow = false;
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell16.Weight = 0.5317577529262556D;
|
||||
//
|
||||
// xrTableCell20
|
||||
//
|
||||
this.xrTableCell20.CanGrow = false;
|
||||
this.xrTableCell20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.ApprovedHours")});
|
||||
this.xrTableCell20.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell20.Name = "xrTableCell20";
|
||||
this.xrTableCell20.StylePriority.UseFont = false;
|
||||
this.xrTableCell20.StylePriority.UseTextAlignment = false;
|
||||
xrSummary8.FormatString = "{0:0.00}";
|
||||
xrSummary8.IgnoreNullValues = true;
|
||||
xrSummary8.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell20.Summary = xrSummary8;
|
||||
this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell20.Weight = 0.35450517012236349D;
|
||||
//
|
||||
// xrTableCell21
|
||||
//
|
||||
this.xrTableCell21.CanGrow = false;
|
||||
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.BillableHours")});
|
||||
this.xrTableCell21.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell21.Name = "xrTableCell21";
|
||||
this.xrTableCell21.StylePriority.UseFont = false;
|
||||
this.xrTableCell21.StylePriority.UseTextAlignment = false;
|
||||
xrSummary9.FormatString = "{0:0.00}";
|
||||
xrSummary9.IgnoreNullValues = true;
|
||||
xrSummary9.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell21.Summary = xrSummary9;
|
||||
this.xrTableCell21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell21.Weight = 0.35450516999471215D;
|
||||
//
|
||||
// xrTableCell22
|
||||
//
|
||||
this.xrTableCell22.CanGrow = false;
|
||||
this.xrTableCell22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.ApprovedHoursInReportTimeSpan")});
|
||||
this.xrTableCell22.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell22.Name = "xrTableCell22";
|
||||
this.xrTableCell22.StylePriority.UseFont = false;
|
||||
this.xrTableCell22.StylePriority.UseTextAlignment = false;
|
||||
xrSummary10.FormatString = "{0:0.00}";
|
||||
xrSummary10.IgnoreNullValues = true;
|
||||
xrSummary10.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell22.Summary = xrSummary10;
|
||||
this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell22.Weight = 0.31019202369719984D;
|
||||
//
|
||||
// xrTableCell23
|
||||
//
|
||||
this.xrTableCell23.CanGrow = false;
|
||||
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.StundenNichtFehlkontakteInReportTimeSpan")});
|
||||
this.xrTableCell23.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.StylePriority.UseFont = false;
|
||||
this.xrTableCell23.StylePriority.UseTextAlignment = false;
|
||||
xrSummary11.FormatString = "{0:0.00}";
|
||||
xrSummary11.IgnoreNullValues = true;
|
||||
xrSummary11.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell23.Summary = xrSummary11;
|
||||
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell23.Weight = 0.31019202366528686D;
|
||||
//
|
||||
// xrTableCell27
|
||||
//
|
||||
this.xrTableCell27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.BillableAmountInReportTimeSpan")});
|
||||
this.xrTableCell27.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell27.Name = "xrTableCell27";
|
||||
this.xrTableCell27.StylePriority.UseFont = false;
|
||||
this.xrTableCell27.StylePriority.UseTextAlignment = false;
|
||||
xrSummary12.FormatString = "{0:c}";
|
||||
xrSummary12.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell27.Summary = xrSummary12;
|
||||
this.xrTableCell27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell27.Weight = 0.368569207118992D;
|
||||
//
|
||||
// xrTableCell32
|
||||
//
|
||||
this.xrTableCell32.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.AmountPaidInReportTimeSpan")});
|
||||
this.xrTableCell32.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell32.Multiline = true;
|
||||
this.xrTableCell32.Name = "xrTableCell32";
|
||||
this.xrTableCell32.StylePriority.UseFont = false;
|
||||
this.xrTableCell32.StylePriority.UseTextAlignment = false;
|
||||
xrSummary13.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell32.Summary = xrSummary13;
|
||||
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell32.TextFormatString = "{0:c}";
|
||||
this.xrTableCell32.Weight = 0.36856895716683863D;
|
||||
//
|
||||
// xrTableCell39
|
||||
//
|
||||
this.xrTableCell39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptFinanceList.openAmountReportTime")});
|
||||
this.xrTableCell39.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell39.Multiline = true;
|
||||
this.xrTableCell39.Name = "xrTableCell39";
|
||||
this.xrTableCell39.StylePriority.UseFont = false;
|
||||
this.xrTableCell39.StylePriority.UseTextAlignment = false;
|
||||
xrSummary14.FormatString = "{0:c}";
|
||||
xrSummary14.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
|
||||
this.xrTableCell39.Summary = xrSummary14;
|
||||
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell39.Weight = 0.39284569702388022D;
|
||||
//
|
||||
// openAmountReportTime
|
||||
//
|
||||
this.openAmountReportTime.DataMember = "SupportConceptFinanceList";
|
||||
this.openAmountReportTime.Expression = "[BillableAmountInReportTimeSpan]-[AmountPaidInReportTimeSpan]";
|
||||
this.openAmountReportTime.Name = "openAmountReportTime";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.FinanceRO);
|
||||
//
|
||||
// Finanzauswertung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.ReportFooter});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.openAmountReportTime});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.Landscape = true;
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(45F, 40F, 50F, 30F);
|
||||
this.PageHeight = 827;
|
||||
this.PageWidth = 1169;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
|
||||
this.Title,
|
||||
this.FieldCaption,
|
||||
this.PageInfo,
|
||||
this.DataField});
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail;
|
||||
private System.Windows.Forms.BindingSource bindingSource1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail1;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
|
||||
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
||||
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
|
||||
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle Title;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
|
||||
private DevExpress.XtraReports.UI.XRControlStyle DataField;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblTitel;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellBewilligteFLSImBereich;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellGeleistetImBereich;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellBewilligtImZeitraumHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellGeleistetImZeitraumHeader;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable4;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell28;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell35;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell36;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell37;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell38;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell41;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable3;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell21;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell27;
|
||||
private DevExpress.XtraReports.UI.CalculatedField openAmountReportTime;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell29;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell32;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell39;
|
||||
}
|
||||
}
|
||||
120
ReportImp/AWOMuensterlandRecklinghausen/Finanzauswertung.resx
Normal file
120
ReportImp/AWOMuensterlandRecklinghausen/Finanzauswertung.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -27,12 +27,10 @@ namespace AWOMuensterlandRecklinghausen
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
|
||||
//CreateAbrechnungsItems(pRO);
|
||||
SetzeEmpfaengerAdresse(pRO);
|
||||
SetzeBetraege(pRO);
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
|
||||
}
|
||||
|
||||
private void SetzeBetraege(ServiceInvoiceRO pRO)
|
||||
@@ -87,17 +85,10 @@ namespace AWOMuensterlandRecklinghausen
|
||||
{
|
||||
if (!String.IsNullOrEmpty(ii.ServiceDescription) && ii.ServiceDescription.StartsWith("Rechnungsdifferenz")
|
||||
&& pRO.InvoiceBase.SupportConceptOid.HasValue)
|
||||
{
|
||||
var sc = DAOFactory.GenericDAO.GetByID<SupportConcept>(pRO.InvoiceBase.SupportConceptOid.Value);
|
||||
if (sc != null)
|
||||
{
|
||||
if (!pRO.Notice.IsNullOrEmpty())
|
||||
{
|
||||
var cb2sc = sc.CostBearer2SupportConceptList.Where(s => s.SupportConcept.Oid == pRO.InvoiceBase.SupportConceptOid.Value).FirstOrDefault();
|
||||
var scap = cb2sc.ApprovalPeriodList.Where(ap => ap.ServiceCategory != null && ap.ServiceCategory.Name.Contains("Interne") &&
|
||||
ap.StartDate < pRO.AccountingPeriodEnd && ap.EndDate > pRO.AccountingPeriodStart).FirstOrDefault();
|
||||
if (!scap.Notice.IsNullOrEmpty())
|
||||
{
|
||||
lblEndtext.Text = scap.Notice + "\n \n" + lblEndtext.Text;
|
||||
}
|
||||
lblEndtext.Text = pRO.Notice + "\n \n" + lblEndtext.Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
|
||||
using BeWo.Data.Access;
|
||||
@@ -12,12 +13,21 @@ namespace AkggMid.Service
|
||||
{
|
||||
public class CustomCustomerService : CustomerService
|
||||
{
|
||||
// public override List<CompactSupportConceptDC> GetAllActiveSupportConceptCostbearer(bool onlyApproved, bool onlyWithAssignedCostbearer, long employeeOid)
|
||||
// public override List<CompactSupportConceptDC> GetAllActiveSupportConceptCostbearer(bool onlyApproved, bool onlyWithAssignedCostbearer, long employeeOid)
|
||||
//{
|
||||
// var liste = base.GetAllActiveSupportConceptCostbearer(onlyApproved, onlyWithAssignedCostbearer, employeeOid);
|
||||
// var liste = base.GetAllActiveSupportConceptCostbearer(onlyApproved, onlyWithAssignedCostbearer, employeeOid);
|
||||
|
||||
// return liste.Where(a => a.CustomerFullName.StartsWith("A")).ToList();
|
||||
//
|
||||
|
||||
protected override string GetDefaultBrush(SupportConcept sc, CostBearer2SupportConcept c2s)
|
||||
{
|
||||
if (c2s.StartDate.HasValue && c2s.StartDate > DateTime.Now)
|
||||
{
|
||||
return "#FF70A0FF";
|
||||
}
|
||||
return base.GetDefaultBrush(sc, c2s);
|
||||
}
|
||||
|
||||
// return liste.Where(a => a.CustomerFullName.StartsWith("A")).ToList();
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -761,7 +761,7 @@ INNER JOIN `person` p on c.`PersonOid` = p.`Oid`
|
||||
INNER JOIN invoicebase ib on ib.costbearer2supportconceptoid = cb2sc.oid
|
||||
inner join serviceinvoice si on si.invoicebaseoid = ib.oid
|
||||
inner join serviceinvoiceperiod sip on sip.serviceinvoiceoid = si.oid
|
||||
WHERE c.`IsActive` = 1 AND sc.`IsActive` = 1 and ib.isactive = 1 and ib.type <> 1 and ib.InvoiceId <> 'RechnungSoziotherapie'
|
||||
WHERE c.`IsActive` = 1 AND sc.`IsActive` = 1 and ib.isactive = 1 and ib.type <> 1 and isnull(InvoiceId)
|
||||
and ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodStart` < ':Monat_End'
|
||||
ORDER BY p.`LastName`, p.`FirstName`, cb2sc.`ApprovedStartDate`
|
||||
";
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace LyvieKupfer
|
||||
{
|
||||
foreach (var ii in sip.ServiceInvoiceItems)
|
||||
{
|
||||
hours = ii.Hours.Value;
|
||||
hours += ii.Hours.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +22,11 @@ namespace SkmViersen
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
Customer customer = null;
|
||||
if (pRO.ServiceInvoicePeriods != null && pRO.ServiceInvoicePeriods.Count > 0)
|
||||
if (pRO.ServiceInvoicePeriods != null && pRO.ServiceInvoicePeriods.Count > 0
|
||||
&& pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems != null && !pRO.ServiceInvoicePeriods[0].ServiceInvoiceItems[0].ServiceDescription.Contains("Rechnungsdifferenz"))
|
||||
{
|
||||
customer = pRO.ServiceInvoicePeriods[0].CostBearer2SupportConcept.SupportConcept.Customer;
|
||||
}
|
||||
if (customer == null && pRO.CustomerOid.HasValue)
|
||||
{
|
||||
customer = DAOFactory.GenericDAO.GetByID<Customer>(pRO.CustomerOid.Value);
|
||||
|
||||
@@ -540,6 +540,8 @@ namespace SkmViersen
|
||||
this.xrTableCell42.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.xrTableCell42.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell42.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.ServiceDescription")});
|
||||
this.xrTableCell42.Name = "xrTableCell42";
|
||||
this.xrTableCell42.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
|
||||
this.xrTableCell42.StylePriority.UseBorderColor = false;
|
||||
|
||||
@@ -29,30 +29,26 @@ namespace SkmViersen
|
||||
{
|
||||
foreach (var ii in sip.ServiceInvoiceItems)
|
||||
{
|
||||
var u = ii.UnitCount ?? 0;
|
||||
|
||||
if (!String.IsNullOrEmpty(ii.RateFactor))
|
||||
if (!String.IsNullOrEmpty(ii.ServiceDescription) && !ii.ServiceDescription.StartsWith("Rechnungsdifferenz"))
|
||||
{
|
||||
var rfStr = ii.RateFactor.Replace("%", "").Replace(",00", "").Trim();
|
||||
int rfInt = 0;
|
||||
Int32.TryParse(rfStr, out rfInt);
|
||||
decimal rateFactor = (100m + rfInt) / 100m;
|
||||
ii.RateFactor = Math.Round(rateFactor, 2, MidpointRounding.AwayFromZero).ToString();
|
||||
u *= rateFactor;
|
||||
ii.UnitCountString = Math.Round(u, 2, MidpointRounding.AwayFromZero).ToString();
|
||||
ii.ServiceDescription = "Betreuungsarbeit";
|
||||
var u = ii.UnitCount ?? 0;
|
||||
|
||||
if (!String.IsNullOrEmpty(ii.RateFactor))
|
||||
{
|
||||
var rfStr = ii.RateFactor.Replace("%", "").Replace(",00", "").Trim();
|
||||
int rfInt = 0;
|
||||
Int32.TryParse(rfStr, out rfInt);
|
||||
decimal rateFactor = (100m + rfInt) / 100m;
|
||||
ii.RateFactor = Math.Round(rateFactor, 2, MidpointRounding.AwayFromZero).ToString();
|
||||
u *= rateFactor;
|
||||
ii.UnitCountString = Math.Round(u, 2, MidpointRounding.AwayFromZero).ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//if (start.Month == end.Month && start.Year == end.Year)
|
||||
//{
|
||||
// lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Monat {0:MMMM yyyy} folgende erbrachte Tätigkeiten:", start);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Tätigkeiten:", start, end);
|
||||
//}
|
||||
|
||||
var handy = pRO.InvoiceBase.SenderContactInformations.Where(c => c.ContactType == ContactType.business_MobilePhone).FirstOrDefault();
|
||||
if (handy != null)
|
||||
|
||||
@@ -7,6 +7,7 @@ using BeWo.Data.Entities;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BeWo.Service.DCEntityMapper
|
||||
{
|
||||
@@ -123,16 +124,14 @@ namespace BeWo.Service.DCEntityMapper
|
||||
pDataContract.ICD10DiagnosisCodes = pEntity.Diagnosis2CustomerList.Select(e => e.ICD10DiagnosisCode).ToList();
|
||||
}
|
||||
|
||||
if(pEntity.CustomerFalldaten != null)
|
||||
{
|
||||
pDataContract.FalldatenDC = MapperFactory.FalldatenDC_CustomerFalldaten.MapToNewDC(pEntity.CustomerFalldaten);
|
||||
}
|
||||
|
||||
IList<VarFieldDef> defs = DAOFactory.SearchDAO.GetVarFieldDefs(TableID.Customer);
|
||||
pDataContract.CustomerVarFields = MapperFactory.VarFieldDC_VarField.VarFieldMapToDCs(defs, pEntity.VarFieldValueList);
|
||||
|
||||
pDataContract.AssessmentSheetCategoryDCs = MapperFactory.AssessmentSheetCategoryDC_AssessmentSheetCategory.MapToNewDCs(pEntity.AssessmentSheetCategoryList);
|
||||
|
||||
pDataContract.CustomerVermittlungArbeitDC = MapperFactory.CustomerVermittlungArbeitDC_CustomerVermittlungArbeit.MapToNewDCs(pEntity.CustomerVermittlungArbeiten);
|
||||
pDataContract.CustomerWohnhilfeDC = MapperFactory.CustomerWohnhilfeDC_CustomerWohnhilfe.MapToNewDCs(pEntity.CustomerWohnhilfen);
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
|
||||
@@ -169,23 +168,6 @@ namespace BeWo.Service.DCEntityMapper
|
||||
|
||||
MapperFactory.MedikamentenverordnungslisteDC_Medikamentenverordnungsliste.MergeWithEntitys(pDataContract.Medikamentenverordnungslisten, pEntity.Medikamentenverordnungslisten);
|
||||
|
||||
if(pDataContract.FalldatenDC is object)
|
||||
{
|
||||
if(pEntity.CustomerFalldaten is null)
|
||||
{
|
||||
pEntity.CustomerFalldaten = MapperFactory.FalldatenDC_CustomerFalldaten.MapToNewEntity(pDataContract.FalldatenDC);
|
||||
}
|
||||
else
|
||||
{
|
||||
MapperFactory.FalldatenDC_CustomerFalldaten.MergeWithEntity(pDataContract.FalldatenDC, pEntity.CustomerFalldaten);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
pEntity.CustomerFalldaten = null;
|
||||
}
|
||||
|
||||
|
||||
//pEntity.Jugendamt = pDataContract.Jugendamt != null ? DAOFactory.GenericDAO.LoadByID<Organisation>(pDataContract.Jugendamt.OrganisationOid) : null;
|
||||
|
||||
//pEntity.Ansprechpartner = pDataContract.Ansprechpartner != null ? DAOFactory.GenericDAO.LoadByID<Person>(pDataContract.Ansprechpartner.PersonOid) : null;
|
||||
@@ -308,7 +290,15 @@ namespace BeWo.Service.DCEntityMapper
|
||||
|
||||
MapperFactory.ArbeitszeitDC_Arbeitszeit.MergeWithEntitys(pDataContract.Arbeitszeiten, pEntity.Arbeitszeiten);
|
||||
|
||||
return pEntity;
|
||||
MapperFactory.CustomerVermittlungArbeitDC_CustomerVermittlungArbeit.MergeWithEntitys(pDataContract.CustomerVermittlungArbeitDC, pEntity.CustomerVermittlungArbeiten);
|
||||
if (pEntity.CustomerVermittlungArbeiten is IList<CustomerVermittlungArbeit> lv && lv.Any())
|
||||
lv.DoForEach(x => x.Customer = pEntity);
|
||||
|
||||
MapperFactory.CustomerWohnhilfeDC_CustomerWohnhilfe.MergeWithEntitys(pDataContract.CustomerWohnhilfeDC, pEntity.CustomerWohnhilfen);
|
||||
if (pEntity.CustomerWohnhilfen is IList<CustomerWohnhilfe> lw && lw.Any())
|
||||
lw.DoForEach(x => x.Customer = pEntity);
|
||||
|
||||
return pEntity;
|
||||
}
|
||||
|
||||
public bool ContainsFamilyDataData(CustomerDC dc)
|
||||
|
||||
@@ -0,0 +1,136 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace BeWo.Service.DCEntityMapper
|
||||
{
|
||||
public class CustomerVermittlungArbeitDC_CustomerVermittlungArbeit : AbstractIDCEntityMapper<CustomerVermittlungArbeit, CustomerVermittlungArbeitDC>
|
||||
{
|
||||
public override CustomerVermittlungArbeitDC MergeWithDC(CustomerVermittlungArbeit pEntity, CustomerVermittlungArbeitDC pDataContract)
|
||||
{
|
||||
pDataContract.Oid = pEntity.Oid;
|
||||
pDataContract.Version = pEntity.Version;
|
||||
pDataContract.Notice = pEntity.Notice;
|
||||
pDataContract.EigenesAktenzeichen = pEntity.EigenesAktenzeichen;
|
||||
pDataContract.Auftragseingang = pEntity.Auftragseingang;
|
||||
pDataContract.Tagessatze = pEntity.Tagessatze;
|
||||
pDataContract.Tagessatzhohe = pEntity.Tagessatzhohe;
|
||||
pDataContract.HoheDerGeldstrafe = pEntity.HoheDerGeldstrafe;
|
||||
pDataContract.ZuLeistendeArbeitsstunden = pEntity.ZuLeistendeArbeitsstunden;
|
||||
pDataContract.Hinweis = pEntity.Hinweis;
|
||||
pDataContract.Termin = pEntity.Termin;
|
||||
pDataContract.CustomerVermittlungBearbeitungsstatus = pEntity.CustomerVermittlungBearbeitungsstatus;
|
||||
pDataContract.Auftragsruckgabe = pEntity.Auftragsruckgabe;
|
||||
pDataContract.Verlauf = pEntity.Verlauf;
|
||||
pDataContract.AbgeleisteteStunden = pEntity.AbgeleisteteStunden;
|
||||
pDataContract.ErsparteHafttage = pEntity.ErsparteHafttage;
|
||||
pDataContract.GeleisteteRatenzahlung = pEntity.GeleisteteRatenzahlung;
|
||||
pDataContract.Bemerkung = pEntity.Bemerkung;
|
||||
pDataContract.GeleisteteEinmalzahlung = pEntity.GeleisteteEinmalzahlung;
|
||||
pDataContract.GrundArbeitsunfahig = pEntity.GrundArbeitsunfahig;
|
||||
pDataContract.GrundSuchtproblem = pEntity.GrundSuchtproblem;
|
||||
pDataContract.GrundPsychischeProbleme = pEntity.GrundPsychischeProbleme;
|
||||
pDataContract.GrundKeineMotivation = pEntity.GrundKeineMotivation;
|
||||
pDataContract.GrundInHaft = pEntity.GrundInHaft;
|
||||
pDataContract.GrundUnbekannt = pEntity.GrundUnbekannt;
|
||||
pDataContract.GrundKeinKontakt = pEntity.GrundKeinKontakt;
|
||||
pDataContract.GrundNichtAngetreten = pEntity.GrundNichtAngetreten;
|
||||
pDataContract.GrundAbbruchDerTatigkeit = pEntity.GrundAbbruchDerTatigkeit;
|
||||
pDataContract.GrundWiderruf = pEntity.GrundWiderruf;
|
||||
pDataContract.Grund459StPO = pEntity.Grund459StPO;
|
||||
pDataContract.GrundAusbleibenDerZahlung = pEntity.GrundAusbleibenDerZahlung;
|
||||
pDataContract.BesonderheitMehrfacheBeauftragung = pEntity.BesonderheitMehrfacheBeauftragung;
|
||||
pDataContract.BesonderheitMehrfacheVermittlung = pEntity.BesonderheitMehrfacheVermittlung;
|
||||
pDataContract.BesonderheitVermittlungAusHaft = pEntity.BesonderheitVermittlungAusHaft;
|
||||
pDataContract.BesonderheitDurchBGBWAufgesucht = pEntity.BesonderheitDurchBGBWAufgesucht;
|
||||
|
||||
if (pEntity.Auftragsherkunft != null)
|
||||
{
|
||||
pDataContract.Auftragsherkunft = MapperFactory.ValueListEntryDC_ValueListEntry.MapToNewDC(pEntity.Auftragsherkunft);
|
||||
}
|
||||
|
||||
if (pEntity.Vermittlungsgrundlage != null)
|
||||
{
|
||||
pDataContract.Vermittlungsgrundlage = MapperFactory.ValueListEntryDC_ValueListEntry.MapToNewDC(pEntity.Vermittlungsgrundlage);
|
||||
}
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
|
||||
public override CustomerVermittlungArbeit MergeWithEntity(CustomerVermittlungArbeitDC pDataContract, CustomerVermittlungArbeit pEntity)
|
||||
{
|
||||
pEntity.Oid = pDataContract.Oid;
|
||||
pEntity.Version = pDataContract.Version;
|
||||
pEntity.Notice = pDataContract.Notice;
|
||||
pEntity.EigenesAktenzeichen = pDataContract.EigenesAktenzeichen;
|
||||
pEntity.Auftragseingang = pDataContract.Auftragseingang;
|
||||
pEntity.Tagessatze = pDataContract.Tagessatze;
|
||||
pEntity.Tagessatzhohe = pDataContract.Tagessatzhohe;
|
||||
pEntity.HoheDerGeldstrafe = pDataContract.HoheDerGeldstrafe;
|
||||
pEntity.ZuLeistendeArbeitsstunden = pDataContract.ZuLeistendeArbeitsstunden;
|
||||
pEntity.Hinweis = pDataContract.Hinweis;
|
||||
pEntity.Termin = pDataContract.Termin;
|
||||
pEntity.CustomerVermittlungBearbeitungsstatus = pDataContract.CustomerVermittlungBearbeitungsstatus;
|
||||
pEntity.Auftragsruckgabe = pDataContract.Auftragsruckgabe;
|
||||
pEntity.Verlauf = pDataContract.Verlauf;
|
||||
pEntity.AbgeleisteteStunden = pDataContract.AbgeleisteteStunden;
|
||||
pEntity.ErsparteHafttage = pDataContract.ErsparteHafttage;
|
||||
pEntity.GeleisteteRatenzahlung = pDataContract.GeleisteteRatenzahlung;
|
||||
pEntity.Bemerkung = pDataContract.Bemerkung;
|
||||
pEntity.GeleisteteEinmalzahlung = pDataContract.GeleisteteEinmalzahlung;
|
||||
pEntity.GrundArbeitsunfahig = pDataContract.GrundArbeitsunfahig;
|
||||
pEntity.GrundSuchtproblem = pDataContract.GrundSuchtproblem;
|
||||
pEntity.GrundPsychischeProbleme = pDataContract.GrundPsychischeProbleme;
|
||||
pEntity.GrundKeineMotivation = pDataContract.GrundKeineMotivation;
|
||||
pEntity.GrundInHaft = pDataContract.GrundInHaft;
|
||||
pEntity.GrundUnbekannt = pDataContract.GrundUnbekannt;
|
||||
pEntity.GrundKeinKontakt = pDataContract.GrundKeinKontakt;
|
||||
pEntity.GrundNichtAngetreten = pDataContract.GrundNichtAngetreten;
|
||||
pEntity.GrundAbbruchDerTatigkeit = pDataContract.GrundAbbruchDerTatigkeit;
|
||||
pEntity.GrundWiderruf = pDataContract.GrundWiderruf;
|
||||
pEntity.Grund459StPO = pDataContract.Grund459StPO;
|
||||
pEntity.GrundAusbleibenDerZahlung = pDataContract.GrundAusbleibenDerZahlung;
|
||||
pEntity.BesonderheitMehrfacheBeauftragung = pDataContract.BesonderheitMehrfacheBeauftragung;
|
||||
pEntity.BesonderheitMehrfacheVermittlung = pDataContract.BesonderheitMehrfacheVermittlung;
|
||||
pEntity.BesonderheitVermittlungAusHaft = pDataContract.BesonderheitVermittlungAusHaft;
|
||||
pEntity.BesonderheitDurchBGBWAufgesucht = pDataContract.BesonderheitDurchBGBWAufgesucht;
|
||||
|
||||
if (pDataContract.Auftragsherkunft == null)
|
||||
{
|
||||
pEntity.Auftragsherkunft = null;
|
||||
}
|
||||
else if (pEntity.Auftragsherkunft == null || pEntity.Auftragsherkunft.Oid != pDataContract.Auftragsherkunft.ValueListEntryOid)
|
||||
{
|
||||
pEntity.Auftragsherkunft = DAOFactory.GenericDAO.LoadByID<ValueListEntry>(pDataContract.Auftragsherkunft.ValueListEntryOid.Value);
|
||||
}
|
||||
|
||||
if (pDataContract.Vermittlungsgrundlage == null)
|
||||
{
|
||||
pEntity.Vermittlungsgrundlage = null;
|
||||
}
|
||||
else if (pEntity.Vermittlungsgrundlage == null || pEntity.Vermittlungsgrundlage.Oid != pDataContract.Vermittlungsgrundlage.ValueListEntryOid)
|
||||
{
|
||||
pEntity.Vermittlungsgrundlage = DAOFactory.GenericDAO.LoadByID<ValueListEntry>(pDataContract.Vermittlungsgrundlage.ValueListEntryOid.Value);
|
||||
}
|
||||
|
||||
return pEntity;
|
||||
}
|
||||
|
||||
protected override bool AreDCAndEntityEqual(CustomerVermittlungArbeitDC pDC, CustomerVermittlungArbeit pEntity)
|
||||
{
|
||||
if (pDC.Oid == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return pDC.Oid == pEntity.Oid;
|
||||
}
|
||||
}
|
||||
}
|
||||
174
Service/DCEntityMapper/CustomerWohnhilfeDC_CustomerWohnhilfe.cs
Normal file
174
Service/DCEntityMapper/CustomerWohnhilfeDC_CustomerWohnhilfe.cs
Normal file
@@ -0,0 +1,174 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.Service.DCEntityMapper
|
||||
{
|
||||
public class CustomerWohnhilfeDC_CustomerWohnhilfe : AbstractIDCEntityMapper<CustomerWohnhilfe, CustomerWohnhilfeDC>
|
||||
{
|
||||
public override CustomerWohnhilfeDC MergeWithDC(CustomerWohnhilfe pEntity, CustomerWohnhilfeDC pDataContract)
|
||||
{
|
||||
pDataContract.Oid = pEntity.Oid;
|
||||
pDataContract.Version = pEntity.Version;
|
||||
pDataContract.Notice = pEntity.Notice;
|
||||
pDataContract.Displayname = pEntity.Displayname;
|
||||
pDataContract.BereichBundDC = new CustomerWohnhilfeBereichBundDC
|
||||
{
|
||||
Verbandszugehorigkeit = pEntity.Verbandszugehorigkeit,
|
||||
Geschlecht = pEntity.Geschlecht,
|
||||
AlterAmStichtag = pEntity.AlterAmStichtag,
|
||||
Haushaltsgrosse = pEntity.Haushaltsgrosse,
|
||||
BerichtseinheitID = pEntity.BerichtseinheitID,
|
||||
Unterbringungsart = pEntity.Unterbringungsart,
|
||||
OrtDerEinrichtung = pEntity.OrtDerEinrichtung,
|
||||
Angebot = pEntity.Angebot
|
||||
};
|
||||
pDataContract.BereichEinkommenUndArbeitDC = new CustomerWohnhilfeBereichEinkommenUndArbeitDC
|
||||
{
|
||||
BeginnEinkommenssituation = pEntity.BeginnEinkommenssituation,
|
||||
EndeEinkommenssituation = pEntity.EndeEinkommenssituation,
|
||||
BeginnAufstockungEinkommen = pEntity.BeginnAufstockungEinkommen,
|
||||
EndeAufstockungEinkommen = pEntity.EndeAufstockungEinkommen,
|
||||
BeginnEigenesBankkonto = pEntity.BeginnEigenesBankkonto,
|
||||
EndeEigenesBankkonto = pEntity.EndeEigenesBankkonto,
|
||||
Uberschuldung = pEntity.Uberschuldung,
|
||||
Berufsabschluss = pEntity.Berufsabschluss,
|
||||
ErwerbsfahigkeitSinnSGB = pEntity.ErwerbsfahigkeitSinnSGB,
|
||||
BeginnBeschaftigungsstatus = pEntity.BeginnBeschaftigungsstatus,
|
||||
EndeBeschaftigungsstatus = pEntity.EndeBeschaftigungsstatus,
|
||||
DauerArbeitslosigkeit = pEntity.DauerArbeitslosigkeit
|
||||
};
|
||||
pDataContract.BereichSozialeKontakteDC = new CustomerWohnhilfeBereichSozialeKontakteDC
|
||||
{
|
||||
BeginnSozialeKontakte = pEntity.BeginnSozialeKontakte,
|
||||
BeginnKontaktPartner = pEntity.BeginnKontaktPartner,
|
||||
BeginnKontaktMindKinder = pEntity.BeginnKontaktMindKinder,
|
||||
BeginnKontaktVolljahrKinderElternVerwandten = pEntity.BeginnKontaktVolljahrKinderElternVerwandten,
|
||||
BeginnKontaktFreundenBekannten = pEntity.BeginnKontaktFreundenBekannten,
|
||||
BeginnKontaktSelbsthilfe = pEntity.BeginnKontaktSelbsthilfe,
|
||||
BeginnKontaktSonstige = pEntity.BeginnKontaktSonstige,
|
||||
EndeSozialeKontakte = pEntity.EndeSozialeKontakte,
|
||||
EndeKontaktPartner = pEntity.EndeKontaktPartner,
|
||||
EndeKontaktMindKinder = pEntity.EndeKontaktMindKinder,
|
||||
EndeKontaktVolljahrKinderElternVerwandten = pEntity.EndeKontaktVolljahrKinderElternVerwandten,
|
||||
EndeKontaktFreundenBekannten = pEntity.EndeKontaktFreundenBekannten,
|
||||
EndeKontaktSelbsthilfe = pEntity.EndeKontaktSelbsthilfe,
|
||||
EndeKontaktSonstige = pEntity.EndeKontaktSonstige,
|
||||
BeginnKrankenversicherung = pEntity.BeginnKrankenversicherung,
|
||||
EndeKrankenversicherung = pEntity.EndeKrankenversicherung,
|
||||
BeginnKontaktArzt = pEntity.BeginnKontaktArzt,
|
||||
EndeKontaktArzt = pEntity.EndeKontaktArzt,
|
||||
VorlageSchwerbehindertenausweises = pEntity.VorlageSchwerbehindertenausweises
|
||||
};
|
||||
pDataContract.BereichSozialstrukturDC = new CustomerWohnhilfeBereichSozialstrukturDC
|
||||
{
|
||||
Bundesland = pEntity.Bundesland,
|
||||
IsWohnungslosenhilfe = pEntity.IsWohnungslosenhilfe,
|
||||
ArtDesHilfeangebots = pEntity.ArtDesHilfeangebots,
|
||||
Betreuungsbeginn = pEntity.Betreuungsbeginn,
|
||||
Betreuungsende = pEntity.Betreuungsende,
|
||||
BetreuungsdauerInTagen = pEntity.BetreuungsdauerInTagen,
|
||||
ArtDerBeendigung = pEntity.ArtDerBeendigung,
|
||||
Geburtsdatum = pEntity.Geburtsdatum,
|
||||
Geschlechtidentitat = pEntity.Geschlechtidentitat,
|
||||
Staatsangehorigkeit = pEntity.Staatsangehorigkeit,
|
||||
Aufenthaltsstatus = pEntity.Aufenthaltsstatus,
|
||||
Migrationshintergrund = pEntity.Migrationshintergrund,
|
||||
HochsterSchulabschluss = pEntity.HochsterSchulabschluss,
|
||||
Familienstand = pEntity.Familienstand,
|
||||
Haushaltsstruktur = pEntity.Haushaltsstruktur,
|
||||
EigeneMindKinderAuserhalbHaushaltsstruktur = pEntity.EigeneMindKinderAuserhalbHaushaltsstruktur
|
||||
};
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
|
||||
public override CustomerWohnhilfe MergeWithEntity(CustomerWohnhilfeDC pDataContract, CustomerWohnhilfe pEntity)
|
||||
{
|
||||
pEntity.Oid = pDataContract.Oid;
|
||||
pEntity.Version = pDataContract.Version;
|
||||
pEntity.Notice = pDataContract.Notice;
|
||||
|
||||
pEntity.Displayname = pDataContract.Displayname;
|
||||
|
||||
pEntity.Verbandszugehorigkeit = pDataContract.BereichBundDC.Verbandszugehorigkeit;
|
||||
pEntity.Geschlecht = pDataContract.BereichBundDC.Geschlecht;
|
||||
pEntity.AlterAmStichtag = pDataContract.BereichBundDC.AlterAmStichtag;
|
||||
pEntity.Haushaltsgrosse = pDataContract.BereichBundDC.Haushaltsgrosse;
|
||||
pEntity.BerichtseinheitID = pDataContract.BereichBundDC.BerichtseinheitID;
|
||||
pEntity.Unterbringungsart = pDataContract.BereichBundDC.Unterbringungsart;
|
||||
pEntity.OrtDerEinrichtung = pDataContract.BereichBundDC.OrtDerEinrichtung;
|
||||
pEntity.Angebot = pDataContract.BereichBundDC.Angebot;
|
||||
pEntity.BeginnEinkommenssituation = pDataContract.BereichEinkommenUndArbeitDC.BeginnEinkommenssituation;
|
||||
pEntity.EndeEinkommenssituation = pDataContract.BereichEinkommenUndArbeitDC.EndeEinkommenssituation;
|
||||
pEntity.BeginnAufstockungEinkommen = pDataContract.BereichEinkommenUndArbeitDC.BeginnAufstockungEinkommen;
|
||||
pEntity.EndeAufstockungEinkommen = pDataContract.BereichEinkommenUndArbeitDC.EndeAufstockungEinkommen;
|
||||
pEntity.BeginnEigenesBankkonto = pDataContract.BereichEinkommenUndArbeitDC.BeginnEigenesBankkonto;
|
||||
pEntity.EndeEigenesBankkonto = pDataContract.BereichEinkommenUndArbeitDC.EndeEigenesBankkonto;
|
||||
pEntity.Uberschuldung = pDataContract.BereichEinkommenUndArbeitDC.Uberschuldung;
|
||||
pEntity.Berufsabschluss = pDataContract.BereichEinkommenUndArbeitDC.Berufsabschluss;
|
||||
pEntity.ErwerbsfahigkeitSinnSGB = pDataContract.BereichEinkommenUndArbeitDC.ErwerbsfahigkeitSinnSGB;
|
||||
pEntity.BeginnBeschaftigungsstatus = pDataContract.BereichEinkommenUndArbeitDC.BeginnBeschaftigungsstatus;
|
||||
pEntity.EndeBeschaftigungsstatus = pDataContract.BereichEinkommenUndArbeitDC.EndeBeschaftigungsstatus;
|
||||
pEntity.DauerArbeitslosigkeit = pDataContract.BereichEinkommenUndArbeitDC.DauerArbeitslosigkeit;
|
||||
pEntity.BeginnSozialeKontakte = pDataContract.BereichSozialeKontakteDC.BeginnSozialeKontakte;
|
||||
pEntity.BeginnKontaktPartner = pDataContract.BereichSozialeKontakteDC.BeginnKontaktPartner;
|
||||
pEntity.BeginnKontaktMindKinder = pDataContract.BereichSozialeKontakteDC.BeginnKontaktMindKinder;
|
||||
pEntity.BeginnKontaktVolljahrKinderElternVerwandten = pDataContract.BereichSozialeKontakteDC.BeginnKontaktVolljahrKinderElternVerwandten;
|
||||
pEntity.BeginnKontaktFreundenBekannten = pDataContract.BereichSozialeKontakteDC.BeginnKontaktFreundenBekannten;
|
||||
pEntity.BeginnKontaktSelbsthilfe = pDataContract.BereichSozialeKontakteDC.BeginnKontaktSelbsthilfe;
|
||||
pEntity.BeginnKontaktSonstige = pDataContract.BereichSozialeKontakteDC.BeginnKontaktSonstige;
|
||||
pEntity.EndeSozialeKontakte = pDataContract.BereichSozialeKontakteDC.EndeSozialeKontakte;
|
||||
pEntity.EndeKontaktPartner = pDataContract.BereichSozialeKontakteDC.EndeKontaktPartner;
|
||||
pEntity.EndeKontaktMindKinder = pDataContract.BereichSozialeKontakteDC.EndeKontaktMindKinder;
|
||||
pEntity.EndeKontaktVolljahrKinderElternVerwandten = pDataContract.BereichSozialeKontakteDC.EndeKontaktVolljahrKinderElternVerwandten;
|
||||
pEntity.EndeKontaktFreundenBekannten = pDataContract.BereichSozialeKontakteDC.EndeKontaktFreundenBekannten;
|
||||
pEntity.EndeKontaktSelbsthilfe = pDataContract.BereichSozialeKontakteDC.EndeKontaktSelbsthilfe;
|
||||
pEntity.EndeKontaktSonstige = pDataContract.BereichSozialeKontakteDC.EndeKontaktSonstige;
|
||||
pEntity.BeginnKrankenversicherung = pDataContract.BereichSozialeKontakteDC.BeginnKrankenversicherung;
|
||||
pEntity.EndeKrankenversicherung = pDataContract.BereichSozialeKontakteDC.EndeKrankenversicherung;
|
||||
pEntity.BeginnKontaktArzt = pDataContract.BereichSozialeKontakteDC.BeginnKontaktArzt;
|
||||
pEntity.EndeKontaktArzt = pDataContract.BereichSozialeKontakteDC.EndeKontaktArzt;
|
||||
pEntity.VorlageSchwerbehindertenausweises = pDataContract.BereichSozialeKontakteDC.VorlageSchwerbehindertenausweises;
|
||||
pEntity.Bundesland = pDataContract.BereichSozialstrukturDC.Bundesland;
|
||||
pEntity.ArtDesHilfeangebots = pDataContract.BereichSozialstrukturDC.ArtDesHilfeangebots;
|
||||
pEntity.Betreuungsbeginn = pDataContract.BereichSozialstrukturDC.Betreuungsbeginn;
|
||||
pEntity.Betreuungsende = pDataContract.BereichSozialstrukturDC.Betreuungsende;
|
||||
pEntity.BetreuungsdauerInTagen = pDataContract.BereichSozialstrukturDC.BetreuungsdauerInTagen;
|
||||
pEntity.ArtDerBeendigung = pDataContract.BereichSozialstrukturDC.ArtDerBeendigung;
|
||||
pEntity.Geburtsdatum = pDataContract.BereichSozialstrukturDC.Geburtsdatum;
|
||||
pEntity.Geschlechtidentitat = pDataContract.BereichSozialstrukturDC.Geschlechtidentitat;
|
||||
pEntity.Staatsangehorigkeit = pDataContract.BereichSozialstrukturDC.Staatsangehorigkeit;
|
||||
pEntity.Aufenthaltsstatus = pDataContract.BereichSozialstrukturDC.Aufenthaltsstatus;
|
||||
pEntity.Migrationshintergrund = pDataContract.BereichSozialstrukturDC.Migrationshintergrund;
|
||||
pEntity.HochsterSchulabschluss = pDataContract.BereichSozialstrukturDC.HochsterSchulabschluss;
|
||||
pEntity.Familienstand = pDataContract.BereichSozialstrukturDC.Familienstand;
|
||||
pEntity.Haushaltsstruktur = pDataContract.BereichSozialstrukturDC.Haushaltsstruktur;
|
||||
pEntity.EigeneMindKinderAuserhalbHaushaltsstruktur = pDataContract.BereichSozialstrukturDC.EigeneMindKinderAuserhalbHaushaltsstruktur;
|
||||
|
||||
if (pDataContract.BereichSozialstrukturDC.IsWohnungslosenhilfe.HasValue)
|
||||
pEntity.IsWohnungslosenhilfe = pDataContract.BereichSozialstrukturDC.IsWohnungslosenhilfe.Value;
|
||||
else
|
||||
pEntity.IsWohnungslosenhilfe = true;
|
||||
|
||||
return pEntity;
|
||||
}
|
||||
|
||||
protected override bool AreDCAndEntityEqual(CustomerWohnhilfeDC pDC, CustomerWohnhilfe pEntity)
|
||||
{
|
||||
if (pDC.Oid == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return pDC.Oid == pEntity.Oid;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,125 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.Service.DCEntityMapper
|
||||
{
|
||||
public class FalldatenDC_CustomerFalldaten : AbstractIDCEntityMapper<CustomerFalldaten, FalldatenDC>
|
||||
{
|
||||
public override FalldatenDC MergeWithDC(CustomerFalldaten pEntity, FalldatenDC pDataContract)
|
||||
{
|
||||
pDataContract.EigenesAktenzeichen = pEntity.EigenesAktenzeichen;
|
||||
pDataContract.Auftragseingang = pEntity.Auftragseingang;
|
||||
pDataContract.Tagessatze = pEntity.Tagessatze;
|
||||
pDataContract.Tagessatzhohe = pEntity.Tagessatzhohe;
|
||||
pDataContract.HoheDerGeldstrafe = pEntity.HoheDerGeldstrafe;
|
||||
pDataContract.ZuLeistendeArbeitsstunden = pEntity.ZuLeistendeArbeitsstunden;
|
||||
pDataContract.Hinweis = pEntity.Hinweis;
|
||||
pDataContract.Termin = pEntity.Termin;
|
||||
pDataContract.FalldatenBearbeitungsstatus = pEntity.FalldatenBearbeitungsstatus;
|
||||
pDataContract.Auftragsruckgabe = pEntity.Auftragsruckgabe;
|
||||
pDataContract.Verlauf = pEntity.Verlauf;
|
||||
pDataContract.AbgeleisteteStunden = pEntity.AbgeleisteteStunden;
|
||||
pDataContract.ErsparteHafttage = pEntity.ErsparteHafttage;
|
||||
pDataContract.GeleisteteRatenzahlung = pEntity.GeleisteteRatenzahlung;
|
||||
pDataContract.Bemerkung = pEntity.Bemerkung;
|
||||
pDataContract.GeleisteteEinmalzahlung = pEntity.GeleisteteEinmalzahlung;
|
||||
pDataContract.GrundArbeitsunfahig = pEntity.GrundArbeitsunfahig;
|
||||
pDataContract.GrundSuchtproblem = pEntity.GrundSuchtproblem;
|
||||
pDataContract.GrundPsychischeProbleme = pEntity.GrundPsychischeProbleme;
|
||||
pDataContract.GrundKeineMotivation = pEntity.GrundKeineMotivation;
|
||||
pDataContract.GrundInHaft = pEntity.GrundInHaft;
|
||||
pDataContract.GrundUnbekannt = pEntity.GrundUnbekannt;
|
||||
pDataContract.GrundKeinKontakt = pEntity.GrundKeinKontakt;
|
||||
pDataContract.GrundNichtAngetreten = pEntity.GrundNichtAngetreten;
|
||||
pDataContract.GrundAbbruchDerTatigkeit = pEntity.GrundAbbruchDerTatigkeit;
|
||||
pDataContract.GrundWiderruf = pEntity.GrundWiderruf;
|
||||
pDataContract.Grund459StPO = pEntity.Grund459StPO;
|
||||
pDataContract.GrundAusbleibenDerZahlung = pEntity.GrundAusbleibenDerZahlung;
|
||||
pDataContract.BesonderheitMehrfacheBeauftragung = pEntity.BesonderheitMehrfacheBeauftragung;
|
||||
pDataContract.BesonderheitMehrfacheVermittlung = pEntity.BesonderheitMehrfacheVermittlung;
|
||||
pDataContract.BesonderheitVermittlungAusHaft = pEntity.BesonderheitVermittlungAusHaft;
|
||||
pDataContract.BesonderheitDurchBGBWAufgesucht = pEntity.BesonderheitDurchBGBWAufgesucht;
|
||||
|
||||
if (pEntity.Auftragsherkunft != null)
|
||||
{
|
||||
pDataContract.Auftragsherkunft = MapperFactory.ValueListEntryDC_ValueListEntry.MapToNewDC(pEntity.Auftragsherkunft);
|
||||
}
|
||||
if (pEntity.Vermittlungsgrundlage != null)
|
||||
{
|
||||
pDataContract.Vermittlungsgrundlage = MapperFactory.ValueListEntryDC_ValueListEntry.MapToNewDC(pEntity.Vermittlungsgrundlage);
|
||||
}
|
||||
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
|
||||
public override CustomerFalldaten MergeWithEntity(FalldatenDC pDataContract, CustomerFalldaten pEntity)
|
||||
{
|
||||
pEntity.EigenesAktenzeichen = pDataContract.EigenesAktenzeichen;
|
||||
pEntity.Auftragseingang = pDataContract.Auftragseingang;
|
||||
pEntity.Tagessatze = pDataContract.Tagessatze;
|
||||
pEntity.Tagessatzhohe = pDataContract.Tagessatzhohe;
|
||||
pEntity.HoheDerGeldstrafe = pDataContract.HoheDerGeldstrafe;
|
||||
pEntity.ZuLeistendeArbeitsstunden = pDataContract.ZuLeistendeArbeitsstunden;
|
||||
pEntity.Hinweis = pDataContract.Hinweis;
|
||||
pEntity.Termin = pDataContract.Termin;
|
||||
pEntity.FalldatenBearbeitungsstatus = pDataContract.FalldatenBearbeitungsstatus;
|
||||
pEntity.Auftragsruckgabe = pDataContract.Auftragsruckgabe;
|
||||
pEntity.Verlauf = pDataContract.Verlauf;
|
||||
pEntity.AbgeleisteteStunden = pDataContract.AbgeleisteteStunden;
|
||||
pEntity.ErsparteHafttage = pDataContract.ErsparteHafttage;
|
||||
pEntity.GeleisteteRatenzahlung = pDataContract.GeleisteteRatenzahlung;
|
||||
pEntity.Bemerkung = pDataContract.Bemerkung;
|
||||
pEntity.GeleisteteEinmalzahlung = pDataContract.GeleisteteEinmalzahlung;
|
||||
pEntity.GrundArbeitsunfahig = pDataContract.GrundArbeitsunfahig;
|
||||
pEntity.GrundSuchtproblem = pDataContract.GrundSuchtproblem;
|
||||
pEntity.GrundPsychischeProbleme = pDataContract.GrundPsychischeProbleme;
|
||||
pEntity.GrundKeineMotivation = pDataContract.GrundKeineMotivation;
|
||||
pEntity.GrundInHaft = pDataContract.GrundInHaft;
|
||||
pEntity.GrundUnbekannt = pDataContract.GrundUnbekannt;
|
||||
pEntity.GrundKeinKontakt = pDataContract.GrundKeinKontakt;
|
||||
pEntity.GrundNichtAngetreten = pDataContract.GrundNichtAngetreten;
|
||||
pEntity.GrundAbbruchDerTatigkeit = pDataContract.GrundAbbruchDerTatigkeit;
|
||||
pEntity.GrundWiderruf = pDataContract.GrundWiderruf;
|
||||
pEntity.Grund459StPO = pDataContract.Grund459StPO;
|
||||
pEntity.GrundAusbleibenDerZahlung = pDataContract.GrundAusbleibenDerZahlung;
|
||||
pEntity.BesonderheitMehrfacheBeauftragung = pDataContract.BesonderheitMehrfacheBeauftragung;
|
||||
pEntity.BesonderheitMehrfacheVermittlung = pDataContract.BesonderheitMehrfacheVermittlung;
|
||||
pEntity.BesonderheitVermittlungAusHaft = pDataContract.BesonderheitVermittlungAusHaft;
|
||||
pEntity.BesonderheitDurchBGBWAufgesucht = pDataContract.BesonderheitDurchBGBWAufgesucht;
|
||||
|
||||
if (pDataContract.Auftragsherkunft == null)
|
||||
{
|
||||
pEntity.Auftragsherkunft = null;
|
||||
}
|
||||
else if (pEntity.Auftragsherkunft == null || pEntity.Auftragsherkunft.Oid != pDataContract.Auftragsherkunft.ValueListEntryOid)
|
||||
{
|
||||
pEntity.Auftragsherkunft = DAOFactory.GenericDAO.LoadByID<ValueListEntry>(pDataContract.Auftragsherkunft.ValueListEntryOid.Value);
|
||||
}
|
||||
|
||||
if (pDataContract.Vermittlungsgrundlage == null)
|
||||
{
|
||||
pEntity.Vermittlungsgrundlage = null;
|
||||
}
|
||||
else if (pEntity.Vermittlungsgrundlage == null || pEntity.Vermittlungsgrundlage.Oid != pDataContract.Vermittlungsgrundlage.ValueListEntryOid)
|
||||
{
|
||||
pEntity.Vermittlungsgrundlage = DAOFactory.GenericDAO.LoadByID<ValueListEntry>(pDataContract.Vermittlungsgrundlage.ValueListEntryOid.Value);
|
||||
}
|
||||
|
||||
return pEntity;
|
||||
}
|
||||
|
||||
protected override bool AreDCAndEntityEqual(FalldatenDC pDC, CustomerFalldaten pEntity)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -302,10 +302,12 @@ namespace BeWo.Service.DCEntityMapper
|
||||
|
||||
private static WohneinheitBelegungDC_WohneinheitBelegung _WohneinheitBelegungDC_WohneinheitBelegung;
|
||||
|
||||
private static FalldatenDC_CustomerFalldaten _FalldatenDC_CustomerFalldaten;
|
||||
|
||||
private static ImageDC_Image _ImageDC_Image;
|
||||
|
||||
private static CustomerVermittlungArbeitDC_CustomerVermittlungArbeit _CustomerVermittlungArbeitDC_CustomerVermittlungArbeit;
|
||||
|
||||
private static CustomerWohnhilfeDC_CustomerWohnhilfe _CustomerWohnhilfeDC_CustomerWohnhilfe;
|
||||
|
||||
public static MedRecordDC_MedRecord MedRecordDC_MedRecord =>
|
||||
_MedRecordDC_MedRecord ?? (_MedRecordDC_MedRecord = new MedRecordDC_MedRecord());
|
||||
|
||||
@@ -763,10 +765,13 @@ namespace BeWo.Service.DCEntityMapper
|
||||
public static WohneinheitBelegungDC_WohneinheitBelegung WohneinheitBelegungDC_WohneinheitBelegung =>
|
||||
_WohneinheitBelegungDC_WohneinheitBelegung ?? (_WohneinheitBelegungDC_WohneinheitBelegung = new WohneinheitBelegungDC_WohneinheitBelegung());
|
||||
|
||||
public static FalldatenDC_CustomerFalldaten FalldatenDC_CustomerFalldaten =>
|
||||
_FalldatenDC_CustomerFalldaten ?? (_FalldatenDC_CustomerFalldaten = new FalldatenDC_CustomerFalldaten());
|
||||
|
||||
public static ImageDC_Image ImageDC_Image =>
|
||||
_ImageDC_Image ?? (_ImageDC_Image = new ImageDC_Image());
|
||||
|
||||
public static CustomerVermittlungArbeitDC_CustomerVermittlungArbeit CustomerVermittlungArbeitDC_CustomerVermittlungArbeit =>
|
||||
_CustomerVermittlungArbeitDC_CustomerVermittlungArbeit ?? (_CustomerVermittlungArbeitDC_CustomerVermittlungArbeit = new CustomerVermittlungArbeitDC_CustomerVermittlungArbeit());
|
||||
|
||||
public static CustomerWohnhilfeDC_CustomerWohnhilfe CustomerWohnhilfeDC_CustomerWohnhilfe =>
|
||||
_CustomerWohnhilfeDC_CustomerWohnhilfe ?? (_CustomerWohnhilfeDC_CustomerWohnhilfe = new CustomerWohnhilfeDC_CustomerWohnhilfe());
|
||||
}
|
||||
}
|
||||
@@ -144,6 +144,11 @@ namespace BeWo.Service.Plugins
|
||||
|
||||
return context.ToString();
|
||||
}
|
||||
|
||||
internal AiSettingsDC GetAiSettings(int settingsId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -808,6 +808,7 @@ namespace BeWo.Service.Plugins
|
||||
|
||||
foreach (CostBearer2SupportConcept iCBRel in pEntity.CostBearer2SupportConceptList)
|
||||
{
|
||||
dc.DefaultBrush = GetDefaultBrush(pEntity, iCBRel);
|
||||
if (!dc.CostBearerRelOids.Contains(iCBRel.Oid.Value))
|
||||
{
|
||||
var costBearer = new CompactCostBearerDC();
|
||||
@@ -857,6 +858,12 @@ namespace BeWo.Service.Plugins
|
||||
return System.Windows.Media.Brushes.Red.ToString();
|
||||
}
|
||||
|
||||
protected virtual string GetDefaultBrush(SupportConcept sc, CostBearer2SupportConcept c2s)
|
||||
{
|
||||
//Nur zum Überschreiben nötig
|
||||
return null;
|
||||
}
|
||||
|
||||
private Dictionary<long, long> CreateTeamOidDict(long employeeOid)
|
||||
{
|
||||
var teamOids = new Dictionary<long, long>();
|
||||
@@ -1158,6 +1165,7 @@ namespace BeWo.Service.Plugins
|
||||
|
||||
dc.NearlyExpiredBrush = GetBrushForNearlyExpiredSupportConcept();
|
||||
dc.ExpiredBrush = GetBrushForExpiredSupportConcept();
|
||||
dc.DefaultBrush = GetDefaultBrush(sc, cb2sc);
|
||||
|
||||
var costBearer = new CompactCostBearerDC();
|
||||
|
||||
|
||||
@@ -227,8 +227,9 @@
|
||||
<Compile Include="DCEntityMapper\AddressRouteDC_AddressRoute.cs" />
|
||||
<Compile Include="DCEntityMapper\BargeldtransaktionshistoryDC_Bargeldtransaktionshistory.cs" />
|
||||
<Compile Include="DCEntityMapper\ConfirmationReceiptSignatureDC_ConfirmationReceiptSignature.cs" />
|
||||
<Compile Include="DCEntityMapper\CustomerVermittlungArbeitDC_CustomerVermittlungArbeit.cs" />
|
||||
<Compile Include="DCEntityMapper\CustomerWohnhilfeDC_CustomerWohnhilfe.cs" />
|
||||
<Compile Include="DCEntityMapper\ImageDC_Image.cs" />
|
||||
<Compile Include="DCEntityMapper\FalldatenDC_CustomerFalldaten.cs" />
|
||||
<Compile Include="DCEntityMapper\DienstvertretungDC_Dienstvertretung.cs" />
|
||||
<Compile Include="DCEntityMapper\DokumentvorlageDC_Dokumentvorlage.cs" />
|
||||
<Compile Include="DCEntityMapper\AdditionalServiceNoticeDC_AdditionalServiceNotice.cs" />
|
||||
|
||||
@@ -1379,5 +1379,10 @@ namespace BeWo.Service.ServiceContracts
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
AiChatDC CreateAiQueryForObjects(AiChatDC acdc, long objectTid);
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
AiSettingsDC GetAiSettings(int settingsId);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -8963,6 +8963,21 @@ namespace BeWo.Service.ServiceImplementations
|
||||
throw Utils.CreateBeWoFaultException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public AiSettingsDC GetAiSettings(int settingsId)
|
||||
{
|
||||
try
|
||||
{
|
||||
var s = PluginLoader.FindClass<AiService>();
|
||||
|
||||
return s.GetAiSettings(settingsId);
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw Utils.CreateBeWoFaultException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class ServiceRecord2SignatureStates
|
||||
|
||||
@@ -174,9 +174,11 @@ namespace BS.Shared
|
||||
GkvTransferprotokoll = 167,
|
||||
Wohneinheit = 168,
|
||||
WohneinheitBelegung = 169,
|
||||
CustomerFalldaten = 170,
|
||||
CustomerGemeinnutzigeArbeit = 170,
|
||||
Image = 171,
|
||||
TwoFactorCode = 172
|
||||
TwoFactorCode = 172,
|
||||
CustomerWohnhilfe = 173,
|
||||
AiSettings = 174
|
||||
}
|
||||
|
||||
public enum SystemEntryID
|
||||
|
||||
@@ -890,9 +890,9 @@ namespace BS.Shared.Core
|
||||
|
||||
var nicht_abgefragt = "";// "nicht abgefragt";
|
||||
|
||||
dict.Add(FalldatenBearbeitungsstatus.NoProgress, "Keine Bearbeitung");
|
||||
dict.Add(FalldatenBearbeitungsstatus.InProgress, "In Bearbeitung");
|
||||
dict.Add(FalldatenBearbeitungsstatus.Finished, "Fertig");
|
||||
dict.Add(CustomerVermittlungBearbeitungsstatus.NoProgress, "Keine Bearbeitung");
|
||||
dict.Add(CustomerVermittlungBearbeitungsstatus.InProgress, "In Bearbeitung");
|
||||
dict.Add(CustomerVermittlungBearbeitungsstatus.Finished, "Fertig");
|
||||
|
||||
dict.Add(Verbandszugehorigkeit.Arbeiterwohlfahrt, "Arbeiterwohlfahrt");
|
||||
dict.Add(Verbandszugehorigkeit.DeutscherCaritasverband, "Deutscher Caritasverband");
|
||||
|
||||
@@ -1118,6 +1118,27 @@ namespace BS.Shared.Core
|
||||
|
||||
return string.Format("{0:n" + decimalPlaces + "} {1}", dValue, SizeSuffixes[i]);
|
||||
}
|
||||
|
||||
|
||||
public static int GetAge(DateTime birthday)
|
||||
=> GetAge(birthday, DateTime.Today);
|
||||
public static int GetAge(DateTime birthday, DateTime compareTo)
|
||||
{
|
||||
if (compareTo <= birthday)
|
||||
return -1;
|
||||
|
||||
// https://stackoverflow.com/a/1595311
|
||||
int age = compareTo.Year - birthday.Year;
|
||||
|
||||
// For leap years we need this
|
||||
if (birthday > compareTo.AddYears(-age))
|
||||
age--;
|
||||
// Don't use:
|
||||
// if (birthDate.AddYears(age) > now)
|
||||
// age--;
|
||||
|
||||
return age;
|
||||
}
|
||||
}
|
||||
|
||||
public struct NullCompareResult
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user