Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo
This commit is contained in:
@@ -894,6 +894,8 @@
|
||||
<DependentUpon>BSLogoControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Converter\AnonymizationRight2VisibilityConverter.cs" />
|
||||
<Compile Include="Converter\BooleanOrVisibilityMultiConverter.cs" />
|
||||
<Compile Include="Converter\BooleanAndVisibilityMultiConverter.cs" />
|
||||
<Compile Include="Converter\BoolNullCheckConverter.cs" />
|
||||
<Compile Include="Converter\BoolReverseConverter.cs" />
|
||||
<Compile Include="Converter\BoolEnabledToTabitemBackgroundConverter.cs" />
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
<conv:BoolVisibilityConverter x:Key="BoolVisibilityConverter" />
|
||||
<conv:BoolVisibilityMultiConverter x:Key="BoolVisibilityMultiConverter" />
|
||||
<conv:BoolVisibilityHiddenConverter x:Key="BoolVisibilityHiddenConverter" />
|
||||
<conv:BooleanAndVisibilityMultiConverter x:Key="BooleanAndVisibilityMultiConverter" />
|
||||
<conv:BooleanOrVisibilityMultiConverter x:Key="BooleanOrVisibilityMultiConverter" />
|
||||
<conv:CellColorConverter x:Key="CellColorConverter" />
|
||||
<conv:ClientType2VisibilityConverter x:Key="ClientType2VisibilityConverter" />
|
||||
<conv:CollectionContainsTag2BoolConverter x:Key="CollectionContainsTag2BoolConverter" />
|
||||
|
||||
34
BeWo/Converter/BooleanAndVisibilityMultiConverter.cs
Normal file
34
BeWo/Converter/BooleanAndVisibilityMultiConverter.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace BeWo.Converter
|
||||
{
|
||||
/// <summary>
|
||||
/// https://stackoverflow.com/a/19210037
|
||||
/// </summary>
|
||||
public class BooleanAndVisibilityMultiConverter : IMultiValueConverter
|
||||
{
|
||||
public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
foreach (object value in values)
|
||||
{
|
||||
if ((value is bool) && (bool)value == false)
|
||||
{
|
||||
return Visibility.Collapsed;
|
||||
}
|
||||
}
|
||||
return Visibility.Visible;
|
||||
}
|
||||
|
||||
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
34
BeWo/Converter/BooleanOrVisibilityMultiConverter.cs
Normal file
34
BeWo/Converter/BooleanOrVisibilityMultiConverter.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace BeWo.Converter
|
||||
{
|
||||
/// <summary>
|
||||
/// https://stackoverflow.com/a/19210037
|
||||
/// </summary>
|
||||
public class BooleanOrVisibilityMultiConverter : IMultiValueConverter
|
||||
{
|
||||
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
foreach (object value in values)
|
||||
{
|
||||
if ((value is bool) && (bool)value == true)
|
||||
{
|
||||
return Visibility.Visible;
|
||||
}
|
||||
}
|
||||
return Visibility.Collapsed;
|
||||
}
|
||||
|
||||
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,8 @@ namespace BeWo
|
||||
public enum DebugConfigMode
|
||||
{
|
||||
SimpleAutoLogin,
|
||||
FeatureWohnhilfe
|
||||
FeatureCustomerWohnhilfe,
|
||||
FeatureWohnheimWohneinheit
|
||||
}
|
||||
|
||||
public class DebugConfig
|
||||
@@ -21,7 +22,7 @@ namespace BeWo
|
||||
{
|
||||
#if DEBUG
|
||||
|
||||
return _CurrentConfig ?? (_CurrentConfig = SimpleAutoLogin);
|
||||
return _CurrentConfig ?? (_CurrentConfig = FeatureWohnheimWohneinheit);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -41,11 +42,18 @@ namespace BeWo
|
||||
AutoLogin = true
|
||||
};
|
||||
|
||||
public static DebugConfig FeatureWohnhilfe => new DebugConfig()
|
||||
public static DebugConfig FeatureCustomerWohnhilfe => new DebugConfig()
|
||||
{
|
||||
DebugConfigMode = DebugConfigMode.FeatureWohnhilfe,
|
||||
DebugConfigMode = DebugConfigMode.FeatureCustomerWohnhilfe,
|
||||
AutoLogin = true,
|
||||
SelectView = UIContext.Customer
|
||||
};
|
||||
|
||||
public static DebugConfig FeatureWohnheimWohneinheit => new DebugConfig()
|
||||
{
|
||||
DebugConfigMode = DebugConfigMode.FeatureWohnheimWohneinheit,
|
||||
AutoLogin = true,
|
||||
SelectView = UIContext.Wohnheim
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7489,6 +7489,11 @@
|
||||
<Setter Property="dx:ThemeManager.ThemeName" Value="Office2010Black" />
|
||||
|
||||
</Style>
|
||||
<Style x:Key="MyDesignStyle" TargetType="UserControl">
|
||||
<Setter Property="Background" Value="White" />
|
||||
<Setter Property="Height" Value="600" />
|
||||
<Setter Property="Width" Value="600" />
|
||||
</Style>
|
||||
<!-- EndRegion -->
|
||||
|
||||
</ResourceDictionary>
|
||||
@@ -1,6 +1,7 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:control="clr-namespace:BeWo.View.Controls"
|
||||
xmlns:conv="clr-namespace:BeWo.Converter"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
@@ -8,6 +9,127 @@
|
||||
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}" />
|
||||
@@ -19,10 +141,24 @@
|
||||
</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" />
|
||||
@@ -103,10 +239,11 @@
|
||||
<Setter Property="Margin" Value="3" />
|
||||
<Setter Property="VerticalAlignment" Value="Top" />
|
||||
</Style>
|
||||
|
||||
<DataTemplate x:Key="ListItemView">
|
||||
<TextBlock
|
||||
Text="{Binding Path=., Converter={StaticResource EnumTranslationConverter}}"
|
||||
TextWrapping="Wrap"
|
||||
TextWrapping="NoWrap"
|
||||
ToolTip="{Binding Path=Text, RelativeSource={RelativeSource Self}}" />
|
||||
</DataTemplate>
|
||||
<Style
|
||||
@@ -121,4 +258,72 @@
|
||||
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>
|
||||
@@ -1,60 +1,125 @@
|
||||
<UserControl x:Class="BeWo.View.Controls.CustomerSelectionControl"
|
||||
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:localsearch="clr-namespace:BeWo.View.Search" mc:Ignorable="d"
|
||||
d:DesignHeight="300" d:DesignWidth="300">
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Controls.CustomerSelectionControl"
|
||||
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:localsearch="clr-namespace:BeWo.View.Search"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
d:DesignHeight="300"
|
||||
d:DesignWidth="300"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<!--<Label x:Name="labelTitle" Content="Gruppenauswahl" FontSize="12" FontWeight="Bold" />-->
|
||||
<Grid Background="{DynamicResource CustomerListBrush}" MouseDown="btnSelectCustomer_Click" Grid.Row="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid >
|
||||
<Border x:Name="ItemContent" MinHeight="25">
|
||||
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="3,2,1,2" OpacityMask="{x:Null}" SnapsToDevicePixels="True">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<!--<Label x:Name="labelTitle" Content="Gruppenauswahl" FontSize="12" FontWeight="Bold" />-->
|
||||
<Grid
|
||||
Grid.Row="1"
|
||||
Background="{DynamicResource CustomerListBrush}"
|
||||
MouseDown="btnSelectCustomer_Click">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image x:Name="img" Source="..\..\Ressources\Icons\UserGroupDisabled.png" Height="20" VerticalAlignment="Center" HorizontalAlignment="Left" Width="Auto" Visibility="Hidden" />
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock FontSize="14" Foreground="#FFD2D2D2" x:Name="FullName" Tag="{Binding}" Margin="3 2" Text="{Binding Name}" VerticalAlignment="Center" TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid>
|
||||
<Border x:Name="ItemContent" MinHeight="25">
|
||||
<Grid
|
||||
Margin="3,2,1,2"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
OpacityMask="{x:Null}"
|
||||
SnapsToDevicePixels="True">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image
|
||||
x:Name="img"
|
||||
Width="Auto"
|
||||
Height="20"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Source="..\..\Ressources\Icons\UserGroupDisabled.png"
|
||||
Visibility="Hidden" />
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock
|
||||
x:Name="FullName"
|
||||
Margin="3,2"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="14"
|
||||
Foreground="#FFD2D2D2"
|
||||
Tag="{Binding}"
|
||||
Text="{Binding Name}"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
<Button Grid.Column="2" Grid.RowSpan="3" x:Name="btnSelectCustomer"
|
||||
ToolTip="Gruppe auswählen" Tag="{Binding}" Width="26" Height="Auto" Click="btnSelectCustomer_Click" Margin="0">
|
||||
<Border Grid.RowSpan="2" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center" >
|
||||
<Canvas VerticalAlignment="Center" HorizontalAlignment="Center" Width="20" Height="20" Margin="0,0,0,0" >
|
||||
<Ellipse x:Name="lupe1" Stroke="#FFFFFFFF" Height="14" Width="14" StrokeThickness="2" Fill="{x:Null}" />
|
||||
<Line x:Name="lupe2" Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFFFFFFF" Canvas.Left="10" Canvas.Top="11.4" Y1="0" Y2="6" StrokeThickness="3" X2="5" />
|
||||
<Button
|
||||
x:Name="btnSelectCustomer"
|
||||
Grid.RowSpan="3"
|
||||
Grid.Column="2"
|
||||
Width="26"
|
||||
Height="Auto"
|
||||
Margin="0"
|
||||
Click="btnSelectCustomer_Click"
|
||||
Tag="{Binding}"
|
||||
ToolTip="Gruppe auswählen">
|
||||
<Border
|
||||
Grid.RowSpan="2"
|
||||
Margin="0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center">
|
||||
<Canvas
|
||||
Width="20"
|
||||
Height="20"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center">
|
||||
<Ellipse
|
||||
x:Name="lupe1"
|
||||
Width="14"
|
||||
Height="14"
|
||||
Fill="{x:Null}"
|
||||
Stroke="#FFFFFFFF"
|
||||
StrokeThickness="2" />
|
||||
<Line
|
||||
x:Name="lupe2"
|
||||
Canvas.Left="10"
|
||||
Canvas.Top="11.4"
|
||||
Fill="#FFFFFFFF"
|
||||
Stretch="Fill"
|
||||
Stroke="#FFFFFFFF"
|
||||
StrokeThickness="3"
|
||||
X2="5"
|
||||
Y1="0"
|
||||
Y2="6" />
|
||||
|
||||
|
||||
</Canvas>
|
||||
</Canvas>
|
||||
</Border>
|
||||
</Button>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Button>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Popup
|
||||
x:Name="popupCustomers"
|
||||
Grid.Row="1"
|
||||
Width="400"
|
||||
Height="400"
|
||||
Placement="MousePoint"
|
||||
StaysOpen="False">
|
||||
<localsearch:CustomerSearchView x:Name="SearchView" ItemSelected="CustomerSearchView_ItemSelected" />
|
||||
</Popup>
|
||||
</Grid>
|
||||
<Popup x:Name="popupCustomers" StaysOpen="False" Placement="MousePoint" Width="400" Grid.Row="1" Height="400" >
|
||||
<localsearch:CustomerSearchView x:Name="SearchView" ItemSelected="CustomerSearchView_ItemSelected" />
|
||||
</Popup>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
@@ -200,10 +200,10 @@
|
||||
Grid.Row="10"
|
||||
Grid.Column="1"
|
||||
HorizontalAlignment="Stretch"
|
||||
Style="{StaticResource EnumTranslationNullItemComboBox}"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"
|
||||
ItemsSource="{Binding Path=FalldatenBearbeitungsstatusTypes}"
|
||||
SelectedValue="{Binding Path=FalldatenBearbeitungsstatus}" />
|
||||
SelectedValue="{Binding Path=FalldatenBearbeitungsstatus}"
|
||||
Style="{StaticResource EnumTranslationNullItemComboBox}" />
|
||||
<Label
|
||||
Grid.Row="11"
|
||||
Grid.Column="0"
|
||||
|
||||
@@ -1,25 +1,34 @@
|
||||
<UserControl x:Class="BeWo.View.Controls.SingleSupportConceptSelectionControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:localsearch="clr-namespace:BeWo.View.Search"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
mc:Ignorable="d">
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Controls.SingleSupportConceptSelectionControl"
|
||||
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:localsearch="clr-namespace:BeWo.View.Search"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid Background="{DynamicResource SupportConceptListBrush}" MouseDown="btnSelectSupportConcept_Click" x:Name="mainGrid">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid
|
||||
x:Name="mainGrid"
|
||||
Background="{DynamicResource SupportConceptListBrush}"
|
||||
MouseDown="btnSelectSupportConcept_Click">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid >
|
||||
<Border x:Name="ItemContent" MinHeight="25">
|
||||
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="3,2,1,2" OpacityMask="{x:Null}" SnapsToDevicePixels="True">
|
||||
<Grid>
|
||||
<Border x:Name="ItemContent" MinHeight="25">
|
||||
<Grid
|
||||
Margin="3,2,1,2"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
OpacityMask="{x:Null}"
|
||||
SnapsToDevicePixels="True">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
@@ -28,30 +37,108 @@
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image x:Name="img" Source="..\..\Ressources\Icons\UserHomeMaleDisabled.png" Height="20" VerticalAlignment="Center" HorizontalAlignment="Left" Width="Auto" Visibility="Hidden" />
|
||||
<Image
|
||||
x:Name="img"
|
||||
Width="Auto"
|
||||
Height="20"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Source="..\..\Ressources\Icons\UserHomeMaleDisabled.png"
|
||||
Visibility="Hidden" />
|
||||
<TextBlock>
|
||||
<Hyperlink x:Name="NameAsLink" Click="Hyperlink_OnClick" Foreground="#00000000" Cursor="Arrow">
|
||||
<TextBlock FontSize="14" Foreground="#FFD2D2D2" x:Name="customerText" Tag="{Binding}" Margin="3 2" Text="{Binding CustomerName}" VerticalAlignment="Center" TextWrapping="Wrap" />
|
||||
<Hyperlink
|
||||
x:Name="NameAsLink"
|
||||
Click="Hyperlink_OnClick"
|
||||
Cursor="Arrow"
|
||||
Foreground="#00000000">
|
||||
<TextBlock
|
||||
x:Name="customerText"
|
||||
Margin="3,2"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="14"
|
||||
Foreground="#FFD2D2D2"
|
||||
Tag="{Binding}"
|
||||
Text="{Binding CustomerName}"
|
||||
TextWrapping="Wrap" />
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Grid.Row="1" Grid.ColumnSpan="2" FontSize="12" x:Name="supportConceptText" Margin="3 2" Text="{Binding SupportConceptName}" VerticalAlignment="Center" Foreground="{Binding NodeForegroundBrush}" />
|
||||
<TextBlock Grid.Row="2" Grid.ColumnSpan="2" FontSize="12" Foreground="#FFA0A0A0" x:Name="costBearerText" Margin="3 2" Text="{Binding CostBearerName}" VerticalAlignment="Center" />
|
||||
<Button Grid.Column="2" Grid.RowSpan="3" x:Name="btnSelectSupportConcept"
|
||||
ToolTip="{markup:Translate Hilfeplan auswählen}" Tag="{Binding}" Width="26" Height="Auto" Click="btnSelectSupportConcept_Click" Margin="0">
|
||||
<Border Grid.RowSpan="2" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center" >
|
||||
<Canvas VerticalAlignment="Center" HorizontalAlignment="Center" Width="20" Height="20" Margin="0,0,0,0" >
|
||||
<Ellipse x:Name="lupe1" Stroke="#FFFFFFFF" Height="14" Width="14" StrokeThickness="2" Fill="{x:Null}" />
|
||||
<Line x:Name="lupe2" Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFFFFFFF" Canvas.Left="10" Canvas.Top="11.4" Y1="0" Y2="6" StrokeThickness="3" X2="5" />
|
||||
<TextBlock
|
||||
x:Name="supportConceptText"
|
||||
Grid.Row="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="3,2"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Foreground="{Binding NodeForegroundBrush}"
|
||||
Text="{Binding SupportConceptName}" />
|
||||
<TextBlock
|
||||
x:Name="costBearerText"
|
||||
Grid.Row="2"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="3,2"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Foreground="#FFA0A0A0"
|
||||
Text="{Binding CostBearerName}" />
|
||||
<Button
|
||||
x:Name="btnSelectSupportConcept"
|
||||
Grid.RowSpan="3"
|
||||
Grid.Column="2"
|
||||
Width="26"
|
||||
Height="Auto"
|
||||
Margin="0"
|
||||
Click="btnSelectSupportConcept_Click"
|
||||
Tag="{Binding}"
|
||||
ToolTip="{markup:Translate Hilfeplan auswählen}">
|
||||
<Border
|
||||
Grid.RowSpan="2"
|
||||
Margin="0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center">
|
||||
<Canvas
|
||||
Width="20"
|
||||
Height="20"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center">
|
||||
<Ellipse
|
||||
x:Name="lupe1"
|
||||
Width="14"
|
||||
Height="14"
|
||||
Fill="{x:Null}"
|
||||
Stroke="#FFFFFFFF"
|
||||
StrokeThickness="2" />
|
||||
<Line
|
||||
x:Name="lupe2"
|
||||
Canvas.Left="10"
|
||||
Canvas.Top="11.4"
|
||||
Fill="#FFFFFFFF"
|
||||
Stretch="Fill"
|
||||
Stroke="#FFFFFFFF"
|
||||
StrokeThickness="3"
|
||||
X2="5"
|
||||
Y1="0"
|
||||
Y2="6" />
|
||||
</Canvas>
|
||||
</Border>
|
||||
</Button>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
<Popup x:Name="popupSupportConcepts" StaysOpen="False" Placement="MousePoint" Width="450" Grid.Row="1" Height="400" >
|
||||
<localsearch:SupportConceptSearchView x:Name="SearchView" ShowFilterPanel="True" ItemSelected="SupportConceptSearchView_ItemSelected" SearchMode="ActiveCostbearer2SupportConcepts" />
|
||||
</Popup>
|
||||
</Grid>
|
||||
<Popup
|
||||
x:Name="popupSupportConcepts"
|
||||
Grid.Row="1"
|
||||
Width="450"
|
||||
Height="400"
|
||||
Placement="MousePoint"
|
||||
StaysOpen="False">
|
||||
<localsearch:SupportConceptSearchView
|
||||
x:Name="SearchView"
|
||||
ItemSelected="SupportConceptSearchView_ItemSelected"
|
||||
SearchMode="ActiveCostbearer2SupportConcepts"
|
||||
ShowFilterPanel="True" />
|
||||
</Popup>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -29,6 +29,7 @@
|
||||
<Style BasedOn="{StaticResource ObjectEditGroupBox}" TargetType="{x:Type GroupBox}">
|
||||
<Setter Property="Margin" Value="15" />
|
||||
<Setter Property="Padding" Value="10,7,7,5" />
|
||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||
</Style>
|
||||
<Style x:Key="StackpanelDetailsStyle" TargetType="{x:Type StackPanel}">
|
||||
<Setter Property="Margin" Value="40,-1,0,3" />
|
||||
@@ -67,7 +68,8 @@
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition x:Name="grid_bund_column" Width="*" />
|
||||
<ColumnDefinition Width="300" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
@@ -82,21 +84,21 @@
|
||||
<Label Grid.Row="0" Grid.Column="0">B1010 Verbandszugehörigkeit der Eintrichtung</Label>
|
||||
<uc:NullItemComboBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding VerbandszugehorigkeitTypes}"
|
||||
SelectedValue="{Binding Verbandszugehorigkeit}" />
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">B1020 Geschlecht nach Personenstandsurkunde</Label>
|
||||
<uc:NullItemComboBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding GeschlechtTypes}"
|
||||
SelectedValue="{Binding Geschlecht}" />
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="0">B1030 Alter am Stichtag</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
@@ -108,7 +110,7 @@
|
||||
<Label Grid.Row="3" Grid.Column="0">B1040 Haushaltsgröße</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
@@ -120,7 +122,7 @@
|
||||
<Label Grid.Row="4" Grid.Column="0">B1050 BerichtseinheitID</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
@@ -132,14 +134,14 @@
|
||||
<Label Grid.Row="5" Grid.Column="0">B1060 Unterbringungsort</Label>
|
||||
<uc:NullItemComboBox
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding UnterbringungsartTypes}"
|
||||
SelectedValue="{Binding Unterbringungsart}" />
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">B1070 Ort der Unterbringung</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=OrtDerEinrichtung, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="00000000"
|
||||
@@ -149,7 +151,7 @@
|
||||
<Label Grid.Row="7" Grid.Column="0">B1080 Angebot</Label>
|
||||
<uc:NullItemComboBox
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding AngebotTypes}"
|
||||
SelectedValue="{Binding Angebot}" />
|
||||
</Grid>
|
||||
@@ -176,10 +178,10 @@
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="300" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="300" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
@@ -308,7 +310,8 @@
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition x:Name="grid_sozialstruktur_column" Width="*" />
|
||||
<ColumnDefinition Width="300" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
@@ -333,14 +336,14 @@
|
||||
<Label Grid.Row="0" Grid.Column="0">K0110 Bundesland</Label>
|
||||
<ComboBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding BundeslandTypes}"
|
||||
SelectedValue="{Binding Bundesland}" />
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">K0120 Art des Hilfefelds</Label>
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
Orientation="Horizontal">
|
||||
<RadioButton GroupName="Art" IsChecked="{Binding IsWohnungslosenhilfeSafe}">Wohnungslosenhilfe</RadioButton>
|
||||
<RadioButton GroupName="Art" IsChecked="{Binding IsStraffaligenhilfeSafe}">Straffälligenhilfe</RadioButton>
|
||||
@@ -349,27 +352,27 @@
|
||||
<Label Grid.Row="2" Grid.Column="0">K0130 Art des Hilfeangebots</Label>
|
||||
<ComboBox
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding ArtDesHilfeangebotsTypes}"
|
||||
SelectedValue="{Binding ArtDesHilfeangebots}" />
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">K0140 Betreuungsbeginn</Label>
|
||||
<dxe:DateEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
EditValue="{Binding Path=Betreuungsbeginn, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">K0150 Betreuungsende</Label>
|
||||
<dxe:DateEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
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="1"
|
||||
Grid.Column="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
@@ -381,7 +384,7 @@
|
||||
<Label Grid.Row="6" Grid.Column="0">G7010 Art der Beendigung</Label>
|
||||
<ComboBox
|
||||
Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding ArtDerBeendigungTypes}"
|
||||
SelectedValue="{Binding ArtDerBeendigung}" />
|
||||
|
||||
@@ -389,67 +392,67 @@
|
||||
<dxe:DateEdit
|
||||
x:Name="Dateedit"
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
EditValue="{Binding Path=Geburtsdatum, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label Grid.Row="8" Grid.Column="0">G1020 Geschlechtsidentität</Label>
|
||||
<ComboBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding GeschlechtidentitatTypes}"
|
||||
SelectedValue="{Binding Geschlechtidentitat}" />
|
||||
|
||||
<Label Grid.Row="9" Grid.Column="0">G1030 Staatsangehörigkeit</Label>
|
||||
<ComboBox
|
||||
Grid.Row="9"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding StaatsangehorigkeitTypes}"
|
||||
SelectedValue="{Binding Staatsangehorigkeit}" />
|
||||
|
||||
<Label Grid.Row="10" Grid.Column="0">G1040 Aufenthaltsstatus</Label>
|
||||
<ComboBox
|
||||
Grid.Row="10"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding AufenthaltsstatusTypes}"
|
||||
SelectedValue="{Binding Aufenthaltsstatus}" />
|
||||
|
||||
<Label Grid.Row="11" Grid.Column="0">G1050 Migrationshintergrund</Label>
|
||||
<ComboBox
|
||||
Grid.Row="11"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
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="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding HochsterSchulabschlussTypes}"
|
||||
SelectedValue="{Binding HochsterSchulabschluss}" />
|
||||
|
||||
<Label Grid.Row="13" Grid.Column="0">G1070 Familienstand</Label>
|
||||
<ComboBox
|
||||
Grid.Row="13"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding FamilienstandTypes}"
|
||||
SelectedValue="{Binding Familienstand}" />
|
||||
|
||||
<Label Grid.Row="14" Grid.Column="0">G1080 Haushaltsstruktur</Label>
|
||||
<ComboBox
|
||||
Grid.Row="14"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
ItemsSource="{Binding HaushaltsstrukturTypes}"
|
||||
SelectedValue="{Binding Haushaltsstruktur}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="15"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2">
|
||||
Grid.ColumnSpan="3">
|
||||
G1090 Eigene minderjährige Kinder außerhalb der Haushaltsstruktur
|
||||
</Label>
|
||||
<ComboBox
|
||||
Grid.Row="16"
|
||||
Grid.Column="1"
|
||||
Grid.Column="2"
|
||||
Margin="3,-2,3,3"
|
||||
ItemsSource="{Binding WohnhilfeBoolDataTypes}"
|
||||
SelectedValue="{Binding EigeneMindKinderAuserhalbHaushaltsstruktur}" />
|
||||
@@ -466,10 +469,10 @@
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="300" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="300" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
|
||||
@@ -97,6 +97,9 @@ namespace BeWo.View.Controls.Wohnhilfe
|
||||
{
|
||||
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.SetColumn(groupbox_2, 1);
|
||||
Grid.SetRow(groupbox_2, 0);
|
||||
Grid.SetColumn(groupbox_3, 0);
|
||||
@@ -109,6 +112,9 @@ 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,21 +1,37 @@
|
||||
<localView:BeWoView x:Class="BeWo.View.Detail.AccountingTransactionBookingView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:localView="clr-namespace:BeWo.View"
|
||||
xmlns:localViewModel="clr-namespace:BeWo.ViewModel" xmlns:localViewDetail="clr-namespace:BeWo.View.Detail"
|
||||
xmlns:localViewControls="clr-namespace:BeWo.View.Controls"
|
||||
xmlns:val="clr-namespace:BeWo.Validation" xmlns:proxy="clr-namespace:BeWo.ServiceProxy"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" Height="Auto" Width="Auto"
|
||||
HorizontalAlignment="Stretch" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:r="clr-namespace:BeWo.Security"
|
||||
VerticalAlignment="Stretch" Focusable="True" KeyUp="AccountingTransactionBookingView_OnKeyUp"
|
||||
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic">
|
||||
<localView:BeWoView
|
||||
x:Class="BeWo.View.Detail.AccountingTransactionBookingView"
|
||||
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.Classic"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:localView="clr-namespace:BeWo.View"
|
||||
xmlns:localViewControls="clr-namespace:BeWo.View.Controls"
|
||||
xmlns:localViewDetail="clr-namespace:BeWo.View.Detail"
|
||||
xmlns:localViewModel="clr-namespace:BeWo.ViewModel"
|
||||
xmlns:proxy="clr-namespace:BeWo.ServiceProxy"
|
||||
xmlns:r="clr-namespace:BeWo.Security"
|
||||
xmlns:s="clr-namespace:System;assembly=mscorlib"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:val="clr-namespace:BeWo.Validation"
|
||||
Width="Auto"
|
||||
Height="Auto"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Focusable="True"
|
||||
KeyUp="AccountingTransactionBookingView_OnKeyUp">
|
||||
<localView:BeWoView.Resources>
|
||||
<ControlTemplate x:Key="AccountingTransactionListBoxTemplate" TargetType="{x:Type ListBox}">
|
||||
<Border x:Name="Bd" SnapsToDevicePixels="True" Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}">
|
||||
<ScrollViewer Focusable="False" Padding="{TemplateBinding Padding}" HorizontalScrollBarVisibility="Disabled">
|
||||
<Border
|
||||
x:Name="Bd"
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
SnapsToDevicePixels="True">
|
||||
<ScrollViewer
|
||||
Padding="{TemplateBinding Padding}"
|
||||
Focusable="False"
|
||||
HorizontalScrollBarVisibility="Disabled">
|
||||
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
@@ -26,28 +42,30 @@
|
||||
</Style>
|
||||
<Style x:Key="AccountingTransactionListBoxItemStyle" TargetType="{x:Type ListBoxItem}">
|
||||
<Setter Property="Background" Value="#00FFFFFF" />
|
||||
<Setter Property="HorizontalContentAlignment"
|
||||
Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorLevel=1, AncestorType={x:Type ItemsControl}}}" />
|
||||
<Setter Property="VerticalContentAlignment"
|
||||
Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorLevel=1, AncestorType={x:Type ItemsControl}}}" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorLevel=1, AncestorType={x:Type ItemsControl}}}" />
|
||||
<Setter Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorLevel=1, AncestorType={x:Type ItemsControl}}}" />
|
||||
<Setter Property="Padding" Value="2,0,0,0" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
||||
<Border x:Name="Bd" SnapsToDevicePixels="True" Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
|
||||
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
||||
Content="{TemplateBinding Content}"
|
||||
ContentStringFormat="{TemplateBinding ContentStringFormat}"
|
||||
ContentTemplate="{TemplateBinding ContentTemplate}" />
|
||||
<Border
|
||||
x:Name="Bd"
|
||||
Padding="{TemplateBinding Padding}"
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
SnapsToDevicePixels="True">
|
||||
<ContentPresenter
|
||||
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||
Content="{TemplateBinding Content}"
|
||||
ContentStringFormat="{TemplateBinding ContentStringFormat}"
|
||||
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
@@ -67,11 +85,41 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<CheckBox Content="Buchungen für ausgewählten Hilfeplan" Grid.Row="0" IsChecked="True" Margin="0,3,0,0"
|
||||
x:Name="chkWithClient" Checked="chkWithClient_Checked" Unchecked="chkWithClient_Unchecked" />
|
||||
<uc:PopUpEdit IsReadOnly="True" Name="popupedit_file" Grid.Column="1" Margin="30,0,0,0" Height="23" Width="250" Grid.Row="0" HorizontalAlignment="Left" DeleteButtonVisibility="Collapsed" PopUpClick="popupedit_file_PopUpClick" />
|
||||
<Button x:Name="ButtonImport" Grid.Column="2" Margin="5,0,0,0" Height="22" Content="Abschlagszahlungen importieren" Click="ButtonImport_Click" HorizontalAlignment="Left" VerticalAlignment="Center" Visibility="Visible" ></Button>
|
||||
<Grid x:Name="customerInfoGrid" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Margin="0,3,0,0">
|
||||
<CheckBox
|
||||
x:Name="chkWithClient"
|
||||
Grid.Row="0"
|
||||
Margin="0,3,0,0"
|
||||
Checked="chkWithClient_Checked"
|
||||
Content="Buchungen für ausgewählten Hilfeplan"
|
||||
IsChecked="True"
|
||||
Unchecked="chkWithClient_Unchecked" />
|
||||
<uc:PopUpEdit
|
||||
Name="popupedit_file"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Width="250"
|
||||
Height="23"
|
||||
Margin="30,0,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
DeleteButtonVisibility="Collapsed"
|
||||
IsReadOnly="True"
|
||||
PopUpClick="popupedit_file_PopUpClick" />
|
||||
<Button
|
||||
x:Name="ButtonImport"
|
||||
Grid.Column="2"
|
||||
Height="22"
|
||||
Margin="5,0,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Click="ButtonImport_Click"
|
||||
Content="Abschlagszahlungen importieren"
|
||||
Visibility="Visible" />
|
||||
<Grid
|
||||
x:Name="customerInfoGrid"
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Margin="0,3,0,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="250" />
|
||||
<ColumnDefinition />
|
||||
@@ -84,18 +132,33 @@
|
||||
Style="{DynamicResource ObjectComboBoxStyle}" PreviewTextInput="customerComboBox_PreviewTextInput"
|
||||
LostFocus="customerComboBox_LostFocus" GotFocus="customerComboBox_GotFocus"
|
||||
PreviewKeyDown="customerComboBox_PreviewKeyDown" />-->
|
||||
<localViewControls:SingleSupportConceptSelectionControl x:Name="supportConceptSelectionControl"
|
||||
ItemSelected="supportConceptSelectionControl_ItemSelected" Height="62" VerticalAlignment="Top"
|
||||
HorizontalContentAlignment="Stretch" />
|
||||
<Grid Grid.Row="0" VerticalAlignment="Top" Margin="5,5,0,0" Grid.Column="1">
|
||||
<localViewControls:SingleSupportConceptSelectionControl
|
||||
x:Name="supportConceptSelectionControl"
|
||||
Height="62"
|
||||
VerticalAlignment="Top"
|
||||
HorizontalContentAlignment="Stretch"
|
||||
ItemSelected="supportConceptSelectionControl_ItemSelected" />
|
||||
<Grid
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="5,5,0,0"
|
||||
VerticalAlignment="Top">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{Binding Path=InformationString}" Foreground="#FF2B508B" FontSize="14" />
|
||||
<TextBlock
|
||||
FontSize="14"
|
||||
Foreground="#FF2B508B"
|
||||
Text="{Binding Path=InformationString}" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid Grid.Row="2" x:Name="customerDetailGrid" Grid.Column="0" Grid.ColumnSpan="3" Margin="0,5,0,0">
|
||||
<Grid
|
||||
x:Name="customerDetailGrid"
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Margin="0,5,0,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition />
|
||||
@@ -103,8 +166,11 @@
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Header="Neue Buchung anlegen" Padding="0,0,0,0" Style="{DynamicResource ObjectEditGroupBox}"
|
||||
Margin="0,0,0,-3">
|
||||
<GroupBox
|
||||
Margin="0,0,0,-3"
|
||||
Padding="0,0,0,0"
|
||||
Header="Neue Buchung anlegen"
|
||||
Style="{DynamicResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
@@ -129,8 +195,8 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<!-- TextBlock Foreground="Black" TextWrapping="Wrap" Margin="3,3,7,3" Text="Klient/in:"/-->
|
||||
<Grid Grid.Column="0" Grid.Row="1">
|
||||
<!-- TextBlock Foreground="Black" TextWrapping="Wrap" Margin="3,3,7,3" Text="Klient/in:"/ -->
|
||||
<Grid Grid.Row="1" Grid.Column="0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
@@ -144,38 +210,103 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Column="0" Grid.Row="0" VerticalAlignment="Center" Content="Betrag €" />
|
||||
<dxe:TextEdit AllowNullInput="True" MaskType="Numeric" Mask="c" MaskUseAsDisplayFormat="True" Grid.Column="1" Grid.Row="0" Height="23" Margin="3"
|
||||
EditValue="{val:ValidationBinding Path=PrototypeVM.Amount, Mode=TwoWay}"/>
|
||||
<StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="2" Margin="3,0,0,0">
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Content="Betrag €" />
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
AllowNullInput="True"
|
||||
EditValue="{val:ValidationBinding Path=PrototypeVM.Amount,
|
||||
Mode=TwoWay}"
|
||||
Mask="c"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
<StackPanel
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Margin="3,0,0,0"
|
||||
Orientation="Vertical">
|
||||
<TextBlock x:Name="txtMonthlyAmount">
|
||||
<Hyperlink x:Name="linkMonthlyAmount" Foreground="#FF2B508B"
|
||||
Click="linkMonthlyAmount_Click">mtl. Abschlag</Hyperlink></TextBlock>
|
||||
<Hyperlink
|
||||
x:Name="linkMonthlyAmount"
|
||||
Click="linkMonthlyAmount_Click"
|
||||
Foreground="#FF2B508B">
|
||||
mtl. Abschlag
|
||||
</Hyperlink></TextBlock>
|
||||
<TextBlock x:Name="txtOpenAmount">
|
||||
<Hyperlink x:Name="linkOpenAmount" Foreground="#FF2B508B"
|
||||
Click="linkOpenAmount_Click">Restbetrag</Hyperlink></TextBlock>
|
||||
<Hyperlink
|
||||
x:Name="linkOpenAmount"
|
||||
Click="linkOpenAmount_Click"
|
||||
Foreground="#FF2B508B">
|
||||
Restbetrag
|
||||
</Hyperlink></TextBlock>
|
||||
</StackPanel>
|
||||
<Label Content="Buchungsdatum" Grid.Column="0" Grid.Row="1" VerticalAlignment="Center" />
|
||||
<dxe:DateEdit MaskType="DateTimeAdvancingCaret" Grid.ColumnSpan="2" Grid.Column="1" Grid.Row="1" Background="White"
|
||||
Height="23" Margin="3"
|
||||
EditValue="{val:ValidationBinding Path=PrototypeVM.BookingDate, Mode=TwoWay}"/>
|
||||
|
||||
<Label Content="Gültigkeitsdatum" Grid.Column="0" Grid.Row="2" VerticalAlignment="Center" />
|
||||
<dxe:DateEdit MaskType="DateTimeAdvancingCaret" Grid.ColumnSpan="2" Grid.Column="1" Grid.Row="2" Background="White"
|
||||
Height="23" Margin="3"
|
||||
EditValue="{val:ValidationBinding Path=PrototypeVM.ValidityDate, Mode=TwoWay}"/>
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Content="Buchungsdatum" />
|
||||
<dxe:DateEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
Background="White"
|
||||
EditValue="{val:ValidationBinding Path=PrototypeVM.BookingDate,
|
||||
Mode=TwoWay}"
|
||||
MaskType="DateTimeAdvancingCaret" />
|
||||
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Content="Gültigkeitsdatum" />
|
||||
<dxe:DateEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
Background="White"
|
||||
EditValue="{val:ValidationBinding Path=PrototypeVM.ValidityDate,
|
||||
Mode=TwoWay}"
|
||||
MaskType="DateTimeAdvancingCaret" />
|
||||
|
||||
<Label Grid.Row="3" Content="Kategorie" />
|
||||
<uc:NullItemComboBox Grid.Column="1" Grid.ColumnSpan="2" Height="23" Margin="3" Grid.Row="3"
|
||||
x:Name="combobox_categories"
|
||||
SelectedItem="{val:ValidationBinding Path=PrototypeVM.Category}" />
|
||||
<Label Grid.Column="0" Grid.Row="4" VerticalAlignment="Top" Content="Kommentar"
|
||||
HorizontalAlignment="Left" Grid.ColumnSpan="3" />
|
||||
<TextBox Grid.Column="0" Grid.Row="5"
|
||||
Text="{val:ValidationBinding Path=PrototypeVM.Notice, UpdateSourceTrigger=PropertyChanged}"
|
||||
VerticalAlignment="Stretch" Margin="3" Grid.ColumnSpan="3" AcceptsReturn="True"
|
||||
VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Hidden"
|
||||
TextWrapping="Wrap" AutoWordSelection="True" />
|
||||
<uc:NullItemComboBox
|
||||
x:Name="combobox_categories"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
SelectedItem="{val:ValidationBinding Path=PrototypeVM.Category}" />
|
||||
<Label
|
||||
Grid.Row="4"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="Kommentar" />
|
||||
<TextBox
|
||||
Grid.Row="5"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Margin="3"
|
||||
VerticalAlignment="Stretch"
|
||||
AcceptsReturn="True"
|
||||
AutoWordSelection="True"
|
||||
HorizontalScrollBarVisibility="Hidden"
|
||||
Text="{val:ValidationBinding Path=PrototypeVM.Notice,
|
||||
UpdateSourceTrigger=PropertyChanged}"
|
||||
TextWrapping="Wrap"
|
||||
VerticalScrollBarVisibility="Auto" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid Grid.Row="1" Margin="0,0,0,0">
|
||||
@@ -183,28 +314,57 @@
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock TextWrapping="Wrap" VerticalAlignment="Center" Text="{Binding Path=Information}"
|
||||
Foreground="#FF000000" Margin="0,0,3,0" />
|
||||
<Button x:Name="button_add" Click="button_add_Click" FontWeight="Normal" Grid.Column="1"
|
||||
Content="Speichern" Height="23" BorderThickness="3,3,3,3" Margin="0,0,3,0" />
|
||||
<TextBlock
|
||||
Margin="0,0,3,0"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="#FF000000"
|
||||
Text="{Binding Path=Information}"
|
||||
TextWrapping="Wrap" />
|
||||
<Button
|
||||
x:Name="button_add"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="0,0,3,0"
|
||||
BorderThickness="3,3,3,3"
|
||||
Click="button_add_Click"
|
||||
Content="Speichern"
|
||||
FontWeight="Normal" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<ListBox ScrollViewer.CanContentScroll="True" x:Name="accountingTransactionGrid" Grid.Row="0" Grid.Column="1"
|
||||
IsSynchronizedWithCurrentItem="True" TabIndex="1" AlternationCount="-1" Background="{x:Null}"
|
||||
MouseDoubleClick="AccountingTransactionGrid_MouseDoubleClick" Margin="0,0,0,25"
|
||||
ItemTemplate="{DynamicResource AccountingTransactionListBoxItemTemplate}"
|
||||
Style="{DynamicResource AccountingTransactionListStyle}" HorizontalContentAlignment="Stretch"
|
||||
ItemContainerStyle="{DynamicResource AccountingTransactionListBoxItemStyle}">
|
||||
|
||||
<ListBox
|
||||
x:Name="accountingTransactionGrid"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="0,0,0,25"
|
||||
HorizontalContentAlignment="Stretch"
|
||||
AlternationCount="-1"
|
||||
Background="{x:Null}"
|
||||
IsSynchronizedWithCurrentItem="True"
|
||||
ItemContainerStyle="{DynamicResource AccountingTransactionListBoxItemStyle}"
|
||||
ItemTemplate="{DynamicResource AccountingTransactionListBoxItemTemplate}"
|
||||
MouseDoubleClick="AccountingTransactionGrid_MouseDoubleClick"
|
||||
ScrollViewer.CanContentScroll="True"
|
||||
Style="{DynamicResource AccountingTransactionListStyle}"
|
||||
TabIndex="1">
|
||||
<ListBox.Resources>
|
||||
<DataTemplate x:Key="AccountingTransactionListBoxItemTemplate"
|
||||
DataType="{x:Type localViewModel:AccountingTransactionVM}">
|
||||
<Grid x:Name="template" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
||||
<Border x:Name="ItemBorder" CornerRadius="4,4,4,4" Width="Auto" Height="Auto" Padding="6"
|
||||
Margin="0,0,0,3" Background="#FFFFFFFF" BorderThickness="1,1,1,1"
|
||||
BorderBrush="#FF7E7E7E">
|
||||
<DataTemplate x:Key="AccountingTransactionListBoxItemTemplate" DataType="{x:Type localViewModel:AccountingTransactionVM}">
|
||||
<Grid
|
||||
x:Name="template"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch">
|
||||
<Border
|
||||
x:Name="ItemBorder"
|
||||
Width="Auto"
|
||||
Height="Auto"
|
||||
Margin="0,0,0,3"
|
||||
Padding="6"
|
||||
Background="#FFFFFFFF"
|
||||
BorderBrush="#FF7E7E7E"
|
||||
BorderThickness="1,1,1,1"
|
||||
CornerRadius="4,4,4,4">
|
||||
<Grid TextBlock.Foreground="{Binding Path=TextBlock.Foreground, RelativeSource={RelativeSource TemplatedParent}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="80" />
|
||||
@@ -218,79 +378,138 @@
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="24" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Grid.Column="0" Grid.Row="0"
|
||||
Text="{Binding Path=Amount, StringFormat=\{0:0.00\} €}" FontWeight="Bold"
|
||||
Background="{x:Null}" Foreground="{Binding Path=AmountForegroundBrush}" />
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Background="{x:Null}"
|
||||
FontWeight="Bold"
|
||||
Foreground="{Binding Path=AmountForegroundBrush}"
|
||||
Text="{Binding Path=Amount, StringFormat=\{0:0.00\} €}" />
|
||||
|
||||
<TextBlock Grid.Column="2" Grid.Row="0"
|
||||
Text="{Binding Path=DatumsText}"
|
||||
FontWeight="Bold"
|
||||
Foreground="#FF494949" />
|
||||
<TextBlock Grid.Column="4" Grid.Row="0"
|
||||
Text="{Binding Path=Category}"
|
||||
FontWeight="Bold"
|
||||
Foreground="#FF494949" />
|
||||
<TextBox Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="5"
|
||||
HorizontalAlignment="Stretch" Text="{Binding Path=Notice}"
|
||||
HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"
|
||||
Margin="0,0,0,0" BorderThickness="1,1,1,1" BorderBrush="{x:Null}"
|
||||
Background="{x:Null}" SnapsToDevicePixels="True" MaxHeight="200"
|
||||
TextWrapping="Wrap" AutoWordSelection="True" IsReadOnly="True"
|
||||
GotFocus="TextBox_GotFocus" Tag="{Binding}" IsEnabled="True" Focusable="True" />
|
||||
<TextBlock Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="5" Visibility="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type localViewDetail:AccountingTransactionBookingView}}, Path=InsertedOnAndByVisibility}"
|
||||
VerticalAlignment="Bottom" FontSize="10">
|
||||
<TextBlock.Text>
|
||||
<MultiBinding StringFormat="{}Angelegt am {0:dd.MM.yyyy hh:mm} von {1}">
|
||||
<Binding Path="InsertedOn" />
|
||||
<Binding Path="InsUser" />
|
||||
</MultiBinding>
|
||||
</TextBlock.Text></TextBlock>
|
||||
<Button x:Name="btnEdit" Grid.Column="0" Grid.Row="2" Width="32" Height="22"
|
||||
HorizontalAlignment="Right" Margin="0,0,35,0" BorderThickness="1,1,1,1"
|
||||
Padding="1,1,1,1"
|
||||
Click="btnEdit_Click" Style="{DynamicResource GlassButton}"
|
||||
Tag="{Binding}"
|
||||
Visibility="{Binding Path=EditAllowed, Converter={StaticResource BoolVisibilityConverter}}"
|
||||
Grid.ColumnSpan="5">
|
||||
<Image Source="..\..\Ressources\Icons\Symbol Edit.png" Stretch="Uniform"
|
||||
Margin="1,1,1,1" />
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
FontWeight="Bold"
|
||||
Foreground="#FF494949"
|
||||
Text="{Binding Path=DatumsText}" />
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Grid.Column="4"
|
||||
FontWeight="Bold"
|
||||
Foreground="#FF494949"
|
||||
Text="{Binding Path=Category}" />
|
||||
<TextBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="5"
|
||||
MaxHeight="200"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Stretch"
|
||||
AutoWordSelection="True"
|
||||
Background="{x:Null}"
|
||||
BorderBrush="{x:Null}"
|
||||
BorderThickness="1,1,1,1"
|
||||
Focusable="True"
|
||||
GotFocus="TextBox_GotFocus"
|
||||
HorizontalScrollBarVisibility="Hidden"
|
||||
IsEnabled="True"
|
||||
IsReadOnly="True"
|
||||
SnapsToDevicePixels="True"
|
||||
Tag="{Binding}"
|
||||
Text="{Binding Path=Notice}"
|
||||
TextWrapping="Wrap"
|
||||
VerticalScrollBarVisibility="Hidden" />
|
||||
<TextBlock
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="5"
|
||||
VerticalAlignment="Bottom"
|
||||
FontSize="10"
|
||||
Visibility="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type localViewDetail:AccountingTransactionBookingView}}, Path=InsertedOnAndByVisibility}">
|
||||
<TextBlock.Text>
|
||||
<MultiBinding StringFormat="{}Angelegt am {0:dd.MM.yyyy hh:mm} von {1}">
|
||||
<Binding Path="InsertedOn" />
|
||||
<Binding Path="InsUser" />
|
||||
</MultiBinding>
|
||||
</TextBlock.Text>
|
||||
</TextBlock>
|
||||
<Button
|
||||
x:Name="btnEdit"
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="5"
|
||||
Width="32"
|
||||
Height="22"
|
||||
Margin="0,0,35,0"
|
||||
Padding="1,1,1,1"
|
||||
HorizontalAlignment="Right"
|
||||
BorderThickness="1,1,1,1"
|
||||
Click="btnEdit_Click"
|
||||
Style="{DynamicResource GlassButton}"
|
||||
Tag="{Binding}"
|
||||
Visibility="{Binding Path=EditAllowed, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<Image
|
||||
Margin="1,1,1,1"
|
||||
Source="..\..\Ressources\Icons\Symbol Edit.png"
|
||||
Stretch="Uniform" />
|
||||
</Button>
|
||||
<Button x:Name="btnDelete" Grid.Column="0" Grid.Row="2" Width="32" Height="22"
|
||||
HorizontalAlignment="Right" Margin="0,0,0,0" Padding="1,1,1,1"
|
||||
BorderThickness="1,1,1,1"
|
||||
Click="btnDelete_Click"
|
||||
Style="{DynamicResource GlassButton}"
|
||||
Tag="{Binding}"
|
||||
Visibility="{Binding Path=EditAllowed, Converter={StaticResource BoolVisibilityConverter}}"
|
||||
Grid.ColumnSpan="5">
|
||||
<Image Source="..\..\Ressources\Icons\Symbol Delete.png" Stretch="Uniform"
|
||||
Margin="1,1,1,1" />
|
||||
<Button
|
||||
x:Name="btnDelete"
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="5"
|
||||
Width="32"
|
||||
Height="22"
|
||||
Margin="0,0,0,0"
|
||||
Padding="1,1,1,1"
|
||||
HorizontalAlignment="Right"
|
||||
BorderThickness="1,1,1,1"
|
||||
Click="btnDelete_Click"
|
||||
Style="{DynamicResource GlassButton}"
|
||||
Tag="{Binding}"
|
||||
Visibility="{Binding Path=EditAllowed, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<Image
|
||||
Margin="1,1,1,1"
|
||||
Source="..\..\Ressources\Icons\Symbol Delete.png"
|
||||
Stretch="Uniform" />
|
||||
</Button>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
<DataTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="Background" TargetName="ItemBorder" Value="#FFCCE0FF" />
|
||||
<Setter TargetName="ItemBorder" Property="Background" Value="#FFCCE0FF" />
|
||||
</Trigger>
|
||||
<DataTrigger Binding="{Binding Path=IsSelected, RelativeSource={RelativeSource AncestorType={x:Type ListBoxItem}, Mode=FindAncestor}}"
|
||||
Value="True">
|
||||
<Setter Property="Background" TargetName="ItemBorder" Value="#FF93BCFF" />
|
||||
<DataTrigger Binding="{Binding Path=IsSelected, RelativeSource={RelativeSource AncestorType={x:Type ListBoxItem}, Mode=FindAncestor}}" Value="True">
|
||||
<Setter TargetName="ItemBorder" Property="Background" Value="#FF93BCFF" />
|
||||
</DataTrigger>
|
||||
</DataTemplate.Triggers>
|
||||
</DataTemplate>
|
||||
</ListBox.Resources>
|
||||
</ListBox>
|
||||
<TextBlock Grid.Column="1" x:Name="txtServiceListCount" Text="{Binding Path=RecordCountInformationString}"
|
||||
VerticalAlignment="Bottom" Margin="5,0,5,3"
|
||||
Foreground="#FF2B508B" HorizontalAlignment="Left"
|
||||
FontSize="14" />
|
||||
<TextBlock Grid.Column="1" x:Name="textblock_link" VerticalAlignment="Bottom" Margin="5,0,5,3"
|
||||
HorizontalAlignment="Right" FontSize="14">
|
||||
<Hyperlink x:Name="linkExcelExport" TargetName="newWindow" Foreground="#FF2B508B"
|
||||
RequestNavigate="linkExcelExport_RequestNavigate">
|
||||
<Run Text="Excel Export" />
|
||||
</Hyperlink></TextBlock>
|
||||
<TextBlock
|
||||
x:Name="txtServiceListCount"
|
||||
Grid.Column="1"
|
||||
Margin="5,0,5,3"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Bottom"
|
||||
FontSize="14"
|
||||
Foreground="#FF2B508B"
|
||||
Text="{Binding Path=RecordCountInformationString}" />
|
||||
<TextBlock
|
||||
x:Name="textblock_link"
|
||||
Grid.Column="1"
|
||||
Margin="5,0,5,3"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
FontSize="14">
|
||||
<Hyperlink
|
||||
x:Name="linkExcelExport"
|
||||
Foreground="#FF2B508B"
|
||||
RequestNavigate="linkExcelExport_RequestNavigate"
|
||||
TargetName="newWindow">
|
||||
<Run Text="Excel Export" />
|
||||
</Hyperlink></TextBlock>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Border x:Name="popup_content" />
|
||||
|
||||
@@ -1,26 +1,28 @@
|
||||
<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:localView="clr-namespace:BeWo.View"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
HorizontalAlignment="Stretch"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:core="clr-namespace:BS.Shared.Core;assembly=BS.Shared"
|
||||
VerticalAlignment="Stretch" Focusable="True">
|
||||
<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"/>
|
||||
<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}"/>
|
||||
<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>
|
||||
@@ -34,15 +36,19 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Grid.RowSpan="3" Grid.Column="0" Padding="5" Style="{StaticResource ObjectEditGroupBox}" Header="Falldaten">
|
||||
<GroupBox
|
||||
Grid.RowSpan="3"
|
||||
Grid.Column="0"
|
||||
Padding="5"
|
||||
Header="Falldaten"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.Resources>
|
||||
<ResourceDictionary>
|
||||
</ResourceDictionary>
|
||||
<ResourceDictionary />
|
||||
</Grid.Resources>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" MinWidth="200"/>
|
||||
<ColumnDefinition Width="Auto" MinWidth="200" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -64,86 +70,270 @@
|
||||
<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" Margin="3" Height="23" Text="{Binding Path=EigenesAktenzeichen, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Auftragseingang" IsEnabled="True" />
|
||||
<dxe:DateEdit Grid.Row="1" Grid.Column="1" Margin="3" Height="23" ShowClearButton="False" EditValue="{Binding Path=Auftragseingang, UpdateSourceTrigger=PropertyChanged}"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>
|
||||
<Label Grid.Row="2" Grid.Column="0" Content="Auftragsherkunft" />
|
||||
<uc:NullItemComboBox x:Name="comboBox_Auftragsherkunft" Grid.Row="2" Grid.Column="1" Margin="3" Height="23" SelectedValue="{Binding Path=Auftragsherkunft, Mode=TwoWay}"
|
||||
ItemsSource="{Binding Path=Auftragsherkunfte}" MinWidth="30" HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>
|
||||
<Label Grid.Row="3" Grid.Column="0" Content="Vermittlungsgrundlage" />
|
||||
<uc:NullItemComboBox x:Name="comboBox_Vermittlungsgrundlage" Grid.Row="3" Grid.Column="1" Margin="3" Height="23" SelectedValue="{Binding Path=Vermittlungsgrundlage, Mode=TwoWay}"
|
||||
ItemsSource="{Binding Path=Vermittlungsgrundlagen}" MinWidth="30" HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>
|
||||
<Label Grid.Row="4" Grid.Column="0" Content="Tagessätze" />
|
||||
<dxe:TextEdit Grid.Row="4" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Tagessatze, UpdateSourceTrigger=PropertyChanged}" Mask="########0.##"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="5" Grid.Column="0" Content="Tagessatzhöhe" />
|
||||
<dxe:TextEdit Grid.Row="5" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Tagessatzhohe, UpdateSourceTrigger=PropertyChanged}" Mask="########0.00 $"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="6" Grid.Column="0" Content="Höhe der Geldstrafe" />
|
||||
<dxe:TextEdit Grid.Row="6" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True" IsReadOnly="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=HoheDerGeldstrafe, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" Mask="########0.00 $"
|
||||
/>
|
||||
<Label Grid.Row="7" Grid.Column="0" Content="Zu leistende Arbeitsstunden" />
|
||||
<dxe:TextEdit Grid.Row="7" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=ZuLeistendeArbeitsstunden, UpdateSourceTrigger=PropertyChanged}" Mask="########0.## Std"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="8" Grid.Column="0" Content="Hinweis" />
|
||||
<TextBox Grid.Row="8" Grid.Column="1" Margin="3" Height="23" Text="{Binding Path=Hinweis, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="9" Grid.Column="0" Content="Termin" />
|
||||
<dxe:DateEdit Grid.Row="9" Grid.Column="1" Margin="3" Height="23" ShowClearButton="True" EditValue="{Binding Path=Termin, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="G" MaskUseAsDisplayFormat="True" IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}">
|
||||
<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" Margin="3" Height="23" SelectedValue="{Binding Path=FalldatenBearbeitungsstatus, Mode=TwoWay}" MinWidth="30" HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>
|
||||
<Label Grid.Row="11" Grid.Column="0" Content="Auftragsrückgabe" />
|
||||
<TextBox Grid.Row="11" Grid.Column="1" Margin="3" Height="23" Text="{Binding Path=Auftragsruckgabe, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="12" Grid.Column="0" Content="Verlauf" />
|
||||
<TextBox Grid.Row="12" Grid.Column="1" Margin="3" Height="23" Text="{Binding Path=Verlauf, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="13" Grid.Column="0" Content="Abgeleistete Stunden" />
|
||||
<dxe:TextEdit Grid.Row="13" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=AbgeleisteteStunden, UpdateSourceTrigger=PropertyChanged}" Mask="########0.## Std"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="14" Grid.Column="0" Content="Ersparte Hafttage" />
|
||||
<dxe:TextEdit Grid.Row="14" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=ErsparteHafttage, UpdateSourceTrigger=PropertyChanged}" Mask="########0.## Tage"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="15" Grid.Column="0" Content="Geleistete Ratenzahlung" />
|
||||
<dxe:TextEdit Grid.Row="15" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=GeleisteteRatenzahlung, UpdateSourceTrigger=PropertyChanged}" Mask="########0.00 $"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="16" Grid.Column="0" Content="Geleistete Einmalzahlung" />
|
||||
<dxe:TextEdit Grid.Row="16" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=GeleisteteEinmalzahlung, UpdateSourceTrigger=PropertyChanged}" Mask="########0.00 $"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="17" Grid.Column="0" Content="Bemerkung" />
|
||||
<TextBox Grid.Row="17" Grid.Column="1" Margin="3" Height="60" Text="{Binding Path=Bemerkung, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
||||
IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<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 Padding="5" Grid.Column="2" Style="{StaticResource ObjectEditGroupBox}" Header="Gründe für Abbruch" VerticalAlignment="Top">
|
||||
<GroupBox
|
||||
Grid.Column="2"
|
||||
Padding="5"
|
||||
VerticalAlignment="Top"
|
||||
Header="Gründe für Abbruch"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.Resources>
|
||||
<ResourceDictionary>
|
||||
|
||||
</ResourceDictionary>
|
||||
<ResourceDictionary />
|
||||
</Grid.Resources>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
@@ -163,33 +353,111 @@
|
||||
<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}" />
|
||||
<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.Column="2" Style="{StaticResource ObjectEditGroupBox}" Header="Besonderheiten" VerticalAlignment="Top" Grid.RowSpan="2">
|
||||
<GroupBox
|
||||
Grid.Row="1"
|
||||
Grid.RowSpan="2"
|
||||
Grid.Column="2"
|
||||
VerticalAlignment="Top"
|
||||
Header="Besonderheiten"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
@@ -201,14 +469,54 @@
|
||||
<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}" />
|
||||
<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>
|
||||
|
||||
@@ -20,9 +20,7 @@ namespace BeWo.View.Detail
|
||||
/// </summary>
|
||||
public partial class CustomerVermittlungArbeitView : UserControl
|
||||
{
|
||||
public bool PermissionCustomerWohnhilfeCreate { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_GemeinnutzigeArbeit_Create);
|
||||
public bool PermissionCustomerWohnhilfeEdit { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_GemeinnutzigeArbeit_Edit);
|
||||
public bool PermissionCustomerWohnhilfeDelete { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_GemeinnutzigeArbeit_Delete);
|
||||
public bool PermissionCustomerWohnhilfeManage { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_GemeinnutzigeArbeit_Manage);
|
||||
|
||||
public CustomerVermittlungArbeitView()
|
||||
{
|
||||
|
||||
@@ -276,7 +276,7 @@ namespace BeWo.View.Detail
|
||||
Img.EditValueChanged += Image_EditValueChanged;
|
||||
|
||||
#if DEBUG
|
||||
if(DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.DebugConfigMode == DebugConfigMode.FeatureWohnhilfe)
|
||||
if(DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.DebugConfigMode == DebugConfigMode.FeatureCustomerWohnhilfe)
|
||||
{
|
||||
tabroot.SelectedItem = tabitem_gemeinnutzigearbeit;
|
||||
}
|
||||
|
||||
@@ -20,9 +20,7 @@ namespace BeWo.View.Detail
|
||||
/// </summary>
|
||||
public partial class CustomerWohnhilfeView : UserControl
|
||||
{
|
||||
public bool PermissionCustomerWohnhilfeCreate { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_Wohnhilfe_Create);
|
||||
public bool PermissionCustomerWohnhilfeEdit { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_Wohnhilfe_Edit);
|
||||
public bool PermissionCustomerWohnhilfeDelete { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_Wohnhilfe_Delete);
|
||||
public bool PermissionCustomerWohnhilfeManage { get; } = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_Wohnhilfe_Manage);
|
||||
|
||||
public CustomerWohnhilfeView()
|
||||
{
|
||||
|
||||
@@ -1,60 +1,120 @@
|
||||
<UserControl x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitBelegungEditControl"
|
||||
x:Name="root"
|
||||
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:controls="clr-namespace:BeWo.View.Controls"
|
||||
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.Wohneinheit"
|
||||
mc:Ignorable="d"
|
||||
Background="White" DataContextChanged="root_DataContextChanged">
|
||||
<GroupBox x:Name="groupbox_newBelegung" Header="Belegung erstellen" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid DataContext="{Binding Path=WohneinheitBelegungListVM.CurrentVM}">
|
||||
<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*" MinWidth="200" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitBelegungEditControl"
|
||||
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:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
x:Name="root"
|
||||
Height="400"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM}"
|
||||
Background="White"
|
||||
DataContextChanged="root_DataContextChanged"
|
||||
Loaded="root_Loaded"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<GroupBox
|
||||
x:Name="groupbox_newBelegung"
|
||||
Header="Belegung erstellen"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="10" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="10" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="0" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="10" />
|
||||
<ColumnDefinition Width="*" MinWidth="200" />
|
||||
<ColumnDefinition Width="20" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="10" />
|
||||
<ColumnDefinition Width="*" MinWidth="200" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label VerticalAlignment="Center" Grid.Row="0" Margin="3">Klient</Label>
|
||||
<controls:CustomerSelectionControl Grid.Row="0" Grid.Column="1" Margin="3" x:Name="customer_selection_control" ItemSelected="CustomerSelectionControl_ItemSelected" >
|
||||
<Label Grid.Row="0" Grid.Column="0">
|
||||
Klient
|
||||
</Label>
|
||||
<controls:CustomerSelectionControl
|
||||
x:Name="customer_selection_control"
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
ItemSelected="CustomerSelectionControl_ItemSelected" />
|
||||
|
||||
</controls:CustomerSelectionControl >
|
||||
<Label Grid.Row="1">
|
||||
Wohneinheit
|
||||
</Label>
|
||||
<ComboBox
|
||||
x:Name="combobox_Wohneinheit"
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
Height="27"
|
||||
ItemsSource="{Binding WohneinheitListVM.VMList}"
|
||||
SelectedItem="{Binding WohneinheitBelegungListVM.CurrentVM.Wohneinheit}" />
|
||||
|
||||
<Label VerticalAlignment="Center" Grid.Row="1" Margin="3">Wohneinheit</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" Margin="3" x:Name="combobox_Wohneinheit" SelectedItem="{Binding Path=Wohneinheit}" ItemsSource="{Binding ElementName=root, Path=DataContext.WohneinheitListVM.VMList}">
|
||||
<Label Grid.Row="3">
|
||||
Beginn
|
||||
</Label>
|
||||
<dxe:DateEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="2"
|
||||
EditValue="{Binding Path=WohneinheitBelegungListVM.CurrentVM.StartDate, UpdateSourceTrigger=PropertyChanged}"
|
||||
ShowClearButton="False" />
|
||||
|
||||
</ComboBox>
|
||||
<Label Grid.Row="3" Grid.Column="4">
|
||||
Ende
|
||||
</Label>
|
||||
<dxe:DateEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="6"
|
||||
EditValue="{Binding Path=WohneinheitBelegungListVM.CurrentVM.EndDate, UpdateSourceTrigger=PropertyChanged}"
|
||||
ShowClearButton="True" />
|
||||
|
||||
<Label VerticalAlignment="Center" Grid.Row="4" Margin="3">Beginn</Label>
|
||||
<dxe:DateEdit Height="23" Grid.Row="4" Margin="3" Grid.Column="1" ShowClearButton="False"
|
||||
EditValue="{Binding Path=StartDate, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label VerticalAlignment="Center" Grid.Row="5" Margin="3">Ende</Label>
|
||||
<dxe:DateEdit Height="23" Grid.Row="5" Margin="3" Grid.Column="1" ShowClearButton="True"
|
||||
EditValue="{Binding Path=EndDate, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Content="Notiz" Grid.Row="8" Grid.Column="0" VerticalAlignment="Top" Margin="3"/>
|
||||
<TextBox Grid.Row="8" Grid.Column="1" MinHeight="23" Margin="3" VerticalContentAlignment="Stretch" MaxHeight="150"
|
||||
AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
||||
Text="{Binding Path=Kommentar, UpdateSourceTrigger=PropertyChanged}"
|
||||
/>
|
||||
<StackPanel Grid.Row="9" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="3">
|
||||
<Button Margin="3" x:Name="btn_save" Click="Save_Button_Click" IsEnabled="{Binding Path=CanSave, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}">Hinzufügen</Button>
|
||||
<Button Margin="3" x:Name="btn_cancel" Click="Cancel_Button_Click" >Abbrechen</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<Label Grid.Row="5" Content="Notiz" />
|
||||
<TextBox
|
||||
Grid.Row="5"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
Style="{StaticResource TextBoxNoticeLargeStyle}"
|
||||
Text="{Binding Path=WohneinheitBelegungListVM.CurrentVM.Kommentar, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<StackPanel
|
||||
x:Name="stackpanel_buttons"
|
||||
Grid.Row="7"
|
||||
Grid.ColumnSpan="7"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Right"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
x:Name="btn_save"
|
||||
Margin="3"
|
||||
Click="Save_Button_Click"
|
||||
IsEnabled="{Binding Path=WohneinheitBelegungListVM.CurrentVM.CanSave, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource ButtonGrayDisabledStyle}">
|
||||
Hinzufügen
|
||||
</Button>
|
||||
<Button
|
||||
x:Name="btn_cancel"
|
||||
Margin="3"
|
||||
Click="Cancel_Button_Click">
|
||||
Abbrechen
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</UserControl>
|
||||
|
||||
@@ -20,60 +20,78 @@ using System.Windows.Shapes;
|
||||
|
||||
namespace BeWo.View.Detail.Wohneinheit
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für WohneinheitBelegungControl.xaml
|
||||
/// </summary>
|
||||
public partial class WohneinheitBelegungEditControl : UserControl
|
||||
{
|
||||
public EventHandler EventHandler2 { get; set; }
|
||||
/// <summary>
|
||||
/// Interaktionslogik für WohneinheitBelegungControl.xaml
|
||||
/// </summary>
|
||||
public partial class WohneinheitBelegungEditControl : UserControl
|
||||
{
|
||||
private bool _AddMode = true;
|
||||
|
||||
public WohnheimVM ViewModel => DataContext as WohnheimVM;
|
||||
public WohnheimVM ViewModel => DataContext as WohnheimVM;
|
||||
|
||||
public WohneinheitBelegungEditControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public WohneinheitBelegungEditControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Save_Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.WohneinheitBelegungListVM.AddNewVMToList();
|
||||
private void Save_Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.WohneinheitBelegungListVM.AddNewVMToList();
|
||||
|
||||
Window.GetWindow(this).Close();
|
||||
}
|
||||
Window.GetWindow(this).Close();
|
||||
}
|
||||
|
||||
private void Cancel_Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.WohneinheitBelegungListVM.CloseNewVM();
|
||||
private void Cancel_Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.WohneinheitBelegungListVM.CloseCurrentVM();
|
||||
|
||||
Window.GetWindow(this).Close();
|
||||
}
|
||||
Window.GetWindow(this).Close();
|
||||
}
|
||||
|
||||
private void CustomerSelectionControl_ItemSelected(object sender, EventArgs<CompactCustomerDC> e)
|
||||
{
|
||||
var customer = e.Data;
|
||||
private void CustomerSelectionControl_ItemSelected(object sender, EventArgs<CompactCustomerDC> e)
|
||||
{
|
||||
var customer = e.Data;
|
||||
|
||||
ViewModel.WohneinheitBelegungListVM.CurrentVM.Customer = customer;
|
||||
}
|
||||
ViewModel.WohneinheitBelegungListVM.CurrentVM.Customer = customer;
|
||||
}
|
||||
|
||||
private void root_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.OldValue != null)
|
||||
return;
|
||||
private void root_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.NewValue is AppointmentWindowViewModel avm && avm.Appointment.SourceObject is WohneinheitBelegungVM bvm)
|
||||
{
|
||||
Update(avm.IsNewAppointment, bvm.Customer);
|
||||
}
|
||||
else if (e.NewValue is WohnheimVM wohnheim)
|
||||
{
|
||||
var vm_list = wohnheim.WohneinheitBelegungListVM;
|
||||
var not_new = vm_list.VMList.Contains(vm_list.CurrentVM);
|
||||
|
||||
var avm = e.NewValue as AppointmentWindowViewModel;
|
||||
Update(!not_new, vm_list.CurrentVM.Customer);
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if(avm.Appointment.SourceObject is WohneinheitBelegungVM vm)
|
||||
{
|
||||
groupbox_newBelegung.Header = avm.IsNewAppointment ? "Belegung erstellen" : "Belegung bearbeiten";
|
||||
btn_save.Visibility = avm.IsNewAppointment ? Visibility.Visible : Visibility.Collapsed;
|
||||
btn_cancel.Visibility = avm.IsNewAppointment ? Visibility.Visible : Visibility.Collapsed;
|
||||
private void Update(bool prep_add, CompactCustomerDC customerDC)
|
||||
{
|
||||
if (customer_selection_control.SelectedItem != customerDC)
|
||||
customer_selection_control.SelectedItem = customerDC;
|
||||
|
||||
if (vm.Customer is object)
|
||||
{
|
||||
customer_selection_control.SelectedItem = vm.Customer;
|
||||
//customer_selection_control.SetSelectedCustomerOid(vm.Customer.CustomerOid);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (prep_add == _AddMode)
|
||||
return;
|
||||
|
||||
_AddMode = prep_add;
|
||||
|
||||
groupbox_newBelegung.Header = prep_add ? "Belegung erstellen" : "Belegung bearbeiten";
|
||||
|
||||
stackpanel_buttons.Visibility = prep_add ? Visibility.Visible : Visibility.Collapsed;
|
||||
}
|
||||
|
||||
private void root_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,53 +9,107 @@
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM}"
|
||||
x:Name="root_Popup"
|
||||
StaysOpen="True" Placement="MousePoint" Opened="Popup_Opened" Closed="root_Popup_Closed">
|
||||
StaysOpen="True" Placement="MousePoint" Opened="Popup_Opened" Closed="root_Popup_Closed"
|
||||
Height="400">
|
||||
<Popup.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Popup.Resources>
|
||||
<Border Background="White" Padding="3" BorderThickness="1" BorderBrush="Gray" VerticalAlignment="Stretch">
|
||||
<GroupBox x:Name="groupbox_newBelegung" Header="Belegung erstellen" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid DataContext="{Binding Path=WohneinheitBelegungListVM.CurrentVM}">
|
||||
<GroupBox
|
||||
x:Name="groupbox_newBelegung"
|
||||
Header="Belegung erstellen"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="10" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="10" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="0" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="2*" MinWidth="200" />
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="10"/>
|
||||
<ColumnDefinition Width="*" MinWidth="200" />
|
||||
<ColumnDefinition Width="20"/>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="10"/>
|
||||
<ColumnDefinition Width="*" MinWidth="200" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label VerticalAlignment="Center" Grid.Row="0" Margin="3">Klient</Label>
|
||||
<local:CustomerSelectionControl Grid.Row="0" Grid.Column="1" Margin="3" x:Name="customer_selection_control" ItemSelected="CustomerSelectionControl_ItemSelected">
|
||||
<Label Grid.Row="0" Grid.Column="0">
|
||||
Klient
|
||||
</Label>
|
||||
<local:CustomerSelectionControl
|
||||
x:Name="customer_selection_control"
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
ItemSelected="CustomerSelectionControl_ItemSelected" />
|
||||
|
||||
</local:CustomerSelectionControl >
|
||||
<Label Grid.Row="1">
|
||||
Wohneinheit
|
||||
</Label>
|
||||
<ComboBox
|
||||
x:Name="combobox_Wohneinheit"
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
Height="27"
|
||||
ItemsSource="{Binding WohneinheitListVM.VMList}"
|
||||
SelectedItem="{Binding WohneinheitBelegungListVM.CurrentVM.Wohneinheit}" />
|
||||
|
||||
<Label VerticalAlignment="Center" Grid.Row="1" Margin="3">Wohneinheit</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" Margin="3" x:Name="combobox_Wohneinheit" SelectedItem="{Binding Path=Wohneinheit}" ItemsSource="{Binding ElementName=root_Popup, Path=DataContext.WohneinheitListVM.VMList}">
|
||||
<Label Grid.Row="3">
|
||||
Beginn
|
||||
</Label>
|
||||
<dxe:DateEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="2"
|
||||
EditValue="{Binding Path=WohneinheitBelegungListVM.CurrentVM.StartDate, UpdateSourceTrigger=PropertyChanged}"
|
||||
ShowClearButton="False" />
|
||||
|
||||
</ComboBox>
|
||||
<Label Grid.Row="3" Grid.Column="4">
|
||||
Ende
|
||||
</Label>
|
||||
<dxe:DateEdit
|
||||
Grid.Row="3"
|
||||
Grid.Column="6"
|
||||
EditValue="{Binding Path=WohneinheitBelegungListVM.CurrentVM.EndDate, UpdateSourceTrigger=PropertyChanged}"
|
||||
ShowClearButton="True" />
|
||||
|
||||
<Label VerticalAlignment="Center" Grid.Row="4" Margin="3">Beginn</Label>
|
||||
<dxe:DateEdit Height="23" Grid.Row="4" Margin="3" Grid.Column="1" ShowClearButton="False"
|
||||
EditValue="{Binding Path=StartDate, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label VerticalAlignment="Center" Grid.Row="5" Margin="3">Ende</Label>
|
||||
<dxe:DateEdit Height="23" Grid.Row="5" Margin="3" Grid.Column="1" ShowClearButton="True"
|
||||
EditValue="{Binding Path=EndDate, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Content="Notiz" Grid.Row="8" Grid.Column="0" VerticalAlignment="Top" Margin="3"/>
|
||||
<TextBox Grid.Row="8" Grid.Column="1" MinHeight="23" Margin="3" VerticalContentAlignment="Stretch" MaxHeight="150"
|
||||
AcceptsReturn="True" VerticalScrollBarVisibility="Auto"
|
||||
Text="{Binding Path=Kommentar, UpdateSourceTrigger=PropertyChanged}"
|
||||
/>
|
||||
<StackPanel Grid.Row="9" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="3">
|
||||
<Button Margin="3" x:Name="btn_save" Click="Save_Button_Click" IsEnabled="{Binding Path=CanSave, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}">Hinzufügen</Button>
|
||||
<Button Margin="3" x:Name="btn_cancel" Click="Cancel_Button_Click">Abbrechen</Button>
|
||||
<Label Grid.Row="5" Content="Notiz" />
|
||||
<TextBox
|
||||
Grid.Row="5"
|
||||
Grid.Column="2"
|
||||
Grid.ColumnSpan="5"
|
||||
Style="{StaticResource TextBoxNoticeLargeStyle}"
|
||||
Text="{Binding Path=WohneinheitBelegungListVM.CurrentVM.Kommentar, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<StackPanel
|
||||
Grid.Row="7"
|
||||
Grid.ColumnSpan="7"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Right"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
x:Name="btn_save"
|
||||
Margin="3"
|
||||
Click="Save_Button_Click"
|
||||
IsEnabled="{Binding Path=WohneinheitBelegungListVM.CurrentVM.CanSave, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}">
|
||||
Hinzufügen
|
||||
</Button>
|
||||
<Button
|
||||
x:Name="btn_cancel"
|
||||
Margin="3"
|
||||
Click="Cancel_Button_Click">
|
||||
Abbrechen
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
public WohnheimVM ViewModel
|
||||
{
|
||||
get { return DataContext as WohnheimVM; }
|
||||
set { DataContext = value; }
|
||||
}
|
||||
|
||||
public bool AddMode { get; set; }
|
||||
|
||||
@@ -1,22 +1,24 @@
|
||||
<UserControl x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitBelegungSchedulerView"
|
||||
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:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
||||
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduling"
|
||||
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
mc:Ignorable="d"
|
||||
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM, IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitBelegungSchedulerView"
|
||||
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:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
||||
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
|
||||
xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduling"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM,
|
||||
IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<DataTemplate x:Key="resourceHeaderContentTemplate">
|
||||
@@ -26,9 +28,9 @@
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel>
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
FontWeight="Bold"
|
||||
Text="{Binding Resource.SourceObject.Displayname}" />
|
||||
HorizontalAlignment="Center"
|
||||
FontWeight="Bold"
|
||||
Text="{Binding Resource.SourceObject.Displayname}" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
@@ -36,39 +38,39 @@
|
||||
<dxr:RibbonControl>
|
||||
<dxr:RibbonPage Style="{StaticResource Options.RibbonPage}">
|
||||
<dxr:RibbonPageGroup Caption="Scheduler Settings">
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.WorkDays}"/>
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.StartWorkTime}"/>
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.EndWorkTime}"/>
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.FirstDayOfWeek}"/>
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.WorkDays}" />
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.StartWorkTime}" />
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.EndWorkTime}" />
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.FirstDayOfWeek}" />
|
||||
</dxr:RibbonPageGroup>
|
||||
<dxr:RibbonPageGroup Caption="View Settings">
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.HeadersVisibility}"/>
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.NavigationButtonsVisibility}"/>
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.MoreButtonsVisibility}"/>
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.TimelineAppointmentMinHeight}"/>
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.TimelineResourceMinHeight}"/>
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.TimelineResourceMaxHeight}"/>
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.TimelineStretchAppointments}"/>
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.HeadersVisibility}" />
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.NavigationButtonsVisibility}" />
|
||||
<dxb:BarSubItem Style="{StaticResource Options.BarSubItem.MoreButtonsVisibility}" />
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.TimelineAppointmentMinHeight}" />
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.TimelineResourceMinHeight}" />
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.TimelineResourceMaxHeight}" />
|
||||
<dxb:BarEditItem Style="{StaticResource Options.BarEditItem.TimelineStretchAppointments}" />
|
||||
</dxr:RibbonPageGroup>
|
||||
</dxr:RibbonPage>
|
||||
</dxr:RibbonControl>
|
||||
</DataTemplate>
|
||||
<Style x:Key="timelineView.Style" TargetType="dxsch:TimelineView">
|
||||
<Setter Property="ShowInCommandBar" Value="False"/>
|
||||
<Setter Property="AppointmentMinHeight" Value="20"/>
|
||||
<Setter Property="AppointmentMinWidth" Value="40"/>
|
||||
<Setter Property="ResourceMinHeight" Value="44"/>
|
||||
<Setter Property="ResourceMaxHeight" Value="116"/>
|
||||
<Setter Property="SnapToCellsMode" Value="Never"/>
|
||||
<Setter Property="MoreButtonsVisibility" Value="Never"/>
|
||||
<Setter Property="ShowAppointmentStatus" Value="False"/>
|
||||
<Setter Property="ShowAppointmentInterval" Value="False"/>
|
||||
<Setter Property="NavigationButtonsVisibility" Value="Never"/>
|
||||
<Setter Property="ResourceWidth" Value="150"/>
|
||||
<Setter Property="ResourceHeaderContentTemplate" Value="{StaticResource resourceHeaderContentTemplate}"/>
|
||||
<Setter Property="ShowInCommandBar" Value="False" />
|
||||
<Setter Property="AppointmentMinHeight" Value="20" />
|
||||
<Setter Property="AppointmentMinWidth" Value="40" />
|
||||
<Setter Property="ResourceMinHeight" Value="44" />
|
||||
<Setter Property="ResourceMaxHeight" Value="116" />
|
||||
<Setter Property="SnapToCellsMode" Value="Never" />
|
||||
<Setter Property="MoreButtonsVisibility" Value="Never" />
|
||||
<Setter Property="ShowAppointmentStatus" Value="False" />
|
||||
<Setter Property="ShowAppointmentInterval" Value="False" />
|
||||
<Setter Property="NavigationButtonsVisibility" Value="Never" />
|
||||
<Setter Property="ResourceWidth" Value="150" />
|
||||
<Setter Property="ResourceHeaderContentTemplate" Value="{StaticResource resourceHeaderContentTemplate}" />
|
||||
</Style>
|
||||
<Style x:Key="radiobutton" TargetType="{x:Type RadioButton}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="Margin" Value="3" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
@@ -76,120 +78,174 @@
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Visibility="Visible" x:Name="groupbox_buchungsplan" Header="{markup:Translate Buchungsplan}" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<GroupBox
|
||||
x:Name="groupbox_buchungsplan"
|
||||
Header="{markup:Translate Buchungsplan}"
|
||||
Style="{StaticResource ObjectEditGroupBox}"
|
||||
Visibility="Visible">
|
||||
<Grid Margin="3">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<dxlc:LayoutControl Name="PART_Options" Grid.Column="1" Grid.RowSpan="3" Margin="3" Orientation="Vertical" Padding="0"
|
||||
dx:ScrollBarExtensions.ScrollBarMode="TouchOverlap" Background="Transparent"
|
||||
>
|
||||
<dxe:DateNavigator Background="Transparent"
|
||||
RowCount="3"
|
||||
|
||||
x:Name="dateNavigator"
|
||||
ShowTodayButton="False" ShowWeekNumbers="False" IsMultiSelect="False"
|
||||
VerticalAlignment="Top" dxlc:LayoutControl.AllowVerticalSizing="True"
|
||||
>
|
||||
<dxlc:LayoutControl
|
||||
Name="PART_Options"
|
||||
Grid.RowSpan="3"
|
||||
Grid.Column="1"
|
||||
Margin="3"
|
||||
Padding="0"
|
||||
dx:ScrollBarExtensions.ScrollBarMode="TouchOverlap"
|
||||
Background="Transparent"
|
||||
Orientation="Vertical">
|
||||
<dxe:DateNavigator
|
||||
x:Name="dateNavigator"
|
||||
VerticalAlignment="Top"
|
||||
dxlc:LayoutControl.AllowVerticalSizing="True"
|
||||
Background="Transparent"
|
||||
IsMultiSelect="False"
|
||||
RowCount="3"
|
||||
ShowTodayButton="False"
|
||||
ShowWeekNumbers="False">
|
||||
<dxe:DateNavigator.StyleSettings>
|
||||
<dxsch:SchedulerDateNavigatorStyleSettings x:Name="dateNavigatorSettings"
|
||||
AllowChangeSchedulerView="False"
|
||||
Scheduler="{Binding ElementName=scheduler_buchungsplan}"
|
||||
CustomizeSelectedDates="dateNavigatorSettings_CustomizeSelectedDates"/>
|
||||
<dxsch:SchedulerDateNavigatorStyleSettings
|
||||
x:Name="dateNavigatorSettings"
|
||||
AllowChangeSchedulerView="False"
|
||||
CustomizeSelectedDates="dateNavigatorSettings_CustomizeSelectedDates"
|
||||
Scheduler="{Binding ElementName=scheduler_buchungsplan}" />
|
||||
</dxe:DateNavigator.StyleSettings>
|
||||
</dxe:DateNavigator>
|
||||
<dxsch:ResourceTreeControl Scheduler="{Binding ElementName=scheduler_buchungsplan}" AllowResourceCreate="False" AllowResourceDelete="False" Margin="3,3,-1,-1" ShowBorder="False" Background="Transparent"/>
|
||||
<dxsch:ResourceTreeControl
|
||||
Margin="3,3,-1,-1"
|
||||
AllowResourceCreate="False"
|
||||
AllowResourceDelete="False"
|
||||
Background="Transparent"
|
||||
Scheduler="{Binding ElementName=scheduler_buchungsplan}"
|
||||
ShowBorder="False" />
|
||||
</dxlc:LayoutControl>
|
||||
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
||||
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
||||
<!--<RadioButton GroupName="schedular_time" Content="Unbegrenzt" IsEnabled="True" Click="{DXEvent '@e(timelineView).IsActive = true'}" Style="{StaticResource radiobutton}"/>-->
|
||||
<RadioButton x:Name="radioButtonYear" GroupName="schedular_time" Content="Jahr" Click="{DXEvent '@e(timelineViewYear).IsActive = true'}" Style="{StaticResource radiobutton}"/>
|
||||
<RadioButton GroupName="schedular_time" Content="Quartal" Click="{DXEvent '@e(timelineViewQuartal).IsActive = true'}" Style="{StaticResource radiobutton}"/>
|
||||
<RadioButton GroupName="schedular_time" Content="Monat" Click="{DXEvent '@e(timelineViewMonth).IsActive = true'}" Style="{StaticResource radiobutton}"/>
|
||||
<RadioButton GroupName="schedular_time" Content="4 Wochen" Click="{DXEvent '@e(timelineView4Week).IsActive = true'}" Style="{StaticResource radiobutton}"/>
|
||||
<RadioButton GroupName="schedular_time" Content="Wochen" Click="{DXEvent '@e(timelineViewWeek).IsActive = true'}" Style="{StaticResource radiobutton}"/>
|
||||
<RadioButton GroupName="schedular_time" Content="Liste" Click="{DXEvent '@e(listview).IsActive = true'}" Style="{StaticResource radiobutton}"/>
|
||||
<RadioButton
|
||||
x:Name="radioButtonYear"
|
||||
Click="{DXEvent '@e(timelineViewYear).IsActive = true'}"
|
||||
Content="Jahr"
|
||||
GroupName="schedular_time"
|
||||
Style="{StaticResource radiobutton}" />
|
||||
<RadioButton
|
||||
Click="{DXEvent '@e(timelineViewQuartal).IsActive = true'}"
|
||||
Content="Quartal"
|
||||
GroupName="schedular_time"
|
||||
Style="{StaticResource radiobutton}" />
|
||||
<RadioButton
|
||||
Click="{DXEvent '@e(timelineViewMonth).IsActive = true'}"
|
||||
Content="Monat"
|
||||
GroupName="schedular_time"
|
||||
Style="{StaticResource radiobutton}" />
|
||||
<RadioButton
|
||||
Click="{DXEvent '@e(timelineView4Week).IsActive = true'}"
|
||||
Content="4 Wochen"
|
||||
GroupName="schedular_time"
|
||||
Style="{StaticResource radiobutton}" />
|
||||
<RadioButton
|
||||
Click="{DXEvent '@e(timelineViewWeek).IsActive = true'}"
|
||||
Content="Wochen"
|
||||
GroupName="schedular_time"
|
||||
Style="{StaticResource radiobutton}" />
|
||||
<RadioButton
|
||||
Click="{DXEvent '@e(listview).IsActive = true'}"
|
||||
Content="Liste"
|
||||
GroupName="schedular_time"
|
||||
Style="{StaticResource radiobutton}" />
|
||||
</StackPanel>
|
||||
<dxsch:SchedulerControl x:Name="scheduler_buchungsplan"
|
||||
Grid.Row="1"
|
||||
Width="auto"
|
||||
Height="auto"
|
||||
ShowBorder="False"
|
||||
FirstDayOfWeek="Monday"
|
||||
dx:ThemeManager.ThemeName="Office2010Black"
|
||||
VerticalAlignment="Stretch"
|
||||
GroupType="Resource"
|
||||
ShowDateNavigationPanel="False"
|
||||
PopupMenuShowing="scheduler_buchungsplan_PopupMenuShowing"
|
||||
ActiveViewChanged="scheduler_ActiveViewChanged"
|
||||
ActiveViewIndex="1"
|
||||
AllowAppointmentCopy="False" AllowAppointmentCreate="{Binding Path=PermissionWohneinheitBelegungCreate}"
|
||||
AllowAppointmentDelete="{Binding Path=PermissionWohneinheitBelegungDelete}" AllowAppointmentDrag="False"
|
||||
AllowAppointmentDragBetweenResources="False" AllowAppointmentEdit="{Binding Path=PermissionWohneinheitBelegungEdit}"
|
||||
AllowAppointmentMultiSelect="False" AllowAppointmentResize="False"
|
||||
AllowCellMultiSelect="False" AllowInplaceEditor="False"
|
||||
AllowReminders="False" AllowAppointmentConflicts="False" AppointmentWindowShowing="scheduler_buchungsplan_AppointmentWindowShowing"
|
||||
>
|
||||
<dxsch:SchedulerControl
|
||||
x:Name="scheduler_buchungsplan"
|
||||
Grid.Row="1"
|
||||
Width="auto"
|
||||
Height="auto"
|
||||
VerticalAlignment="Stretch"
|
||||
dx:ThemeManager.ThemeName="Office2010Black"
|
||||
ActiveViewChanged="scheduler_ActiveViewChanged"
|
||||
ActiveViewIndex="1"
|
||||
AllowAppointmentConflicts="False"
|
||||
AllowAppointmentCopy="False"
|
||||
AllowAppointmentCreate="{Binding Path=WohneinheitBelegungListVM.PermissionWohneinheitBelegungManage}"
|
||||
AllowAppointmentDelete="{Binding Path=WohneinheitBelegungListVM.PermissionWohneinheitBelegungManage}"
|
||||
AllowAppointmentDrag="False"
|
||||
AllowAppointmentDragBetweenResources="False"
|
||||
AllowAppointmentEdit="{Binding Path=WohneinheitBelegungListVM.PermissionWohneinheitBelegungManage}"
|
||||
AllowAppointmentMultiSelect="False"
|
||||
AllowAppointmentResize="False"
|
||||
AllowCellMultiSelect="False"
|
||||
AllowInplaceEditor="False"
|
||||
AllowReminders="False"
|
||||
AppointmentWindowShowing="scheduler_buchungsplan_AppointmentWindowShowing"
|
||||
FirstDayOfWeek="Monday"
|
||||
GroupType="Resource"
|
||||
PopupMenuShowing="scheduler_buchungsplan_PopupMenuShowing"
|
||||
ShowBorder="False"
|
||||
ShowDateNavigationPanel="False">
|
||||
<dxsch:SchedulerControl.OptionsWindows>
|
||||
<dxsch:OptionsWindows AppointmentWindowType="{x:Type local:WohneinheitBelegungWindow}"/>
|
||||
<dxsch:OptionsWindows AppointmentWindowType="{x:Type local:WohneinheitBelegungWindow}" />
|
||||
</dxsch:SchedulerControl.OptionsWindows>
|
||||
<dxsch:SchedulerControl.OptionsContextMenu>
|
||||
<dxsch:OptionsContextMenu>
|
||||
<dxsch:OptionsContextMenu.AppointmentContextMenuActions>
|
||||
<!--Remove the "Copy" item-->
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_Copy}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_Cut}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_EditSeries}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_Paste}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_RestoreOccurrence}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Options_ShowTimeAs}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Options_LabelAs}"/>
|
||||
<!-- Remove the "Copy" item -->
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_Copy}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_Cut}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_EditSeries}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_Paste}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Actions_RestoreOccurrence}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Options_ShowTimeAs}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Appointment_Options_LabelAs}" />
|
||||
</dxsch:OptionsContextMenu.AppointmentContextMenuActions>
|
||||
<dxsch:OptionsContextMenu.CellContextMenuActions>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Cell_Actions_NewAllDayEvent}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Cell_Actions_NewRecurringAppointment}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Cell_Actions_NewRecurringEvent}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Cell_Actions_Paste}"/>
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Cell_Actions_NewAllDayEvent}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Cell_Actions_NewRecurringAppointment}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Cell_Actions_NewRecurringEvent}" />
|
||||
<dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_Cell_Actions_Paste}" />
|
||||
</dxsch:OptionsContextMenu.CellContextMenuActions>
|
||||
</dxsch:OptionsContextMenu>
|
||||
</dxsch:SchedulerControl.OptionsContextMenu>
|
||||
|
||||
<!--<dxsch:TimelineView x:Name="timelineView" ViewMode="Standard" Style="{StaticResource timelineView.Style}"/>-->
|
||||
<dxsch:TimelineView x:Name="timelineViewYear" Style="{StaticResource timelineView.Style}"/>
|
||||
<dxsch:TimelineView x:Name="timelineViewQuartal" Style="{StaticResource timelineView.Style}"/>
|
||||
<dxsch:TimelineView x:Name="timelineView4Week" Style="{StaticResource timelineView.Style}"/>
|
||||
<dxsch:TimelineView x:Name="timelineViewWeek" Style="{StaticResource timelineView.Style}"/>
|
||||
<dxsch:TimelineView x:Name="timelineViewMonth" Style="{StaticResource timelineView.Style}"/>
|
||||
<dxsch:TimelineView x:Name="timelineViewYear" Style="{StaticResource timelineView.Style}" />
|
||||
<dxsch:TimelineView x:Name="timelineViewQuartal" Style="{StaticResource timelineView.Style}" />
|
||||
<dxsch:TimelineView x:Name="timelineView4Week" Style="{StaticResource timelineView.Style}" />
|
||||
<dxsch:TimelineView x:Name="timelineViewWeek" Style="{StaticResource timelineView.Style}" />
|
||||
<dxsch:TimelineView x:Name="timelineViewMonth" Style="{StaticResource timelineView.Style}" />
|
||||
|
||||
<dxsch:ListView x:Name="listview"></dxsch:ListView>
|
||||
<dxsch:ListView x:Name="listview" />
|
||||
<dxsch:SchedulerControl.DataSource>
|
||||
<dxsch:DataSource
|
||||
ResourcesSource="{Binding WohneinheitListVM.VMList}"
|
||||
AppointmentLabelsSource="{Binding Customers}"
|
||||
AppointmentsSource="{Binding WohneinheitBelegungListVM.VMList}">
|
||||
AppointmentLabelsSource="{Binding Customers}"
|
||||
AppointmentsSource="{Binding WohneinheitBelegungListVM.VMList}"
|
||||
ResourcesSource="{Binding WohneinheitListVM.VMList}">
|
||||
|
||||
<dxsch:DataSource.ResourceMappings>
|
||||
<dxsch:ResourceMappings Id="Oid" Caption="Caption" Group="Group" />
|
||||
<dxsch:ResourceMappings
|
||||
Caption="Caption"
|
||||
Group="Group"
|
||||
Id="Oid" />
|
||||
</dxsch:DataSource.ResourceMappings>
|
||||
|
||||
<dxsch:DataSource.AppointmentLabelMappings>
|
||||
<dxsch:AppointmentLabelMappings Id="CustomerOid" Caption="VollerName"/>
|
||||
<dxsch:AppointmentLabelMappings Caption="VollerName" Id="CustomerOid" />
|
||||
</dxsch:DataSource.AppointmentLabelMappings>
|
||||
|
||||
<dxsch:DataSource.AppointmentMappings>
|
||||
<dxsch:AppointmentMappings
|
||||
Start="StartDate"
|
||||
End="EndDateDisplay"
|
||||
ResourceId="Wohneinheit.Oid"
|
||||
LabelId="Customer.CustomerOid"
|
||||
Subject="Customer.VollerName">
|
||||
</dxsch:AppointmentMappings>
|
||||
End="EndDateDisplay"
|
||||
LabelId="Customer.CustomerOid"
|
||||
ResourceId="Wohneinheit.Oid"
|
||||
AllDay="AllDay"
|
||||
Start="StartDate"
|
||||
Subject="Customer.VollerName" />
|
||||
</dxsch:DataSource.AppointmentMappings>
|
||||
</dxsch:DataSource>
|
||||
</dxsch:SchedulerControl.DataSource>
|
||||
|
||||
@@ -266,7 +266,9 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
|
||||
var vm = e.Appointment.SourceObject as WohneinheitBelegungVM;
|
||||
|
||||
bool success = vm.IsNew ? ViewModel.AddBelegung(e.Appointment.ResourceId, e.Appointment.Start.Date) : ViewModel.EditBelegung(vm);
|
||||
var add = ViewModel.WohneinheitBelegungListVM.VMList.Contains(vm);
|
||||
|
||||
bool success = !add ? ViewModel.AddBelegung(e.Appointment.ResourceId, e.Appointment.Start.Date) : ViewModel.EditBelegung(vm);
|
||||
|
||||
if (success)
|
||||
{
|
||||
|
||||
@@ -1,69 +1,141 @@
|
||||
<UserControl x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitBelegungTableView"
|
||||
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:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
DataContextChanged="UserControl_DataContextChanged"
|
||||
|
||||
mc:Ignorable="d"
|
||||
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM, IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<UserControl
|
||||
x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitBelegungTableView"
|
||||
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:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM,
|
||||
IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
DataContextChanged="UserControl_DataContextChanged"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Visibility="Visible" x:Name="groupbox_Wohneinheit_Buchung" Header="{markup:Translate Buchungen}" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid Margin="3">
|
||||
<GroupBox
|
||||
x:Name="groupbox_Wohneinheit_Buchung"
|
||||
Header="{markup:Translate Buchungen}"
|
||||
Style="{StaticResource ObjectEditGroupBox}"
|
||||
Visibility="Visible">
|
||||
<Grid Margin="3" DataContext="{Binding WohneinheitBelegungListVM}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="26*"/>
|
||||
<ColumnDefinition Width="29*"/>
|
||||
<ColumnDefinition Width="26*" />
|
||||
<ColumnDefinition Width="29*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Button Click="Button_NewBelegung_Click" Content="Belegung hinzufügen" HorizontalAlignment="Right" Grid.ColumnSpan="2" Margin="3" Visibility="{Binding Path=PermissionWohneinheitBelegungCreate, Converter={StaticResource BoolVisibilityConverter}}"/>
|
||||
<dxg:GridControl Grid.Row="1" x:Name="datagrid_belegung"
|
||||
|
||||
DataSource="{Binding WohneinheitBelegungListVM.VMList}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="2">
|
||||
<dxg:GridColumn x:Name="ColumnButtons2" AllowEditing="False" Width="Auto" FieldName="ReportLink" Header=" " Visible="{Binding Path=PermissionWohneinheitBelegungDelete}">
|
||||
<Button
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Right"
|
||||
Click="Button_NewBelegung_Click"
|
||||
Content="Belegung hinzufügen"
|
||||
Visibility="{Binding Path=PermissionWohneinheitBelegungManage, Converter={StaticResource BoolVisibilityConverter}}" />
|
||||
<dxg:GridControl
|
||||
x:Name="datagrid_belegung"
|
||||
Grid.Row="1"
|
||||
Grid.ColumnSpan="2"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
DataSource="{Binding VMList}">
|
||||
<dxg:GridColumn
|
||||
x:Name="ColumnButtons2"
|
||||
Width="Auto"
|
||||
AllowEditing="False"
|
||||
FieldName="ReportLink"
|
||||
Header=" "
|
||||
Visible="{Binding Path=PermissionWohneinheitBelegungManage}">
|
||||
<dxg:GridColumn.DisplayTemplate>
|
||||
<ControlTemplate>
|
||||
<StackPanel Orientation="Horizontal" Margin="1">
|
||||
<Button Click="btn_belegung_delete_Click" Content="r" Padding="0" Margin="1" ToolTip="Löschen" Foreground="#FFFFFF" FontSize="11" FontFamily="Webdings" x:Name="btn_delete" Height="18" Width="20" VerticalAlignment="Center" />
|
||||
<StackPanel Margin="1" Orientation="Horizontal">
|
||||
<Button
|
||||
x:Name="btn_delete"
|
||||
Width="20"
|
||||
Height="18"
|
||||
Margin="1"
|
||||
Padding="0"
|
||||
VerticalAlignment="Center"
|
||||
Click="btn_belegung_delete_Click"
|
||||
Content="r"
|
||||
FontFamily="Webdings"
|
||||
FontSize="11"
|
||||
Foreground="#FFFFFF"
|
||||
ToolTip="Löschen" />
|
||||
</StackPanel>
|
||||
</ControlTemplate>
|
||||
</dxg:GridColumn.DisplayTemplate>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridColumn ReadOnly="True" AllowEditing="False" FieldName="Oid" Header="Nr." Width="70"/>
|
||||
<dxg:GridColumn ReadOnly="True" AllowEditing="False" FieldName="Customer.Name" Header="{t:Translate Klient}" Width="200" />
|
||||
<dxg:GridColumn ReadOnly="True" AllowEditing="False" FieldName="Wohneinheit.Wohnname" Header="Wohnungsname" Width="200"/>
|
||||
<dxg:GridColumn ReadOnly="True" AllowEditing="False" FieldName="Wohneinheit.Zimmername" Header="Zimmername" Width="150"/>
|
||||
<dxg:GridColumn ReadOnly="True" AllowEditing="False" FieldName="StartDate" Header="Start" Width="100">
|
||||
<dxg:GridColumn
|
||||
Width="70"
|
||||
AllowEditing="False"
|
||||
FieldName="Oid"
|
||||
Header="Nr."
|
||||
ReadOnly="True" />
|
||||
<dxg:GridColumn
|
||||
Width="200"
|
||||
AllowEditing="False"
|
||||
FieldName="Customer.Name"
|
||||
Header="{t:Translate Klient}"
|
||||
ReadOnly="True" />
|
||||
<dxg:GridColumn
|
||||
Width="200"
|
||||
AllowEditing="False"
|
||||
FieldName="Wohneinheit.Wohnname"
|
||||
Header="Wohnungsname"
|
||||
ReadOnly="True" />
|
||||
<dxg:GridColumn
|
||||
Width="150"
|
||||
AllowEditing="False"
|
||||
FieldName="Wohneinheit.Zimmername"
|
||||
Header="Zimmername"
|
||||
ReadOnly="True" />
|
||||
<dxg:GridColumn
|
||||
Width="100"
|
||||
AllowEditing="False"
|
||||
FieldName="StartDate"
|
||||
Header="Start"
|
||||
ReadOnly="True">
|
||||
<dxg:GridColumn.EditSettings>
|
||||
<dxe:DateEditSettings DisplayFormat="d" HorizontalContentAlignment="Right"/>
|
||||
<dxe:DateEditSettings HorizontalContentAlignment="Right" DisplayFormat="d" />
|
||||
</dxg:GridColumn.EditSettings>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridColumn ReadOnly="True" AllowEditing="False" FieldName="EndDate" Header="Ende" Width="100">
|
||||
<dxg:GridColumn
|
||||
Width="100"
|
||||
AllowEditing="False"
|
||||
FieldName="EndDate"
|
||||
Header="Ende"
|
||||
ReadOnly="True">
|
||||
<dxg:GridColumn.EditSettings>
|
||||
<dxe:DateEditSettings DisplayFormat="d" HorizontalContentAlignment="Right"/>
|
||||
<dxe:DateEditSettings HorizontalContentAlignment="Right" DisplayFormat="d" />
|
||||
</dxg:GridColumn.EditSettings>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridColumn FieldName="Kommentar" Header="Kommentar" MinWidth="50" Width="*" AllowEditing="{Binding Path=PermissionWohneinheitBelegungEdit}"/>
|
||||
<dxg:GridColumn
|
||||
Width="*"
|
||||
MinWidth="50"
|
||||
AllowEditing="{Binding Path=PermissionWohneinheitBelegungManage}"
|
||||
FieldName="Kommentar"
|
||||
Header="Kommentar" />
|
||||
<dxg:GridControl.View>
|
||||
<dxg:TableView x:Name="datagridview2" NavigationStyle="Cell" BestFitModeOnSourceChange="AllRows" BestFitMode="AllRows" RowDoubleClick="datagridview2_RowDoubleClick"/>
|
||||
<dxg:TableView
|
||||
x:Name="datagridview2"
|
||||
BestFitMode="AllRows"
|
||||
BestFitModeOnSourceChange="AllRows"
|
||||
NavigationStyle="Cell"
|
||||
RowDoubleClick="datagridview2_RowDoubleClick" />
|
||||
</dxg:GridControl.View>
|
||||
</dxg:GridControl>
|
||||
|
||||
<local:WohneinheitBelegungEditPopup x:Name="popup_newBelegung" ViewModel="{Binding}"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<local:WohneinheitBelegungEditPopup x:Name="popup_newBelegung"/>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
@@ -43,9 +43,6 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
|
||||
private void btn_belegung_delete_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!ViewModel.PermissionWohneinheitBelegungDelete)
|
||||
return;
|
||||
|
||||
var listvm = ViewModel.WohneinheitBelegungListVM;
|
||||
|
||||
if (listvm.EditVM is object)
|
||||
|
||||
@@ -7,19 +7,14 @@
|
||||
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">
|
||||
|
||||
Title="WohneinheitBelegungWindow" SizeToContent="WidthAndHeight"
|
||||
Height="400">
|
||||
<dxmvvm:Interaction.Behaviors>
|
||||
<dxmvvm:CurrentWindowService ClosingCommand="{Binding WindowClosingCommand}" />
|
||||
</dxmvvm:Interaction.Behaviors>
|
||||
|
||||
|
||||
<!--Buttons-->
|
||||
<StackPanel
|
||||
HorizontalAlignment="Right"
|
||||
Orientation="Vertical">
|
||||
<local:WohneinheitBelegungEditControl >
|
||||
|
||||
</local:WohneinheitBelegungEditControl>
|
||||
</StackPanel>
|
||||
<Grid
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch">
|
||||
<local:WohneinheitBelegungEditControl DataContext="{Binding}"/>
|
||||
</Grid>
|
||||
</dx:ThemedWindow>
|
||||
|
||||
@@ -12,12 +12,20 @@
|
||||
Placement="MousePoint"
|
||||
StaysOpen="True"
|
||||
mc:Ignorable="d">
|
||||
<Popup.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Popup.Resources>
|
||||
<Border
|
||||
Padding="3"
|
||||
VerticalAlignment="Stretch"
|
||||
Background="White"
|
||||
BorderBrush="Gray"
|
||||
BorderThickness="1">
|
||||
BorderThickness="1"
|
||||
DataContext="{Binding SelectedVM}">
|
||||
<GroupBox
|
||||
x:Name="groupbox_newWohneinheit"
|
||||
Header="Wohneinheit erstellen"
|
||||
@@ -40,24 +48,13 @@
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="0">
|
||||
Wohnungsname
|
||||
</Label>
|
||||
<ComboBox
|
||||
x:Name="combobox_wohnungsname"
|
||||
<TextBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="3"
|
||||
DropDownClosed="combobox_wohnungsname_DropDownClosed"
|
||||
IsEditable="True"
|
||||
IsReadOnly="False"
|
||||
IsTextSearchEnabled="False"
|
||||
ItemsSource="{Binding Path=WohneinheitListVM.Wohnungsnamen}"
|
||||
Text="{Binding Path=WohneinheitListVM.SelectedVM.Wohnname, UpdateSourceTrigger=PropertyChanged}"
|
||||
ToolTip="Liste der Wohneinheiten ohne Zimmer Bezeichnung" />
|
||||
Text="{Binding Path=Wohnname, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
@@ -68,72 +65,43 @@
|
||||
<TextBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Margin="3"
|
||||
Text="{Binding Path=WohneinheitListVM.SelectedVM.Zimmername, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding Path=Zimmername, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="2">
|
||||
Baujahr
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.Baujahr, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="0000"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
EditValue="{Binding Path=Baujahr, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditYearStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Top"
|
||||
Content="Stock" />
|
||||
<TextBox
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
VerticalContentAlignment="Stretch"
|
||||
Text="{Binding Path=WohneinheitListVM.SelectedVM.Stock, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding Path=Stock, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="4"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="4">
|
||||
Fläche
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.QM, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="######0.00 qm"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
EditValue="{Binding Path=QM, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditQmStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="5"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="5">
|
||||
Kaution
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.Kaution, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="######0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
EditValue="{Binding Path=Kaution, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
|
||||
<Grid Grid.Row="6" Grid.ColumnSpan="2">
|
||||
<Grid.RowDefinitions>
|
||||
@@ -148,148 +116,75 @@
|
||||
<ColumnDefinition Width="15*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="0">
|
||||
Miete
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.Miete, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
EditValue="{Binding Path=Miete, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="1">
|
||||
Heizung
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.Heizung, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
EditValue="{Binding Path=Heizung, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="2">
|
||||
Strom
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.Strom, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
EditValue="{Binding Path=Strom, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="0" Grid.Column="2">
|
||||
Betriebskosten
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="3"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.Betriebskosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
EditValue="{Binding Path=Betriebskosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="1" Grid.Column="2">
|
||||
Sonstige Kosten
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="3"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.SonstigeKosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
EditValue="{Binding Path=SonstigeKosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="2" Grid.Column="2">
|
||||
Brutto
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="3"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=WohneinheitListVM.SelectedVM.Brutto, Mode=OneWay}"
|
||||
EditValue="{Binding Path=Brutto, Mode=OneWay}"
|
||||
IsReadOnly="True"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
</Grid>
|
||||
|
||||
<Label
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Top"
|
||||
Content="Möbilierung" />
|
||||
<Label Grid.Row="7" Content="Möbilierung" />
|
||||
<TextBox
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
MinHeight="23"
|
||||
MaxHeight="150"
|
||||
Margin="3"
|
||||
VerticalContentAlignment="Stretch"
|
||||
AcceptsReturn="True"
|
||||
Text="{Binding Path=WohneinheitListVM.SelectedVM.Mobilierung, UpdateSourceTrigger=PropertyChanged}"
|
||||
VerticalScrollBarVisibility="Auto" />
|
||||
Style="{StaticResource TextBoxNoticeStyle}"
|
||||
Text="{Binding Path=Mobilierung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Top"
|
||||
Content="Notiz" />
|
||||
<Label Grid.Row="8" Content="Notiz" />
|
||||
<TextBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
MinHeight="23"
|
||||
MaxHeight="150"
|
||||
Margin="3"
|
||||
VerticalContentAlignment="Stretch"
|
||||
AcceptsReturn="True"
|
||||
Text="{Binding Path=WohneinheitListVM.SelectedVM.Zusatznotiz, UpdateSourceTrigger=PropertyChanged}"
|
||||
VerticalScrollBarVisibility="Auto" />
|
||||
Style="{StaticResource TextBoxNoticeExtendedStyle}"
|
||||
Text="{Binding Path=Zusatznotiz, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<StackPanel
|
||||
Grid.Row="9"
|
||||
Grid.ColumnSpan="2"
|
||||
|
||||
@@ -25,14 +25,14 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
public partial class WohneinheitEditPopup : Popup
|
||||
{
|
||||
public static readonly DependencyProperty ViewModelProperty = DependencyProperty.Register(
|
||||
"ViewModel", typeof(WohnheimVM),
|
||||
"ViewModel", typeof(WohneinheitListVM),
|
||||
typeof(WohneinheitEditPopup),
|
||||
new PropertyMetadata(null)
|
||||
);
|
||||
|
||||
public WohnheimVM ViewModel
|
||||
public WohneinheitListVM ViewModel
|
||||
{
|
||||
get => (WohnheimVM)GetValue(ViewModelProperty);
|
||||
get => (WohneinheitListVM)GetValue(ViewModelProperty);
|
||||
set => SetValue(ViewModelProperty, value);
|
||||
}
|
||||
|
||||
@@ -45,32 +45,34 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
|
||||
private void Save_Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.WohneinheitListVM.SelectedVM = null;
|
||||
|
||||
ViewModel.WohneinheitListVM.AddNewVMToListAndSelect(false);
|
||||
ViewModel.AddNewVMToListAndSelect(false);
|
||||
|
||||
IsOpen = false;
|
||||
}
|
||||
|
||||
private void Cancel_Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.WohneinheitListVM.ResetNewVM();
|
||||
|
||||
IsOpen = false;
|
||||
}
|
||||
|
||||
private void Popup_Opened(object sender, EventArgs e)
|
||||
{
|
||||
var vmlist = ViewModel.WohneinheitListVM;
|
||||
|
||||
AddMode = vmlist.EditVM is null;
|
||||
AddMode = ViewModel.EditVM is null;
|
||||
|
||||
if (AddMode)
|
||||
{
|
||||
btn_cancel.Visibility = Visibility.Visible;
|
||||
btn_save.Visibility = Visibility.Visible;
|
||||
StaysOpen = true;
|
||||
groupbox_newWohneinheit.Header = "Wohneinheit erstellen";
|
||||
|
||||
if (ViewModel.NewVM.Wohnname is null)
|
||||
{
|
||||
groupbox_newWohneinheit.Header = "Wohneinheit erstellen";
|
||||
}
|
||||
else
|
||||
{
|
||||
groupbox_newWohneinheit.Header = "Zimmer hinzufügen";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -78,68 +80,24 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
btn_save.Visibility = Visibility.Collapsed;
|
||||
StaysOpen = false;
|
||||
groupbox_newWohneinheit.Header = "Wohneinheit bearbeiten";
|
||||
|
||||
var current = vmlist.SelectedVM;
|
||||
if (!string.IsNullOrEmpty(current.Wohnname) && combobox_wohnungsname.Items.Contains(current.Wohnname))
|
||||
{
|
||||
combobox_wohnungsname.SelectedItem = current.Wohnname;
|
||||
}
|
||||
else
|
||||
{
|
||||
combobox_wohnungsname.SelectedItem = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Popup_Closed(object sender, EventArgs e)
|
||||
{
|
||||
var vmlist = ViewModel.WohneinheitListVM;
|
||||
var currentvm = vmlist.SelectedVM;
|
||||
var currentvm = ViewModel.SelectedVM;
|
||||
|
||||
if (currentvm is object)
|
||||
{
|
||||
if (AddMode)
|
||||
{
|
||||
vmlist.SelectedVM = null;
|
||||
vmlist.NewVM = null;
|
||||
ViewModel.CloseNewVM();
|
||||
}
|
||||
else
|
||||
{
|
||||
vmlist.CloseEditVM();
|
||||
ViewModel.CloseEditVM();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void SetValuesFromParent(WohneinheitVM vm, WohneinheitVM parent_vm)
|
||||
{
|
||||
if (vm is null || parent_vm is null || vm == parent_vm)
|
||||
return;
|
||||
|
||||
//vm.Wohnname = parent_vm.Wohnname;
|
||||
|
||||
if (vm.Stock.IsNullOrEmpty() && parent_vm.Stock.IsNotNullOrEmpty())
|
||||
{
|
||||
vm.Stock = parent_vm.Stock;
|
||||
}
|
||||
|
||||
if (!vm.Baujahr.HasValue && parent_vm.Baujahr.HasValue)
|
||||
{
|
||||
vm.Baujahr = parent_vm.Baujahr;
|
||||
}
|
||||
}
|
||||
|
||||
private void combobox_wohnungsname_DropDownClosed(object sender, EventArgs e)
|
||||
{
|
||||
var vm = ViewModel.WohneinheitListVM.SelectedVM;
|
||||
|
||||
if (vm is null)
|
||||
return;
|
||||
|
||||
var selected_item = combobox_wohnungsname.SelectedItem as string;
|
||||
|
||||
var selected_vm = ViewModel.WohneinheitListVM.VMList.FirstOrDefault(x => x.Wohnname == selected_item);
|
||||
|
||||
SetValuesFromParent(vm, selected_vm);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<UserControl
|
||||
x:Name="rootView"
|
||||
x:Class="BeWo.View.Detail.Wohneinheit.WohneinheitVerwaltungViewV1"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
@@ -10,13 +9,20 @@
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
x:Name="rootView"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM,
|
||||
IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
d:DesignStyle="{StaticResource MyDesignStyle}"
|
||||
DataContextChanged="UserControl_DataContextChanged"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid x:Name="root" DataContext="{Binding WohneinheitListVM}">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
@@ -34,20 +40,37 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Button
|
||||
<StackPanel
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Right"
|
||||
Click="Button_NewWohneinheit_Click"
|
||||
Content="Wohneinheit hinzufügen"
|
||||
Visibility="{Binding Path=PermissionWohneinheitCreate, Converter={StaticResource BoolVisibilityConverter}}" />
|
||||
Orientation="Horizontal">
|
||||
<Button Click="Button_NewChildWohneinheit_Click">
|
||||
<Button.Visibility>
|
||||
<MultiBinding Converter="{StaticResource BooleanAndVisibilityMultiConverter}">
|
||||
<Binding Path="PermissionWohneinheitManage" />
|
||||
<Binding
|
||||
Converter="{StaticResource ObjectBoolConverter}"
|
||||
ElementName="datagrid_wohneinheiten"
|
||||
Path="SelectedItem" />
|
||||
</MultiBinding>
|
||||
</Button.Visibility>
|
||||
Zimmer hinzufügen
|
||||
</Button>
|
||||
<Button
|
||||
Grid.ColumnSpan="2"
|
||||
HorizontalAlignment="Right"
|
||||
Click="Button_NewWohneinheit_Click"
|
||||
Content="Wohneinheit hinzufügen"
|
||||
Visibility="{Binding Path=PermissionWohneinheitManage, Converter={StaticResource BoolVisibilityConverter}}" />
|
||||
</StackPanel>
|
||||
|
||||
<dxg:GridControl
|
||||
x:Name="datagrid_wohneinheiten"
|
||||
Grid.Row="1"
|
||||
Grid.ColumnSpan="2"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
DataSource="{Binding WohneinheitListVM.VMList}"
|
||||
DataSource="{Binding VMList}"
|
||||
DefaultSorting="DisplayName">
|
||||
<dxg:GridColumn
|
||||
x:Name="ColumnButtons"
|
||||
@@ -72,12 +95,12 @@
|
||||
FontSize="11"
|
||||
Foreground="#FFFFFF"
|
||||
ToolTip="Grundrisse"
|
||||
Visibility="{Binding Path=DataContext.PermissionWohneinheitGallery, ElementName=rootView, Converter={StaticResource BoolVisibilityConverter}}" />
|
||||
Visibility="{Binding Path=DataContext.PermissionWohneinheitGalleryView, ElementName=root, Converter={StaticResource BoolVisibilityConverter}}" />
|
||||
<Button
|
||||
x:Name="btn_delete"
|
||||
Width="20"
|
||||
Height="18"
|
||||
Margin="1,1,1,1"
|
||||
Margin="1"
|
||||
Padding="0"
|
||||
VerticalAlignment="Center"
|
||||
Click="btn_delete_Click"
|
||||
@@ -86,7 +109,7 @@
|
||||
FontSize="11"
|
||||
Foreground="#FFFFFF"
|
||||
ToolTip="Löschen"
|
||||
Visibility="{Binding Path=DataContext.PermissionWohneinheitDelete, ElementName=rootView, Converter={StaticResource BoolVisibilityConverter}}" />
|
||||
Visibility="{Binding Path=DataContext.PermissionWohneinheitManage, ElementName=root, Converter={StaticResource BoolVisibilityConverter}}" />
|
||||
</StackPanel>
|
||||
</ControlTemplate>
|
||||
</dxg:GridColumn.DisplayTemplate>
|
||||
@@ -163,15 +186,29 @@
|
||||
<dxg:GridColumn
|
||||
Width="*"
|
||||
MinWidth="50"
|
||||
AllowEditing="{Binding Path=PermissionWohneinheitEdit}"
|
||||
AllowEditing="{Binding Path=DataContext.PermissionWohneinheitManage, ElementName=root}"
|
||||
FieldName="Mobilierung"
|
||||
Header="Möbilierung" />
|
||||
Header="Möbilierung">
|
||||
<dxg:GridColumn.EditSettings>
|
||||
<dxe:TextEditSettings
|
||||
VerticalContentAlignment="Stretch"
|
||||
AcceptsReturn="True"
|
||||
TextWrapping="Wrap" />
|
||||
</dxg:GridColumn.EditSettings>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridColumn
|
||||
Width="*"
|
||||
MinWidth="50"
|
||||
AllowEditing="{Binding Path=PermissionWohneinheitEdit}"
|
||||
AllowEditing="{Binding Path=DataContext.PermissionWohneinheitManage, ElementName=root}"
|
||||
FieldName="Zusatznotiz"
|
||||
Header="Notiz" />
|
||||
Header="Notiz">
|
||||
<dxg:GridColumn.EditSettings>
|
||||
<dxe:TextEditSettings
|
||||
VerticalContentAlignment="Stretch"
|
||||
AcceptsReturn="True"
|
||||
TextWrapping="Wrap" />
|
||||
</dxg:GridColumn.EditSettings>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridControl.View>
|
||||
<dxg:TableView
|
||||
x:Name="datagridview"
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
/// </summary>
|
||||
public partial class WohneinheitVerwaltungViewV1 : UserControl
|
||||
{
|
||||
public WohnheimVM ViewModel => DataContext as WohnheimVM;
|
||||
public WohneinheitListVM ViewModel => root.DataContext as WohneinheitListVM;
|
||||
|
||||
public WohneinheitVerwaltungViewV1()
|
||||
{
|
||||
@@ -36,7 +36,23 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
if (popup_newWohneinheit.IsOpen)
|
||||
return;
|
||||
|
||||
var success = ViewModel.AddWohneinheit();
|
||||
var success = ViewModel.SelectNewWohneinheit();
|
||||
|
||||
if (success)
|
||||
popup_newWohneinheit.IsOpen = true;
|
||||
}
|
||||
|
||||
private void Button_NewChildWohneinheit_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (popup_newWohneinheit.IsOpen)
|
||||
return;
|
||||
|
||||
var select = datagrid_wohneinheiten.SelectedItem as WohneinheitVM;
|
||||
|
||||
if (select is null)
|
||||
return;
|
||||
|
||||
var success = ViewModel.SelectNewChildWohneinheit(select);
|
||||
|
||||
if (success)
|
||||
popup_newWohneinheit.IsOpen = true;
|
||||
@@ -44,6 +60,9 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
|
||||
private void datagridview_RowDoubleClick(object sender, RowDoubleClickEventArgs e)
|
||||
{
|
||||
if (!ViewModel.PermissionWohneinheitManage)
|
||||
return;
|
||||
|
||||
if (popup_newWohneinheit.IsOpen)
|
||||
return;
|
||||
|
||||
@@ -57,28 +76,20 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
|
||||
private void btn_delete_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!ViewModel.PermissionWohneinheitDelete)
|
||||
if (ViewModel.EditVM is object)
|
||||
return;
|
||||
|
||||
if (ViewModel.WohneinheitListVM.EditVM is object)
|
||||
return;
|
||||
|
||||
var vmlist = ViewModel.WohneinheitListVM;
|
||||
|
||||
var selected_vm = datagrid_wohneinheiten.GetCurrentValue<WohneinheitVM>();
|
||||
|
||||
var displayname = selected_vm.Displayname2;
|
||||
|
||||
vmlist.DeleteSelectedVM(selected_vm, $"Wohneinheit '{displayname}'");
|
||||
ViewModel.DeleteSelectedVM(selected_vm, $"Wohneinheit '{displayname}'");
|
||||
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void btn_gallery_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!ViewModel.PermissionWohneinheitGallery)
|
||||
return;
|
||||
|
||||
if (BeWoApp.MainControl.IsModalPopupOpen)
|
||||
return;
|
||||
|
||||
|
||||
@@ -8,12 +8,32 @@
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
x:Name="root"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM,
|
||||
IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
d:DesignStyle="{StaticResource MyDesignStyle}"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\..\..\Styles\PrototypeStyles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid x:Name="root_grid" DataContext="{Binding WohneinheitListVM}">
|
||||
<Grid.Resources>
|
||||
<ResourceDictionary>
|
||||
<Style BasedOn="{StaticResource {x:Type TextBox}}" TargetType="{x:Type TextBox}">
|
||||
<Setter Property="IsReadOnly" Value="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}" />
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="TextEditCurrencyStyleManage"
|
||||
BasedOn="{StaticResource TextEditCurrencyStyle}"
|
||||
TargetType="{x:Type dxe:TextEdit}">
|
||||
<Setter Property="IsReadOnly" Value="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</Grid.Resources>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
@@ -47,14 +67,20 @@
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
Width="25"
|
||||
Margin="3"
|
||||
Click="Button_Click"
|
||||
Content="+" />
|
||||
Command="{Binding AddVMCommand}"
|
||||
Content="+"
|
||||
ToolTip="Wohneinheit hinzufügen" />
|
||||
<Button
|
||||
Width="25"
|
||||
Margin="3"
|
||||
Click="Button_Click_1"
|
||||
Content="-" />
|
||||
Command="{Binding AddChildVMCommand}"
|
||||
Content="1"
|
||||
FontFamily="Wingdings 2"
|
||||
ToolTip="Zimmer hinzufügen" />
|
||||
<Button
|
||||
Width="25"
|
||||
Command="{Binding DeleteSelectedVMCommand}"
|
||||
Content="-"
|
||||
ToolTip="Wohneinheit entfernen" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<GroupBox
|
||||
@@ -83,100 +109,60 @@
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="0">
|
||||
Wohnungsname
|
||||
</Label>
|
||||
<ComboBox
|
||||
x:Name="combobox_wohnungsname"
|
||||
<TextBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="3"
|
||||
DropDownClosed="combobox_wohnungsname_DropDownClosed"
|
||||
IsEditable="True"
|
||||
IsReadOnly="False"
|
||||
IsTextSearchEnabled="False"
|
||||
ItemsSource="{Binding Path=DataContext.Wohnungsnamen, ElementName=root_grid}"
|
||||
Text="{Binding Path=Wohnname}"
|
||||
ToolTip="Liste der Wohneinheiten ohne Zimmer Bezeichnung" />
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
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"
|
||||
Margin="3"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Text="{Binding Path=Zimmername, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="2">
|
||||
Baujahr
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Baujahr, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="0000"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextEditYearStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Top"
|
||||
Content="Stock" />
|
||||
<TextBox
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
VerticalContentAlignment="Stretch"
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Text="{Binding Path=Stock, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="4"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="4">
|
||||
Fläche
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
EditValue="{Binding Path=QM, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="######0.00 qm"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextEditQmStyle}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="5"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="5">
|
||||
Kaution
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Kaution, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="######0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
|
||||
<Grid Grid.Row="6" Grid.ColumnSpan="2">
|
||||
<Grid.RowDefinitions>
|
||||
@@ -191,148 +177,78 @@
|
||||
<ColumnDefinition Width="15*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
<Label Grid.Row="0">
|
||||
Miete
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Miete, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="1" Grid.Column="0">
|
||||
Heizung
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Heizung, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="2" Grid.Column="0">
|
||||
Strom
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Strom, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="0" Grid.Column="2">
|
||||
Betriebskosten
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="0"
|
||||
Grid.Column="3"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Betriebskosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="1" Grid.Column="2">
|
||||
Sonstige Kosten
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="1"
|
||||
Grid.Column="3"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=SonstigeKosten, UpdateSourceTrigger=PropertyChanged}"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="2"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Style="{StaticResource TextEditCurrencyStyleManage}" />
|
||||
<Label Grid.Row="2" Grid.Column="2">
|
||||
Brutto
|
||||
</Label>
|
||||
<dxe:TextEdit
|
||||
Grid.Row="2"
|
||||
Grid.Column="3"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Brutto, Mode=OneWay}"
|
||||
IsReadOnly="True"
|
||||
Mask="########0.## $"
|
||||
MaskType="Numeric"
|
||||
MaskUseAsDisplayFormat="True" />
|
||||
Style="{StaticResource TextEditCurrencyStyle}" />
|
||||
</Grid>
|
||||
|
||||
<Label
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Top"
|
||||
Content="Möbilierung" />
|
||||
<TextBox
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
MinHeight="23"
|
||||
MaxHeight="150"
|
||||
Margin="3"
|
||||
VerticalContentAlignment="Stretch"
|
||||
AcceptsReturn="True"
|
||||
Text="{Binding Path=Mobilierung, UpdateSourceTrigger=PropertyChanged}"
|
||||
VerticalScrollBarVisibility="Auto" />
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextBoxNoticeStyle}"
|
||||
Text="{Binding Path=Mobilierung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Top"
|
||||
Content="Notiz" />
|
||||
<TextBox
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
MinHeight="23"
|
||||
MaxHeight="150"
|
||||
Margin="3"
|
||||
VerticalContentAlignment="Stretch"
|
||||
AcceptsReturn="True"
|
||||
Text="{Binding Path=Zusatznotiz, UpdateSourceTrigger=PropertyChanged}"
|
||||
VerticalScrollBarVisibility="Auto" />
|
||||
IsReadOnly="{Binding DataContext.PermissionWohneinheitManage, Converter={StaticResource BoolReverseConverter}, ElementName=root_grid}"
|
||||
Style="{StaticResource TextBoxNoticeExtendedStyle}"
|
||||
Text="{Binding Path=Zusatznotiz, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
||||
@@ -28,61 +28,5 @@ namespace BeWo.View.Detail.Wohneinheit
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void SetValuesFromParent(WohneinheitVM vm, WohneinheitVM parent_vm)
|
||||
{
|
||||
if (vm is null || parent_vm is null || vm == parent_vm)
|
||||
return;
|
||||
|
||||
//vm.Wohnname = parent_vm.Wohnname;
|
||||
|
||||
if (vm.Stock.IsNullOrEmpty() && parent_vm.Stock.IsNotNullOrEmpty())
|
||||
{
|
||||
vm.Stock = parent_vm.Stock;
|
||||
}
|
||||
|
||||
if (!vm.Baujahr.HasValue && parent_vm.Baujahr.HasValue)
|
||||
{
|
||||
vm.Baujahr = parent_vm.Baujahr;
|
||||
}
|
||||
}
|
||||
|
||||
private void combobox_wohnungsname_DropDownClosed(object sender, EventArgs e)
|
||||
{
|
||||
var vm = ViewModel.WohneinheitListVM.SelectedVM;
|
||||
|
||||
if (vm is null)
|
||||
return;
|
||||
|
||||
var selected_item = combobox_wohnungsname.SelectedItem as string;
|
||||
|
||||
var selected_vm = ViewModel.WohneinheitListVM.VMList.FirstOrDefault(x => x.Wohnname == selected_item);
|
||||
|
||||
SetValuesFromParent(vm, selected_vm);
|
||||
}
|
||||
|
||||
private void Button_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.WohneinheitListVM.SelectedVM = null;
|
||||
|
||||
ViewModel.WohneinheitListVM.AddNewVMToListAndSelect(true);
|
||||
}
|
||||
|
||||
private void Button_Click_1(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var vmlist = ViewModel.WohneinheitListVM;
|
||||
|
||||
var selected_vm = vmlist.SelectedVM;
|
||||
|
||||
if (selected_vm is null)
|
||||
return;
|
||||
|
||||
var displayname = selected_vm.Displayname2;
|
||||
|
||||
var suc = vmlist.DeleteSelectedVM($"Wohneinheit '{displayname}'");
|
||||
|
||||
if (suc && vmlist.VMList.Any())
|
||||
vmlist.SelectedVM = vmlist.VMList.Last();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,37 +1,47 @@
|
||||
<localView:BeWoView x:Class="BeWo.View.Detail.WohnheimView"
|
||||
x:Name="rootView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:uvc="clr-namespace:BeWo.View.Controls"
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
||||
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
|
||||
xmlns:dxa="http://schemas.devexpress.com/winfx/2008/xaml/accordion"
|
||||
xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduling"
|
||||
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
||||
xmlns:localView="clr-namespace:BeWo.View"
|
||||
xmlns:localSearchView="clr-namespace:BeWo.View.Search"
|
||||
xmlns:localWohneinheit="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d"
|
||||
<localView:BeWoView
|
||||
x:Class="BeWo.View.Detail.WohnheimView"
|
||||
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:val="clr-namespace:BeWo.Validation"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM, IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="800" d:DesignWidth="1400"
|
||||
Height="Auto" Width="Auto" HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch" Focusable="True" GotFocus="UserControl_GotFocus" >
|
||||
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
||||
xmlns:dxa="http://schemas.devexpress.com/winfx/2008/xaml/accordion"
|
||||
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
||||
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
|
||||
xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduling"
|
||||
xmlns:localSearchView="clr-namespace:BeWo.View.Search"
|
||||
xmlns:localView="clr-namespace:BeWo.View"
|
||||
xmlns:localWohneinheit="clr-namespace:BeWo.View.Detail.Wohneinheit"
|
||||
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:uvc="clr-namespace:BeWo.View.Controls"
|
||||
xmlns:val="clr-namespace:BeWo.Validation"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
x:Name="rootView"
|
||||
Width="Auto"
|
||||
Height="Auto"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:WohnheimVM,
|
||||
IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="800"
|
||||
d:DesignWidth="1400"
|
||||
Focusable="True"
|
||||
GotFocus="UserControl_GotFocus"
|
||||
mc:Ignorable="d">
|
||||
<Grid x:Name="rootGrid">
|
||||
<uc:ShadowChrome>
|
||||
<GroupBox Style="{StaticResource MainContentGroupBoxStyle}">
|
||||
<GroupBox.Header>
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Bottom">
|
||||
<Image Source="..\..\Ressources\Icons\OfficeBulidingBlackDisabled.png" RenderTransformOrigin="0.5,0.5" Stretch="Uniform" Width="32">
|
||||
<StackPanel VerticalAlignment="Bottom" Orientation="Horizontal">
|
||||
<Image
|
||||
Width="32"
|
||||
RenderTransformOrigin="0.5,0.5"
|
||||
Source="..\..\Ressources\Icons\OfficeBulidingBlackDisabled.png"
|
||||
Stretch="Uniform">
|
||||
<Image.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1" ScaleY="1" />
|
||||
@@ -41,7 +51,15 @@
|
||||
</TransformGroup>
|
||||
</Image.RenderTransform>
|
||||
</Image>
|
||||
<TextBox Text="{Binding WohnheimName}" Margin="10,0,0,0" Background="{x:Null}" Foreground="#FFFFFFFF" FontSize="22" BorderBrush="{x:Null}" VerticalAlignment="Bottom" Padding="0,0,0,0" />
|
||||
<TextBox
|
||||
Margin="10,0,0,0"
|
||||
Padding="0,0,0,0"
|
||||
VerticalAlignment="Bottom"
|
||||
Background="{x:Null}"
|
||||
BorderBrush="{x:Null}"
|
||||
FontSize="22"
|
||||
Foreground="#FFFFFFFF"
|
||||
Text="{Binding WohnheimName}" />
|
||||
</StackPanel>
|
||||
</GroupBox.Header>
|
||||
<Grid Margin="0,3,0,0" Background="{StaticResource ObjectEditBackgroundBrush}">
|
||||
@@ -50,8 +68,13 @@
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Rectangle Fill="{DynamicResource WohnheimContentBrush}" Height="6" />
|
||||
<TabControl x:Name="root" Grid.Row="1" Style="{StaticResource ObjectEditTabControl}" BorderThickness="0,0,0,0" Padding="0">
|
||||
<Rectangle Height="6" Fill="{DynamicResource WohnheimContentBrush}" />
|
||||
<TabControl
|
||||
x:Name="root"
|
||||
Grid.Row="1"
|
||||
Padding="0"
|
||||
BorderThickness="0,0,0,0"
|
||||
Style="{StaticResource ObjectEditTabControl}">
|
||||
<TabItem Header="Details" IsSelected="True">
|
||||
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
||||
<Grid x:Name="grid_details">
|
||||
@@ -61,7 +84,11 @@
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<GroupBox Grid.Row="0" Header="Details" Style="{StaticResource ObjectEditGroupBox}" Grid.ColumnSpan="1">
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.ColumnSpan="1"
|
||||
Header="Details"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -78,39 +105,214 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="130" />
|
||||
<ColumnDefinition Width="130" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label Grid.Column="0" Grid.Row="0" Margin="3" VerticalAlignment="Center">Name</Label>
|
||||
<Label Grid.Column="0" Grid.Row="1" Margin="3" VerticalAlignment="Center">Strasse</Label>
|
||||
<Label Grid.Column="0" Grid.Row="2" Margin="3" VerticalAlignment="Center">Postleitzahl</Label>
|
||||
<Label Grid.Column="0" Grid.Row="3" Margin="3" VerticalAlignment="Center">Ort</Label>
|
||||
<Label Grid.Column="0" Grid.Row="4" Margin="3" VerticalAlignment="Top">Bemerkung</Label>
|
||||
<Label Grid.Column="0" Grid.Row="5" Margin="3" VerticalAlignment="Top">Kernzeitanzeige</Label>
|
||||
<Label Grid.Column="0" Grid.Row="6" Margin="3" VerticalAlignment="Center">Kernzeit Start</Label>
|
||||
<Label Grid.Column="0" Grid.Row="7" Margin="3" VerticalAlignment="Center">Kernzeit Ende</Label>
|
||||
<Label Grid.Column="0" Grid.Row="8" Margin="3" VerticalAlignment="Center">Standardanzahl Zeilen</Label>
|
||||
<Label Grid.Column="0" Grid.Row="9" Margin="3" VerticalAlignment="Center">Sortierung</Label>
|
||||
<Label Grid.Column="0" Grid.Row="10" Margin="3" VerticalAlignment="Center">Absteigend sortieren</Label>
|
||||
<Label x:Name="lblArchiviert" Grid.Column="0" Grid.Row="11" Margin="3" VerticalAlignment="Center">Archiviert</Label>
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Name
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Strasse
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Postleitzahl
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Ort
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="4"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Top">
|
||||
Bemerkung
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="5"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Top">
|
||||
Kernzeitanzeige
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="6"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Kernzeit Start
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="7"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Kernzeit Ende
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="8"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Standardanzahl Zeilen
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="9"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Sortierung
|
||||
</Label>
|
||||
<Label
|
||||
Grid.Row="10"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Absteigend sortieren
|
||||
</Label>
|
||||
<Label
|
||||
x:Name="lblArchiviert"
|
||||
Grid.Row="11"
|
||||
Grid.Column="0"
|
||||
Margin="3"
|
||||
VerticalAlignment="Center">
|
||||
Archiviert
|
||||
</Label>
|
||||
|
||||
<TextBox x:Name="textbox_first" Grid.Column="1" Grid.Row="0" Margin="3" Height="23" Text="{Binding Path=WohnheimName, UpdateSourceTrigger=PropertyChanged}" Width="200" HorizontalAlignment="Left"/>
|
||||
<TextBox Grid.Column="1" Grid.Row="1" Margin="3" Height="23" Text="{Binding Path=Strasse, UpdateSourceTrigger=PropertyChanged}" Width="200" HorizontalAlignment="Left"/>
|
||||
<TextBox Grid.Column="1" Grid.Row="2" Margin="3" Height="23" Text="{Binding Path=PLZ, UpdateSourceTrigger=PropertyChanged}" Width="200" HorizontalAlignment="Left"/>
|
||||
<TextBox Grid.Column="1" Grid.Row="3" Margin="3" Height="23" Text="{Binding Path=Ort, UpdateSourceTrigger=PropertyChanged}" Width="200" HorizontalAlignment="Left"/>
|
||||
<TextBox TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" Grid.Column="1" Grid.Row="4" Margin="3" Height="100" Width="500" Text="{Binding Path=Bemerkung, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" />
|
||||
<dxe:CheckEdit x:Name="chkStatuszeile" Grid.Column="1" Grid.Row="5" Margin="3" Height="23" IsChecked="{Binding Path=PflichtbesetzungEinblenden, UpdateSourceTrigger=PropertyChanged}" EditValueChanged="chkStatuszeile_EditValueChanged" Checked="chkStatuszeile_Checked" Unchecked="chkStatuszeile_Unchecked" />
|
||||
<dxe:TextEdit x:Name="textedit_pflichtStart" Grid.Column="1" Grid.Row="6" Margin="3" Height="23" Text="{Binding Path=PflichtbesetzungStart, UpdateSourceTrigger=PropertyChanged}" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" Width="200" HorizontalAlignment="Left"/>
|
||||
<dxe:TextEdit x:Name="textedit_pflichtEnde" Grid.Column="1" Grid.Row="7" Margin="3" Height="23" Text="{Binding Path=PflichtbesetzungEnde, UpdateSourceTrigger=PropertyChanged}" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" Width="200" HorizontalAlignment="Left"/>
|
||||
<dxe:SpinEdit x:Name="spinedit_zeilenanzahl" Grid.Column="1" Grid.Row="8" Margin="3" Height="23" Text="{Binding Path=StandardZeilenanzahl, UpdateSourceTrigger=PropertyChanged}" MinValue="1" MaxValue="20" MaskType="Numeric" Mask="##" Increment="1" Width="200" HorizontalAlignment="Left"/>
|
||||
<dxe:ComboBoxEdit x:Name="combobox_Sortierungsarten" Grid.Column="1" Grid.Row="9" Width="200" Height="23" Margin="3" HorizontalAlignment="Left" IsTextEditable="False" SelectedIndex="{Binding Path=Sortierungsart, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
<dxe:CheckEdit x:Name="checkedit_absteigend" Grid.Row="10" Grid.Column="1" HorizontalAlignment="Left" Margin="3" IsChecked="{Binding Path=AbsteigendeSortierung, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
<TextBox
|
||||
x:Name="textbox_first"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
Text="{Binding Path=WohnheimName, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
Text="{Binding Path=Strasse, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBox
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
Text="{Binding Path=PLZ, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBox
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
Text="{Binding Path=Ort, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBox
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
Width="500"
|
||||
Height="100"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
AcceptsReturn="True"
|
||||
Text="{Binding Path=Bemerkung, UpdateSourceTrigger=PropertyChanged}"
|
||||
TextWrapping="Wrap"
|
||||
VerticalScrollBarVisibility="Visible" />
|
||||
<dxe:CheckEdit
|
||||
x:Name="chkStatuszeile"
|
||||
Grid.Row="5"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
Checked="chkStatuszeile_Checked"
|
||||
EditValueChanged="chkStatuszeile_EditValueChanged"
|
||||
IsChecked="{Binding Path=PflichtbesetzungEinblenden, UpdateSourceTrigger=PropertyChanged}"
|
||||
Unchecked="chkStatuszeile_Unchecked" />
|
||||
<dxe:TextEdit
|
||||
x:Name="textedit_pflichtStart"
|
||||
Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
Mask="(0?\d|1\d|2[0-3]):[0-5]\d"
|
||||
MaskType="RegEx"
|
||||
Text="{Binding Path=PflichtbesetzungStart, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<dxe:TextEdit
|
||||
x:Name="textedit_pflichtEnde"
|
||||
Grid.Row="7"
|
||||
Grid.Column="1"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
Mask="(0?\d|1\d|2[0-3]):[0-5]\d"
|
||||
MaskType="RegEx"
|
||||
Text="{Binding Path=PflichtbesetzungEnde, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<dxe:SpinEdit
|
||||
x:Name="spinedit_zeilenanzahl"
|
||||
Grid.Row="8"
|
||||
Grid.Column="1"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
Increment="1"
|
||||
Mask="##"
|
||||
MaskType="Numeric"
|
||||
MaxValue="20"
|
||||
MinValue="1"
|
||||
Text="{Binding Path=StandardZeilenanzahl, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<dxe:ComboBoxEdit
|
||||
x:Name="combobox_Sortierungsarten"
|
||||
Grid.Row="9"
|
||||
Grid.Column="1"
|
||||
Width="200"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
IsTextEditable="False"
|
||||
SelectedIndex="{Binding Path=Sortierungsart, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<dxe:CheckEdit
|
||||
x:Name="checkedit_absteigend"
|
||||
Grid.Row="10"
|
||||
Grid.Column="1"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
IsChecked="{Binding Path=AbsteigendeSortierung, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<!--<WrapPanel Grid.Row="10" Grid.ColumnSpan="3" Grid.Column="1" HorizontalAlignment="Left" Margin="3">
|
||||
<RadioButton x:Name="radiobutton_aufsteigend" GroupName="Reihenfolge" Margin="0 0 0 0" >Aufsteigend</RadioButton>
|
||||
<RadioButton x:Name="radiobutton_absteigend" GroupName="Reihenfolge" Margin="10 0 0 0" >Absteigend</RadioButton>
|
||||
</WrapPanel>-->
|
||||
<CheckBox x:Name="chkArchiviert" Grid.Column="1" Grid.Row="11" Margin="3" Height="23" IsChecked="{Binding Path=IsArchived, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<CheckBox
|
||||
x:Name="chkArchiviert"
|
||||
Grid.Row="11"
|
||||
Grid.Column="1"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
IsChecked="{Binding Path=IsArchived, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</Grid>
|
||||
|
||||
</GroupBox>
|
||||
@@ -120,44 +322,96 @@
|
||||
<TabItem Header="{t:Translate Klienten}">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="40*"/>
|
||||
<ColumnDefinition Width="183*"/>
|
||||
<ColumnDefinition Width="40*" />
|
||||
<ColumnDefinition Width="183*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Visibility="Visible" x:Name="groupbox_newWohnheimRel" Header="{t:Translate Zugeordnete Klienten}" Style="{StaticResource ObjectEditGroupBox}" Grid.ColumnSpan="2">
|
||||
<GroupBox
|
||||
x:Name="groupbox_newWohnheimRel"
|
||||
Grid.ColumnSpan="2"
|
||||
Header="{t:Translate Zugeordnete Klienten}"
|
||||
Style="{StaticResource ObjectEditGroupBox}"
|
||||
Visibility="Visible">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Button Grid.Row="0" Grid.ColumnSpan="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="25" Margin="3" Content="{t:Translate Klient hinzufügen}" x:Name="button_addKlientRelation" Click="button_addKlientRelation_Klick" />
|
||||
<Button
|
||||
x:Name="button_addKlientRelation"
|
||||
Grid.Row="0"
|
||||
Grid.ColumnSpan="1"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="button_addKlientRelation_Klick"
|
||||
Content="{t:Translate Klient hinzufügen}" />
|
||||
|
||||
<dxg:GridControl x:Name="grid_CustomerRelation" Grid.Row="1" VerticalAlignment="Stretch" DataSource="{Binding Path=WohnheimCustomerRelations.VMList}"
|
||||
HorizontalAlignment="Stretch">
|
||||
<dxg:GridControl
|
||||
x:Name="grid_CustomerRelation"
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
DataSource="{Binding Path=WohnheimCustomerRelations.VMList}">
|
||||
<dxg:GridControl.Columns>
|
||||
<dxg:GridColumn FieldName="Notice" Header="" FixedWidth="True" Width="24" ReadOnly="True">
|
||||
<dxg:GridColumn
|
||||
Width="24"
|
||||
FieldName="Notice"
|
||||
FixedWidth="True"
|
||||
Header=""
|
||||
ReadOnly="True">
|
||||
<dxg:GridColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<Button Content="r" FontFamily="Webdings" Click="Button_RemoveCustomerRelation_Click" Width="18" Height="18"
|
||||
VerticalAlignment="Center" />
|
||||
<Button
|
||||
Width="18"
|
||||
Height="18"
|
||||
VerticalAlignment="Center"
|
||||
Click="Button_RemoveCustomerRelation_Click"
|
||||
Content="r"
|
||||
FontFamily="Webdings" />
|
||||
</DataTemplate>
|
||||
</dxg:GridColumn.CellTemplate>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="Customer" Header="{t:Translate Klient}" Width="150" />
|
||||
<dxg:GridColumn FieldName="Notice" Header="Bemerkung" Width="250" />
|
||||
<dxg:GridColumn
|
||||
Width="150"
|
||||
AllowEditing="False"
|
||||
FieldName="Customer"
|
||||
Header="{t:Translate Klient}" />
|
||||
<dxg:GridColumn
|
||||
Width="250"
|
||||
FieldName="Notice"
|
||||
Header="Bemerkung" />
|
||||
</dxg:GridControl.Columns>
|
||||
<dxg:GridControl.View>
|
||||
<dxg:TableView AutoWidth="true" ShowGroupPanel="False" ShowGroupedColumns="false" ShowTotalSummary="False"
|
||||
NavigationStyle="Cell" RowDoubleClick="TableViewCustomer_OnRowDoubleClick" />
|
||||
<dxg:TableView
|
||||
AutoWidth="true"
|
||||
NavigationStyle="Cell"
|
||||
RowDoubleClick="TableViewCustomer_OnRowDoubleClick"
|
||||
ShowGroupPanel="False"
|
||||
ShowGroupedColumns="false"
|
||||
ShowTotalSummary="False" />
|
||||
</dxg:GridControl.View>
|
||||
</dxg:GridControl>
|
||||
|
||||
<Popup Grid.Row="0" x:Name="popup_newKlientRel" Width="350" StaysOpen="True" Placement="MousePoint">
|
||||
<Border Background="White" Padding="3" BorderThickness="1" BorderBrush="Gray">
|
||||
<GroupBox x:Name="groupbox_newKlientRel" Header="{t:Translate Klienten zuordnen}" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Popup
|
||||
x:Name="popup_newKlientRel"
|
||||
Grid.Row="0"
|
||||
Width="350"
|
||||
Placement="MousePoint"
|
||||
StaysOpen="True">
|
||||
<Border
|
||||
Padding="3"
|
||||
Background="White"
|
||||
BorderBrush="Gray"
|
||||
BorderThickness="1">
|
||||
<GroupBox
|
||||
x:Name="groupbox_newKlientRel"
|
||||
Header="{t:Translate Klienten zuordnen}"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -171,26 +425,55 @@
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label VerticalAlignment="Center" Content="{t:Translate Klient}" />
|
||||
<uc:PopUpEdit IsReadOnly="True"
|
||||
DeleteButtonVisibility="Collapsed"
|
||||
Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="2" Margin="3" Height="23" x:Name="popupedit_KlientRelations"
|
||||
Text="{val:ValidationBinding Path=WohnheimCustomerRelations.NewVM.CustomerString}"
|
||||
PopUpClick="popupedit_KlientRelations_PopUpClick"
|
||||
PreviewMouseDoubleClick="Popupedit_KlientRelations_OnPreviewMouseDoubleClick"
|
||||
Cursor="Arrow" />
|
||||
<uc:PopUpEdit
|
||||
x:Name="popupedit_KlientRelations"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
Cursor="Arrow"
|
||||
DeleteButtonVisibility="Collapsed"
|
||||
IsReadOnly="True"
|
||||
PopUpClick="popupedit_KlientRelations_PopUpClick"
|
||||
PreviewMouseDoubleClick="Popupedit_KlientRelations_OnPreviewMouseDoubleClick"
|
||||
Text="{val:ValidationBinding Path=WohnheimCustomerRelations.NewVM.CustomerString}" />
|
||||
|
||||
<Label Content="Notiz" Grid.Row="2" Grid.Column="0" VerticalAlignment="Top" />
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Top"
|
||||
Content="Notiz" />
|
||||
|
||||
<TextBox Grid.Row="2" Grid.Column="1" Height="50" Margin="3" Grid.ColumnSpan="2"
|
||||
Text="{Binding Path=WohnheimCustomerRelations.NewVM.Notice, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBox
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="50"
|
||||
Margin="3"
|
||||
Text="{Binding Path=WohnheimCustomerRelations.NewVM.Notice, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Button Grid.Row="3" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Height="25"
|
||||
Margin="3" Content="Hinzufügen" x:Name="button_addklientRelation"
|
||||
Click="button_addKlientRelation_Click" />
|
||||
<Button
|
||||
x:Name="button_addklientRelation"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="button_addKlientRelation_Click"
|
||||
Content="Hinzufügen" />
|
||||
|
||||
<Button Grid.Row="3" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="25"
|
||||
Margin="3" Content="Abbrechen" x:Name="button_cancelKlientRelation"
|
||||
Click="button_cancelKlientRelation_Click" />
|
||||
<Button
|
||||
x:Name="button_cancelKlientRelation"
|
||||
Grid.Row="3"
|
||||
Grid.Column="2"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="button_cancelKlientRelation_Click"
|
||||
Content="Abbrechen" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Border>
|
||||
@@ -204,24 +487,56 @@
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Visibility="Visible" x:Name="groupbox_newMitarbeiterRel" Header="{t:Translate Zugeordnete Mitarbeiter}" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<GroupBox
|
||||
x:Name="groupbox_newMitarbeiterRel"
|
||||
Header="{t:Translate Zugeordnete Mitarbeiter}"
|
||||
Style="{StaticResource ObjectEditGroupBox}"
|
||||
Visibility="Visible">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="26*"/>
|
||||
<ColumnDefinition Width="29*"/>
|
||||
<ColumnDefinition Width="26*" />
|
||||
<ColumnDefinition Width="29*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="0" Grid.ColumnSpan="2">
|
||||
<Button x:Name="button_addMitarbeiterRelation_Click" Height="25" Margin="3" Content="{t:Translate Mitarbeiter hinzufügen}" Click="button_addMitarbeiterRelation_Klick" />
|
||||
<Button x:Name="button_openTeamRelation" Height="25" Margin="3" Content="Ganzes Team hinzufügen" Click="button_openTeamRelation_Click"/>
|
||||
<WrapPanel
|
||||
Grid.Row="0"
|
||||
Grid.ColumnSpan="2"
|
||||
HorizontalAlignment="Left"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
x:Name="button_addMitarbeiterRelation_Click"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
Click="button_addMitarbeiterRelation_Klick"
|
||||
Content="{t:Translate Mitarbeiter hinzufügen}" />
|
||||
<Button
|
||||
x:Name="button_openTeamRelation"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
Click="button_openTeamRelation_Click"
|
||||
Content="Ganzes Team hinzufügen" />
|
||||
</WrapPanel>
|
||||
|
||||
<Popup Grid.Row="0" x:Name="popup_newEmployeeRel" Width="350" StaysOpen="True" Placement="MousePoint" Grid.ColumnSpan="2" Margin="45,0">
|
||||
<Border Background="White" Padding="3" BorderThickness="1" BorderBrush="Gray">
|
||||
<GroupBox x:Name="groupbox_newEmployeeRel" Header="{t:Translate Mitarbeiter zuordnen}" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Popup
|
||||
x:Name="popup_newEmployeeRel"
|
||||
Grid.Row="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Width="350"
|
||||
Margin="45,0"
|
||||
Placement="MousePoint"
|
||||
StaysOpen="True">
|
||||
<Border
|
||||
Padding="3"
|
||||
Background="White"
|
||||
BorderBrush="Gray"
|
||||
BorderThickness="1">
|
||||
<GroupBox
|
||||
x:Name="groupbox_newEmployeeRel"
|
||||
Header="{t:Translate Mitarbeiter zuordnen}"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -236,34 +551,77 @@
|
||||
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label VerticalAlignment="Center" Content="{t:Translate MitarbeiterSingular}" />
|
||||
<uc:PopUpEdit IsReadOnly="True"
|
||||
DeleteButtonVisibility="Collapsed"
|
||||
Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="2" Margin="3" Height="23" x:Name="popupedit_EmployeeRelations"
|
||||
Text="{val:ValidationBinding Path=WohnheimEmployeeRelations.NewVM.EmployeeString}"
|
||||
PopUpClick="popupedit_EmployeeRelations_PopUpClick"
|
||||
PreviewMouseDoubleClick="Popupedit_EmployeeRelations_OnPreviewMouseDoubleClick"
|
||||
Cursor="Arrow" />
|
||||
<uc:PopUpEdit
|
||||
x:Name="popupedit_EmployeeRelations"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
Cursor="Arrow"
|
||||
DeleteButtonVisibility="Collapsed"
|
||||
IsReadOnly="True"
|
||||
PopUpClick="popupedit_EmployeeRelations_PopUpClick"
|
||||
PreviewMouseDoubleClick="Popupedit_EmployeeRelations_OnPreviewMouseDoubleClick"
|
||||
Text="{val:ValidationBinding Path=WohnheimEmployeeRelations.NewVM.EmployeeString}" />
|
||||
|
||||
<Label Content="Notiz" Grid.Row="2" Grid.Column="0" VerticalAlignment="Top" />
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Top"
|
||||
Content="Notiz" />
|
||||
|
||||
<TextBox Grid.Row="2" Grid.Column="1" Height="50" Margin="3" Grid.ColumnSpan="2"
|
||||
Text="{Binding Path=WohnheimEmployeeRelations.NewVM.Notice, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBox
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="50"
|
||||
Margin="3"
|
||||
Text="{Binding Path=WohnheimEmployeeRelations.NewVM.Notice, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Button Grid.Row="3" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Height="25"
|
||||
Margin="3" Content="Hinzufügen" x:Name="button_addEmployeeRelation"
|
||||
Click="button_addEmployeeRelation_Click" />
|
||||
<Button
|
||||
x:Name="button_addEmployeeRelation"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="button_addEmployeeRelation_Click"
|
||||
Content="Hinzufügen" />
|
||||
|
||||
<Button Grid.Row="3" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="25"
|
||||
Margin="3" Content="Abbrechen" x:Name="button_cancelEmployeeRelation"
|
||||
Click="button_cancelEmployeeRelation_Click" />
|
||||
<Button
|
||||
x:Name="button_cancelEmployeeRelation"
|
||||
Grid.Row="3"
|
||||
Grid.Column="2"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="button_cancelEmployeeRelation_Click"
|
||||
Content="Abbrechen" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Border>
|
||||
</Popup>
|
||||
|
||||
<Popup Grid.Row="0" x:Name="popup_newTeamRel" Width="350" StaysOpen="True" Placement="MousePoint" Grid.ColumnSpan="2" Margin="45,0">
|
||||
<Border Background="White" Padding="3" BorderThickness="1" BorderBrush="Gray">
|
||||
<GroupBox x:Name="groupbox_newTeamRel" Header="Team zuordnen" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Popup
|
||||
x:Name="popup_newTeamRel"
|
||||
Grid.Row="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Width="350"
|
||||
Margin="45,0"
|
||||
Placement="MousePoint"
|
||||
StaysOpen="True">
|
||||
<Border
|
||||
Padding="3"
|
||||
Background="White"
|
||||
BorderBrush="Gray"
|
||||
BorderThickness="1">
|
||||
<GroupBox
|
||||
x:Name="groupbox_newTeamRel"
|
||||
Header="Team zuordnen"
|
||||
Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -278,99 +636,212 @@
|
||||
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label VerticalAlignment="Center" Content="Teams" />
|
||||
<uc:PopUpEdit IsReadOnly="True"
|
||||
DeleteButtonVisibility="Collapsed"
|
||||
Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="2" Margin="3" Height="23" x:Name="popupedit_TeamRelations"
|
||||
Text="{val:ValidationBinding Path=WohnheimTeamRelations.Name}"
|
||||
PopUpClick="popupedit_TeamRelations_PopUpClick"
|
||||
PreviewMouseDoubleClick="Popupedit_TeamRelations_OnPreviewMouseDoubleClick"
|
||||
SelectionChanged="popupedit_TeamRelations_SelectionChanged"
|
||||
Cursor="Arrow" />
|
||||
<uc:PopUpEdit
|
||||
x:Name="popupedit_TeamRelations"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="23"
|
||||
Margin="3"
|
||||
Cursor="Arrow"
|
||||
DeleteButtonVisibility="Collapsed"
|
||||
IsReadOnly="True"
|
||||
PopUpClick="popupedit_TeamRelations_PopUpClick"
|
||||
PreviewMouseDoubleClick="Popupedit_TeamRelations_OnPreviewMouseDoubleClick"
|
||||
SelectionChanged="popupedit_TeamRelations_SelectionChanged"
|
||||
Text="{val:ValidationBinding Path=WohnheimTeamRelations.Name}" />
|
||||
|
||||
<Label Content="Notiz" Grid.Row="2" Grid.Column="0" VerticalAlignment="Top" />
|
||||
<Label
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Top"
|
||||
Content="Notiz" />
|
||||
|
||||
<TextBox Grid.Row="2" Grid.Column="1" Height="50" Margin="3" Grid.ColumnSpan="2"
|
||||
x:Name="textbox_teamRelations_Notice" />
|
||||
<TextBox
|
||||
x:Name="textbox_teamRelations_Notice"
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Height="50"
|
||||
Margin="3" />
|
||||
|
||||
<Button Grid.Row="3" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Height="25"
|
||||
Margin="3" Content="Hinzufügen" x:Name="button_addTeamRelation"
|
||||
Click="button_addTeamRelation_Click" />
|
||||
<Button
|
||||
x:Name="button_addTeamRelation"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="button_addTeamRelation_Click"
|
||||
Content="Hinzufügen" />
|
||||
|
||||
<Button Grid.Row="3" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="25"
|
||||
Margin="3" Content="Abbrechen" x:Name="button_cancelTeamRelation"
|
||||
Click="button_cancelTeamRelation_Click" />
|
||||
<Button
|
||||
x:Name="button_cancelTeamRelation"
|
||||
Grid.Row="3"
|
||||
Grid.Column="2"
|
||||
Height="25"
|
||||
Margin="3"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="button_cancelTeamRelation_Click"
|
||||
Content="Abbrechen" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Border>
|
||||
</Popup>
|
||||
|
||||
<dxg:GridControl x:Name="grid_EmployeeRelation" Grid.Row="1" VerticalAlignment="Stretch" DataSource="{Binding Path=WohnheimEmployeeRelations.VMList}" HorizontalAlignment="Stretch" Grid.ColumnSpan="2">
|
||||
<dxg:GridControl
|
||||
x:Name="grid_EmployeeRelation"
|
||||
Grid.Row="1"
|
||||
Grid.ColumnSpan="2"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
DataSource="{Binding Path=WohnheimEmployeeRelations.VMList}">
|
||||
<dxg:GridControl.Columns>
|
||||
<dxg:GridColumn FieldName="Notice" Header="" FixedWidth="True" Width="24" ReadOnly="True">
|
||||
<dxg:GridColumn
|
||||
Width="24"
|
||||
FieldName="Notice"
|
||||
FixedWidth="True"
|
||||
Header=""
|
||||
ReadOnly="True">
|
||||
<dxg:GridColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<Button Content="r" FontFamily="Webdings" Click="button_removeEmployeeRelation_Click" Width="18" Height="18" VerticalAlignment="Center" />
|
||||
<Button
|
||||
Width="18"
|
||||
Height="18"
|
||||
VerticalAlignment="Center"
|
||||
Click="button_removeEmployeeRelation_Click"
|
||||
Content="r"
|
||||
FontFamily="Webdings" />
|
||||
</DataTemplate>
|
||||
</dxg:GridColumn.CellTemplate>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridColumn AllowEditing="False" FieldName="Employee" Header="{t:Translate Betreuer(in)}" Width="150" />
|
||||
<dxg:GridColumn FieldName="Notice" Header="Bemerkung" Width="250" />
|
||||
<dxg:GridColumn
|
||||
Width="150"
|
||||
AllowEditing="False"
|
||||
FieldName="Employee"
|
||||
Header="{t:Translate Betreuer(in)}" />
|
||||
<dxg:GridColumn
|
||||
Width="250"
|
||||
FieldName="Notice"
|
||||
Header="Bemerkung" />
|
||||
</dxg:GridControl.Columns>
|
||||
<dxg:GridControl.View>
|
||||
<dxg:TableView AutoWidth="true" ShowGroupPanel="False" ShowGroupedColumns="false" ShowTotalSummary="False" NavigationStyle="Cell" RowDoubleClick="TableViewEmployee_OnRowDoubleClick" />
|
||||
<dxg:TableView
|
||||
AutoWidth="true"
|
||||
NavigationStyle="Cell"
|
||||
RowDoubleClick="TableViewEmployee_OnRowDoubleClick"
|
||||
ShowGroupPanel="False"
|
||||
ShowGroupedColumns="false"
|
||||
ShowTotalSummary="False" />
|
||||
</dxg:GridControl.View>
|
||||
</dxg:GridControl>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="{t:Translate Wohneinheit}" x:Name="tabitem_wohneinheit" Visibility="{Binding Path=PermissionWohneinheitTabitemView, Converter={StaticResource BoolVisibilityConverter}}"
|
||||
IsEnabled="{Binding Path=IsNew, Converter={StaticResource BoolReverseConverter}}"
|
||||
ToolTip="{Binding Path=IsNew, Converter={StaticResource IsNewToTooltip}, ConverterParameter='Sie müssen zuerst das Wohnheim speichern'}"
|
||||
Foreground="{Binding Path=IsNew, Converter={StaticResource IsNewToTabitemBackground}}"
|
||||
ToolTipService.ShowOnDisabled="True"
|
||||
>
|
||||
<TabControl x:Name="root_wohneinheit" Grid.Row="1" Style="{StaticResource ObjectEditTabControl}" BorderThickness="0,0,0,0" Padding="0" Margin="-15" SelectionChanged="root_wohneinheit_SelectionChanged">
|
||||
<TabItem
|
||||
x:Name="tabitem_wohneinheit"
|
||||
Foreground="{Binding Path=IsNew, Converter={StaticResource IsNewToTabitemBackground}}"
|
||||
Header="{t:Translate Wohneinheit}"
|
||||
IsEnabled="{Binding Path=IsNew, Converter={StaticResource BoolReverseConverter}}"
|
||||
ToolTip="{Binding Path=IsNew, Converter={StaticResource IsNewToTooltip}, ConverterParameter='Sie müssen zuerst das Wohnheim speichern'}"
|
||||
ToolTipService.ShowOnDisabled="True"
|
||||
Visibility="{Binding Path=PermissionWohneinheitTabitemView, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<TabControl
|
||||
x:Name="root_wohneinheit"
|
||||
Grid.Row="1"
|
||||
Margin="-15"
|
||||
Padding="0"
|
||||
BorderThickness="0,0,0,0"
|
||||
SelectionChanged="root_wohneinheit_SelectionChanged"
|
||||
Style="{StaticResource ObjectEditTabControl}">
|
||||
<TabItem Header="{t:Translate Verwaltung}" Visibility="{Binding Path=PermissionWohneinheitView, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<localWohneinheit:WohneinheitVerwaltungViewV1/>
|
||||
<localWohneinheit:WohneinheitVerwaltungViewV1 />
|
||||
</TabItem>
|
||||
<TabItem Header="{t:Translate VerwaltungV2}" Visibility="{Binding Path=PermissionWohneinheitView, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<localWohneinheit:WohneinheitVerwaltungViewV2/>
|
||||
<localWohneinheit:WohneinheitVerwaltungViewV2 />
|
||||
</TabItem>
|
||||
<TabItem Header="{t:Translate Buchungen}" Visibility="{Binding Path=PermissionWohneinheitBelegungView, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<localWohneinheit:WohneinheitBelegungTableView/>
|
||||
<localWohneinheit:WohneinheitBelegungTableView />
|
||||
</TabItem>
|
||||
<TabItem Header="{t:Translate Buchungsplan}" Visibility="{Binding Path=Permission1, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<localWohneinheit:WohneinheitBelegungSchedulerView/>
|
||||
<TabItem Header="{t:Translate Buchungsplan}" Visibility="{Binding Path=PermissionWohneinheitBelegungView, Converter={StaticResource BoolVisibilityConverter}}">
|
||||
<localWohneinheit:WohneinheitBelegungSchedulerView />
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
<Border Grid.Row="2" Grid.ColumnSpan="3" Height="40" Margin="0,10,0,0" VerticalAlignment="Stretch" Background="#FF000000">
|
||||
<Border
|
||||
Grid.Row="2"
|
||||
Grid.ColumnSpan="3"
|
||||
Height="40"
|
||||
Margin="0,10,0,0"
|
||||
VerticalAlignment="Stretch"
|
||||
Background="#FF000000">
|
||||
<Border.OpacityMask>
|
||||
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
||||
<GradientStop Color="#19000000" Offset="0" />
|
||||
<GradientStop Color="#33FFFFFF" Offset="1" />
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Offset="0" Color="#19000000" />
|
||||
<GradientStop Offset="1" Color="#33FFFFFF" />
|
||||
</LinearGradientBrush>
|
||||
</Border.OpacityMask>
|
||||
</Border>
|
||||
<StackPanel Grid.ColumnSpan="3" Grid.Row="2" Orientation="Horizontal" VerticalAlignment="Center" Height="Auto" Margin="5,10,0,0" HorizontalAlignment="Right">
|
||||
<Button x:Name="btnSave" Content="Speichern" Margin="0,0,2,0" Command="ApplicationCommands.Save" Height="25" Style="{DynamicResource {x:Type Button}}"/>
|
||||
<Button x:Name="btnClose" Content="Schließen" Margin="0,0,3,0" Command="ApplicationCommands.Close" Height="25"/>
|
||||
<StackPanel
|
||||
Grid.Row="2"
|
||||
Grid.ColumnSpan="3"
|
||||
Height="Auto"
|
||||
Margin="5,10,0,0"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
x:Name="btnSave"
|
||||
Height="25"
|
||||
Margin="0,0,2,0"
|
||||
Command="ApplicationCommands.Save"
|
||||
Content="Speichern"
|
||||
Style="{DynamicResource {x:Type Button}}" />
|
||||
<Button
|
||||
x:Name="btnClose"
|
||||
Height="25"
|
||||
Margin="0,0,3,0"
|
||||
Command="ApplicationCommands.Close"
|
||||
Content="Schließen" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</uc:ShadowChrome>
|
||||
<Popup Margin="10" x:Name="popup_klient" StaysOpen="False" Placement="MousePoint" Width="370" Height="250"
|
||||
Closed="popup_Closed" Opened="popup_Opened">
|
||||
<Popup
|
||||
x:Name="popup_klient"
|
||||
Width="370"
|
||||
Height="250"
|
||||
Margin="10"
|
||||
Closed="popup_Closed"
|
||||
Opened="popup_Opened"
|
||||
Placement="MousePoint"
|
||||
StaysOpen="False">
|
||||
<localSearchView:CustomerSearchView x:Name="klientsearchview" />
|
||||
</Popup>
|
||||
<Popup Margin="10" x:Name="popup_employee" StaysOpen="False" Placement="MousePoint" Width="370" Height="250"
|
||||
Closed="popup_Closed" Opened="popup_Opened">
|
||||
<Popup
|
||||
x:Name="popup_employee"
|
||||
Width="370"
|
||||
Height="250"
|
||||
Margin="10"
|
||||
Closed="popup_Closed"
|
||||
Opened="popup_Opened"
|
||||
Placement="MousePoint"
|
||||
StaysOpen="False">
|
||||
<localSearchView:EmployeeSearchView x:Name="employeesearchview" />
|
||||
</Popup>
|
||||
<Popup Margin="10" x:Name="popup_team" StaysOpen="False" Placement="MousePoint" Width="370" Height="250"
|
||||
Closed="popup_Closed" Opened="popup_Opened">
|
||||
<Popup
|
||||
x:Name="popup_team"
|
||||
Width="370"
|
||||
Height="250"
|
||||
Margin="10"
|
||||
Closed="popup_Closed"
|
||||
Opened="popup_Opened"
|
||||
Placement="MousePoint"
|
||||
StaysOpen="False">
|
||||
<localSearchView:TeamSearchView x:Name="teamsearchview" />
|
||||
</Popup>
|
||||
</Grid>
|
||||
|
||||
@@ -92,6 +92,14 @@ namespace BeWo.View.Detail
|
||||
//popup_newBelegung.Wohneinheiten = ViewModel.WohneinheitListVM.VMList;
|
||||
|
||||
InitUserRights();
|
||||
|
||||
#if DEBUG
|
||||
if (DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.DebugConfigMode == DebugConfigMode.FeatureWohnheimWohneinheit)
|
||||
{
|
||||
root.SelectedItem = tabitem_wohneinheit;
|
||||
root_wohneinheit.SelectedIndex = 2;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
private void UserControl_GotFocus(object sender, RoutedEventArgs e)
|
||||
|
||||
@@ -340,7 +340,7 @@ namespace BeWo.View.Navigation
|
||||
mainNavigationView.ShowHistory(recentList);
|
||||
|
||||
#if DEBUG
|
||||
if(DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.SelectView == UIContext.Customer)
|
||||
if(DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.DebugConfigMode == DebugConfigMode.FeatureCustomerWohnhilfe)
|
||||
{
|
||||
mainNavigationView_OpenObject(recentList.FirstOrDefault() ?? objectList.FirstOrDefault());
|
||||
}
|
||||
|
||||
@@ -18,159 +18,166 @@ using Microsoft.Win32;
|
||||
|
||||
namespace BeWo.View.Navigation
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für EmployeeNavigationView.xaml
|
||||
/// </summary>
|
||||
public partial class WohnheimNavigationView : BeWoView
|
||||
{
|
||||
private List<CompactCustomerDC> _Customers;
|
||||
/// <summary>
|
||||
/// Interaktionslogik für EmployeeNavigationView.xaml
|
||||
/// </summary>
|
||||
public partial class WohnheimNavigationView : BeWoView
|
||||
{
|
||||
private List<CompactCustomerDC> _Customers;
|
||||
|
||||
private IEnumerable<IFilterableDC> objectList;// = null;
|
||||
private IEnumerable<IFilterableDC> recentList = null;
|
||||
private IEnumerable<IFilterableDC> objectList;// = null;
|
||||
private IEnumerable<IFilterableDC> recentList = null;
|
||||
|
||||
public WohnheimNavigationView()
|
||||
{
|
||||
InitializeComponent();
|
||||
public WohnheimNavigationView()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
//if (BeWoApp.UserName == "BSAdmin" && BeWoApp.UserPassword.IndexOf("P!d") > 0)
|
||||
//{
|
||||
// this.mainNavigationView.EditButtonsVisible = true;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// this.mainNavigationView.EditButtonsVisible = false;
|
||||
//}
|
||||
//if (BeWoApp.UserName == "BSAdmin" && BeWoApp.UserPassword.IndexOf("P!d") > 0)
|
||||
//{
|
||||
// this.mainNavigationView.EditButtonsVisible = true;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// this.mainNavigationView.EditButtonsVisible = false;
|
||||
//}
|
||||
|
||||
wohnheimNavigationView.Sorter = new WohnheimSorter();
|
||||
//this.linkNewLicense.NavigateUri = new Uri("http://www.bewoplaner.de/bewoplaner_mitarbeiter.html?ClientOID=" + BeWoApp.Tenant);
|
||||
//if (BeWoApp.LoggedOnUser.HasRight(UserRightType.EmployeeView_Edit))
|
||||
// textblock_link.Visibility = Visibility.Visible;
|
||||
wohnheimNavigationView.Sorter = new WohnheimSorter();
|
||||
//this.linkNewLicense.NavigateUri = new Uri("http://www.bewoplaner.de/bewoplaner_mitarbeiter.html?ClientOID=" + BeWoApp.Tenant);
|
||||
//if (BeWoApp.LoggedOnUser.HasRight(UserRightType.EmployeeView_Edit))
|
||||
// textblock_link.Visibility = Visibility.Visible;
|
||||
|
||||
//###CB SERIENBRIEF mainNavigationView.MailMergeButton.Visibility = Visibility.Collapsed;
|
||||
|
||||
wohnheimNavigationView.EditButtonsVisible = true;
|
||||
wohnheimNavigationView.DeleteButtonVisible = false;
|
||||
wohnheimNavigationView.ArchiveButtonVisible = BeWoApp.LoggedOnUser.HasRight(UserRightType.Wohnheim_AllowArchiving);
|
||||
wohnheimNavigationView.chkShowDeleted.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
wohnheimNavigationView.EditButtonsVisible = true;
|
||||
wohnheimNavigationView.DeleteButtonVisible = false;
|
||||
wohnheimNavigationView.ArchiveButtonVisible = BeWoApp.LoggedOnUser.HasRight(UserRightType.Wohnheim_AllowArchiving);
|
||||
wohnheimNavigationView.chkShowDeleted.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
|
||||
private void OnLoaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ReloadData(false);
|
||||
}
|
||||
private void OnLoaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ReloadData(false);
|
||||
}
|
||||
|
||||
private bool wohnheimNavigationView_ArchiveObject(IFilterableDC obj)
|
||||
{
|
||||
CompactWohnheimDC dc = obj as CompactWohnheimDC;
|
||||
if (dc != null)
|
||||
{
|
||||
if (MessageBox.Show("Wollen Sie den Wohnheim '" + dc.WohnheimName +"' wirklich archivieren?", "Archivieren", MessageBoxButton.YesNo, MessageBoxImage.Exclamation) == MessageBoxResult.Yes)
|
||||
{
|
||||
ServiceFacade.DoWohnheimServiceAsync(
|
||||
s =>
|
||||
{
|
||||
s.ArchiveWohnheim(dc.WohnheimOid, dc.Version);
|
||||
return dc;
|
||||
},
|
||||
cb => cb.Version++);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
private bool wohnheimNavigationView_ArchiveObject(IFilterableDC obj)
|
||||
{
|
||||
CompactWohnheimDC dc = obj as CompactWohnheimDC;
|
||||
if (dc != null)
|
||||
{
|
||||
if (MessageBox.Show("Wollen Sie den Wohnheim '" + dc.WohnheimName + "' wirklich archivieren?", "Archivieren", MessageBoxButton.YesNo, MessageBoxImage.Exclamation) == MessageBoxResult.Yes)
|
||||
{
|
||||
ServiceFacade.DoWohnheimServiceAsync(
|
||||
s =>
|
||||
{
|
||||
s.ArchiveWohnheim(dc.WohnheimOid, dc.Version);
|
||||
return dc;
|
||||
},
|
||||
cb => cb.Version++);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private void wohnheimNavigationView_CreateNewObject()
|
||||
{
|
||||
private void wohnheimNavigationView_CreateNewObject()
|
||||
{
|
||||
VMFactory.CreateWohnheimVMAsync(_Customers, cb => this.Dispatch(delegate { this.MainControl.NavigateTo(new WohnheimView(cb) { ParentView = this }); }));
|
||||
}
|
||||
}
|
||||
|
||||
private bool wohnheimNavigationView_DeleteObject(IFilterableDC obj)
|
||||
{
|
||||
CompactWohnheimDC dc = obj as CompactWohnheimDC;
|
||||
if (dc != null)
|
||||
{
|
||||
if (MessageBox.Show("Wollen Sie den Wohnheim '" + dc.WohnheimName +"' wirklich löschen?", "Löschen", MessageBoxButton.YesNo, MessageBoxImage.Exclamation) == MessageBoxResult.Yes)
|
||||
{
|
||||
ServiceFacade.DoWohnheimServiceAsync(s => s.DeactivateWohnheim(dc.WohnheimOid, dc.Version));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
private bool wohnheimNavigationView_DeleteObject(IFilterableDC obj)
|
||||
{
|
||||
CompactWohnheimDC dc = obj as CompactWohnheimDC;
|
||||
if (dc != null)
|
||||
{
|
||||
if (MessageBox.Show("Wollen Sie den Wohnheim '" + dc.WohnheimName + "' wirklich löschen?", "Löschen", MessageBoxButton.YesNo, MessageBoxImage.Exclamation) == MessageBoxResult.Yes)
|
||||
{
|
||||
ServiceFacade.DoWohnheimServiceAsync(s => s.DeactivateWohnheim(dc.WohnheimOid, dc.Version));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private void wohnheimNavigationView_ExcelExport(object sender, EventArgs<IEnumerable<IFilterableDC>> e)
|
||||
{
|
||||
private void wohnheimNavigationView_ExcelExport(object sender, EventArgs<IEnumerable<IFilterableDC>> e)
|
||||
{
|
||||
var path = BeWoApp.GetAndCreateUserAppDataPath() + "\\Wohnheime.xls";
|
||||
|
||||
var sf = new SaveFileDialog { FileName = Path.GetFileName(path), Filter = "Microsoft Excel 97-2003-Arbeitsblatt|*.xls|Alle Dateien|*.*" };
|
||||
if (sf.ShowDialog() != true)
|
||||
return;
|
||||
var sf = new SaveFileDialog { FileName = Path.GetFileName(path), Filter = "Microsoft Excel 97-2003-Arbeitsblatt|*.xls|Alle Dateien|*.*" };
|
||||
if (sf.ShowDialog() != true)
|
||||
return;
|
||||
|
||||
ServiceFacade.DoDownloadServiceSync(s => BeWoUtils.WriteExcelFile(s.PrepareExcelFileEmployeeExport(wohnheimNavigationView.DownloadLinkEngine.ExcelFileId, e.Data.Cast<CompactWohnheimDC>().Select(c => c.WohnheimOid).ToList()), sf.FileName));
|
||||
}
|
||||
ServiceFacade.DoDownloadServiceSync(s => BeWoUtils.WriteExcelFile(s.PrepareExcelFileEmployeeExport(wohnheimNavigationView.DownloadLinkEngine.ExcelFileId, e.Data.Cast<CompactWohnheimDC>().Select(c => c.WohnheimOid).ToList()), sf.FileName));
|
||||
}
|
||||
|
||||
private void wohnheimNavigationView_Print(object sender, EventArgs<IEnumerable<IFilterableDC>> e)
|
||||
{
|
||||
var oids = e.Data.Cast<CompactWohnheimDC>().Select(c => c.WohnheimOid).ToList();
|
||||
private void wohnheimNavigationView_Print(object sender, EventArgs<IEnumerable<IFilterableDC>> e)
|
||||
{
|
||||
var oids = e.Data.Cast<CompactWohnheimDC>().Select(c => c.WohnheimOid).ToList();
|
||||
|
||||
ServiceFacade.DoReportServiceAsync(s => s.CreateWohnheimListReport(oids), r =>
|
||||
{
|
||||
this.Dispatch(() =>
|
||||
{
|
||||
BeWoUtils.ShowReportWindow(r, "Wohnheime");
|
||||
});
|
||||
});
|
||||
}
|
||||
ServiceFacade.DoReportServiceAsync(s => s.CreateWohnheimListReport(oids), r =>
|
||||
{
|
||||
this.Dispatch(() =>
|
||||
{
|
||||
BeWoUtils.ShowReportWindow(r, "Wohnheime");
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private void wohnheimNavigationView_OpenObject(IFilterableDC ofbj)
|
||||
{
|
||||
CompactWohnheimDC dc = ofbj as CompactWohnheimDC;
|
||||
if (dc != null)
|
||||
{
|
||||
VMFactory.CreateWohnheimVMAsync(dc.WohnheimOid, _Customers, cb => this.Dispatch(delegate { this.MainControl.NavigateTo(new WohnheimView(cb) { ParentView = this }); }));
|
||||
}
|
||||
}
|
||||
private void wohnheimNavigationView_OpenObject(IFilterableDC ofbj)
|
||||
{
|
||||
CompactWohnheimDC dc = ofbj as CompactWohnheimDC;
|
||||
if (dc != null)
|
||||
{
|
||||
VMFactory.CreateWohnheimVMAsync(dc.WohnheimOid, _Customers, cb => this.Dispatch(delegate { this.MainControl.NavigateTo(new WohnheimView(cb) { ParentView = this }); }));
|
||||
}
|
||||
}
|
||||
|
||||
public override void ChildViewClosed()
|
||||
{
|
||||
recentList = null;
|
||||
objectList = null;
|
||||
}
|
||||
public override void ChildViewClosed()
|
||||
{
|
||||
recentList = null;
|
||||
objectList = null;
|
||||
}
|
||||
|
||||
private void WohnheimNavigationView_OnReloadData()
|
||||
{
|
||||
ReloadData(true);
|
||||
}
|
||||
private void WohnheimNavigationView_OnReloadData()
|
||||
{
|
||||
ReloadData(true);
|
||||
}
|
||||
|
||||
private void ReloadData(bool refresh)
|
||||
{
|
||||
if (refresh || recentList == null)
|
||||
{
|
||||
ServiceFacade.DoWohnheimServiceAsync(s => s.GetAllActiveAndArchivedWohnheimCompact(), r =>
|
||||
private void ReloadData(bool refresh)
|
||||
{
|
||||
if (refresh || recentList == null)
|
||||
{
|
||||
ServiceFacade.DoWohnheimServiceAsync(s => s.GetAllActiveAndArchivedWohnheimCompact(), r =>
|
||||
this.Dispatch(delegate
|
||||
{
|
||||
|
||||
objectList = r.Cast<IFilterableDC>();
|
||||
{
|
||||
|
||||
objectList = r.Cast<IFilterableDC>();
|
||||
this.wohnheimNavigationView.ShowSearchResult(objectList);
|
||||
}));
|
||||
|
||||
ServiceFacade.DoWohnheimServiceAsync(s => s.GetLastOpenedWohnheim(), r => this.Dispatch(delegate
|
||||
{
|
||||
recentList = r.Cast<IFilterableDC>();
|
||||
this.wohnheimNavigationView.ShowHistory(recentList);
|
||||
}));
|
||||
ServiceFacade.DoWohnheimServiceAsync(s => s.GetLastOpenedWohnheim(),
|
||||
r => this.Dispatch(delegate
|
||||
{
|
||||
recentList = r.Cast<IFilterableDC>();
|
||||
this.wohnheimNavigationView.ShowHistory(recentList);
|
||||
#if DEBUG
|
||||
if (DebugConfig.CurrentConfig is object && DebugConfig.CurrentConfig.DebugConfigMode == DebugConfigMode.FeatureWohnheimWohneinheit)
|
||||
{
|
||||
wohnheimNavigationView_OpenObject(recentList?.FirstOrDefault() ?? objectList.FirstOrDefault());
|
||||
}
|
||||
#endif
|
||||
}));
|
||||
|
||||
ServiceFacade.DoCustomerServiceAsync(c => c.GetAllCompactCustomers(), cb => _Customers = cb);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.wohnheimNavigationView.ShowSearchResult(objectList);
|
||||
this.wohnheimNavigationView.ShowHistory(recentList);
|
||||
}
|
||||
}
|
||||
ServiceFacade.DoCustomerServiceAsync(c => c.GetAllCompactCustomers(), cb => _Customers = cb);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.wohnheimNavigationView.ShowSearchResult(objectList);
|
||||
this.wohnheimNavigationView.ShowHistory(recentList);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,7 @@ namespace BeWo.ViewModel
|
||||
|
||||
public CustomerVM Customer { get; set; }
|
||||
|
||||
public bool PermissionFalldatenEdit { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.Customer_GemeinnutzigeArbeit_Edit);
|
||||
public bool PermissionFalldatenEdit { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.Customer_GemeinnutzigeArbeit_Manage);
|
||||
public bool NoPermissionFalldatenEdit => !PermissionFalldatenEdit;
|
||||
|
||||
public string EigenesAktenzeichen
|
||||
|
||||
@@ -16,7 +16,8 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
public AbstractListVM(IEnumerable<DCType> pDCList) : base(pDCList)
|
||||
{
|
||||
}
|
||||
public AbstractListVM() : this(null) { }
|
||||
|
||||
public AbstractListVM() : base() { }
|
||||
public bool PermissionManageVM { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,8 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
|
||||
DeleteSelectedVMCommand = new DelegateCommand(() => DeleteSelectedVM($"Aktenzeichen '{SelectedVM.EigenesAktenzeichen}'"));
|
||||
|
||||
PermissionManageVM = BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_GemeinnutzigeArbeit_Manage);
|
||||
|
||||
// CopySelectedVMCommand = new DelegateCommand(CopySelectedWohnhilfe);
|
||||
}
|
||||
|
||||
@@ -50,7 +52,7 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
|
||||
public bool CanAddVM()
|
||||
{
|
||||
return BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_GemeinnutzigeArbeit_Create); ;
|
||||
return BeWoApp.HasLoggedOnUserRight(BS.Shared.UserRightType.Customer_GemeinnutzigeArbeit_Manage); ;
|
||||
}
|
||||
|
||||
internal void InitValueListEntrys(ObservableSortCollection<ValueListEntryDC> auftragsherkunfte, ObservableSortCollection<ValueListEntryDC> vermittlungsgrundlage)
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
|
||||
InsertDetailsCommand = new DelegateCommand(InsertDetails);
|
||||
|
||||
PermissionManageVM = BeWoApp.HasLoggedOnUserRight(UserRightType.Customer_Wohnhilfe_Manage);
|
||||
|
||||
_IsLarge = true;
|
||||
}
|
||||
|
||||
@@ -80,7 +82,7 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
|
||||
public bool CanAddWohnhilfe()
|
||||
{
|
||||
return BeWoApp.HasLoggedOnUserRight(UserRightType.Customer_Wohnhilfe_Create);
|
||||
return BeWoApp.HasLoggedOnUserRight(UserRightType.Customer_Wohnhilfe_Manage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,15 +11,13 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
public class WohneinheitBelegungListVM : AbstractDCListMapperVM<WohneinheitBelegungDC, WohneinheitBelegungVM>
|
||||
{
|
||||
public bool PermissionWohneinheitBelegungManage { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Belegung_Manage);
|
||||
|
||||
private WohneinheitBelegungVM _Current;
|
||||
|
||||
/// <summary>
|
||||
/// Gesamte Liste
|
||||
/// </summary>
|
||||
/// <param name="listVMs"></param>
|
||||
/// <param name="list"></param>
|
||||
public WohneinheitBelegungListVM(List<WohneinheitBelegungDC> listDCs) : base(listDCs)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public WohneinheitBelegungVM CurrentVM
|
||||
|
||||
@@ -7,12 +7,20 @@ using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
using DevExpress.Mvvm;
|
||||
|
||||
namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
public class WohneinheitListVM : AbstractDCListMapperVM<WohneinheitDC, WohneinheitVM>
|
||||
public class WohneinheitListVM : AbstractListVM<WohneinheitDC, WohneinheitVM>
|
||||
{
|
||||
private BindingList<string> _Wohnungsnamen;
|
||||
public DelegateCommand AddChildVMCommand { get; set; }
|
||||
|
||||
public bool PermissionWohneinheitButton => PermissionWohneinheitManage || PermissionWohneinheitGalleryView;
|
||||
|
||||
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);
|
||||
|
||||
public WohneinheitListVM() : base(null)
|
||||
{
|
||||
@@ -21,57 +29,90 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
|
||||
public WohneinheitListVM(List<WohneinheitDC> pDCs) : base(pDCs)
|
||||
{
|
||||
_Wohnungsnamen = new BindingList<string>(GetWohnungsnamen());
|
||||
AddVMCommand = new DelegateCommand(Add, () => PermissionWohneinheitManage);
|
||||
|
||||
VMList.ListChanged += (s, e) => {
|
||||
if(e.ListChangedType == ListChangedType.ItemAdded)
|
||||
{
|
||||
UpdateWohnungsnamen();
|
||||
}
|
||||
else if (e.ListChangedType == ListChangedType.ItemDeleted)
|
||||
{
|
||||
UpdateWohnungsnamen();
|
||||
}
|
||||
};
|
||||
}
|
||||
AddChildVMCommand = new DelegateCommand(AddChild, CanManageAndSelectedIsObject);
|
||||
|
||||
public BindingList<string> Wohnungsnamen => _Wohnungsnamen;
|
||||
|
||||
public List<string> GetWohnungsnamen() => VMList?
|
||||
.Where(x => !string.IsNullOrEmpty(x.Wohnname))
|
||||
.Where(x => !string.IsNullOrEmpty(x.Zimmername))
|
||||
.Select(x => x.Wohnname.ToString())?
|
||||
.Distinct()
|
||||
.OrderBy(x => x)
|
||||
.ToList() ?? new List<string>();
|
||||
|
||||
public override WohneinheitVM AddNewVMToListAndSelect(bool auto_select)
|
||||
{
|
||||
var vm = base.AddNewVMToListAndSelect(auto_select);
|
||||
|
||||
return vm;
|
||||
DeleteSelectedVMCommand = new DelegateCommand(DeleteSelected, () => PermissionWohneinheitManage);
|
||||
}
|
||||
|
||||
public override bool IsDirty => base.IsDirty;
|
||||
|
||||
public void CloseEditVM()
|
||||
public void Add()
|
||||
{
|
||||
EditVM = null;
|
||||
SelectedVM = null;
|
||||
|
||||
UpdateWohnungsnamen();
|
||||
AddNewVMToListAndSelect(true);
|
||||
}
|
||||
|
||||
public void ResetNewVM()
|
||||
public void AddChild()
|
||||
{
|
||||
var parent = SelectedVM;
|
||||
|
||||
AddNewVMToListAndSelect(true);
|
||||
|
||||
SelectedVM.Wohnname = parent.Wohnname;
|
||||
SelectedVM.Baujahr = parent.Baujahr;
|
||||
SelectedVM.Stock = parent.Stock;
|
||||
}
|
||||
|
||||
public void DeleteSelected()
|
||||
{
|
||||
var selected_vm = SelectedVM;
|
||||
|
||||
if (selected_vm is null)
|
||||
return;
|
||||
|
||||
var displayname = selected_vm.Displayname2;
|
||||
|
||||
var suc = DeleteSelectedVM($"Wohneinheit '{displayname}'");
|
||||
|
||||
if (suc && VMList.Any())
|
||||
SelectedVM = VMList.Last();
|
||||
}
|
||||
|
||||
public bool SelectNewWohneinheit()
|
||||
{
|
||||
SelectedVM = NewVM;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool SelectNewChildWohneinheit(WohneinheitVM parent)
|
||||
{
|
||||
SelectedVM = NewVM;
|
||||
|
||||
SelectedVM.Wohnname = parent.Wohnname;
|
||||
SelectedVM.Baujahr = parent.Baujahr;
|
||||
SelectedVM.Stock = parent.Stock;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool EditWohneinheit(WohneinheitVM vm)
|
||||
{
|
||||
if (vm is null || !VMList.Contains(vm))
|
||||
return false;
|
||||
|
||||
EditVM = vm;
|
||||
SelectedVM = vm;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool CanManageAndSelectedIsObject()
|
||||
{
|
||||
return PermissionWohneinheitManage && SelectedVM != null;
|
||||
}
|
||||
|
||||
public void CloseNewVM()
|
||||
{
|
||||
NewVM = null;
|
||||
SelectedVM = null;
|
||||
}
|
||||
|
||||
private void UpdateWohnungsnamen()
|
||||
public void CloseEditVM()
|
||||
{
|
||||
_Wohnungsnamen.Clear();
|
||||
_Wohnungsnamen.AddRange(GetWohnungsnamen());
|
||||
EditVM = null;
|
||||
SelectedVM = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -91,6 +91,8 @@ namespace BeWo.ViewModel
|
||||
|
||||
public static string PropertyName_Leistungserbringergruppe = nameof(Leistungserbringergruppe);
|
||||
|
||||
public static string PropertyName_BusinessPartnerId = nameof(BusinessPartnerId);
|
||||
|
||||
private readonly List<ValueListEntryDC> _AllQualifications;
|
||||
|
||||
private string _AccountNumber;
|
||||
@@ -171,6 +173,8 @@ namespace BeWo.ViewModel
|
||||
|
||||
private string _Leistungserbringergruppe;
|
||||
|
||||
private string _BusinessPartnerId;
|
||||
|
||||
public OrganisationVM(OrganisationDC pDataContract, List<ValueListEntryDC> pAllQualifications, List<ValueListEntryDC> pPossibleFunctions, List<ValueListEntryDC> pPossibleRoleInOrganisations)
|
||||
: base(pDataContract, pDataContract.OrganisationOid == null)
|
||||
{
|
||||
@@ -831,6 +835,21 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public string BusinessPartnerId
|
||||
{
|
||||
get { return this._BusinessPartnerId; }
|
||||
|
||||
set
|
||||
{
|
||||
if (this.AreDifferent(this._BusinessPartnerId, value))
|
||||
{
|
||||
this._BusinessPartnerId = value;
|
||||
this.StoreDirtyInformation(this.AreDifferent(this.DataContract.BusinessPartnerId, value), nameof(BusinessPartnerId));
|
||||
this.FirePropertyChanged(nameof(BusinessPartnerId));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected void CommitContact(string pValue, ContactType pContactType)
|
||||
{
|
||||
List<ContactDC> lOldContactDCs;
|
||||
@@ -896,6 +915,7 @@ namespace BeWo.ViewModel
|
||||
this._IKKostentrager = pDataContract.IKKostentrager;
|
||||
this._IKDatenannahmestelle = pDataContract.IKDatenannahmestelle;
|
||||
_Leistungserbringergruppe = pDataContract.Leistungserbringergruppe;
|
||||
_BusinessPartnerId = pDataContract.BusinessPartnerId;
|
||||
|
||||
_Function = pDataContract.Function;
|
||||
|
||||
@@ -1003,6 +1023,7 @@ namespace BeWo.ViewModel
|
||||
pDataContract.IKKostentrager = this._IKKostentrager;
|
||||
pDataContract.IKKrankenkasse = this._IKKrankenkasse;
|
||||
pDataContract.Leistungserbringergruppe = _Leistungserbringergruppe;
|
||||
pDataContract.BusinessPartnerId = _BusinessPartnerId;
|
||||
|
||||
this.CommitContact(this._Phone, ContactType.business_Phone);
|
||||
this.CommitContact(this._Website, ContactType.business_Homepage);
|
||||
|
||||
@@ -36,6 +36,9 @@ namespace BeWo.ViewModel
|
||||
|
||||
public bool CanSave
|
||||
=> Wohneinheit is object && Customer is object;
|
||||
|
||||
public bool AllDay => true;
|
||||
|
||||
public WohneinheitVM Wohneinheit
|
||||
{
|
||||
get { return _Wohneinheit; }
|
||||
@@ -102,7 +105,15 @@ namespace BeWo.ViewModel
|
||||
|
||||
if (value.HasValue && value.Value < StartDate)
|
||||
{
|
||||
StartDate = new DateTime(value.Value.Year, value.Value.Month, 1);
|
||||
var new_start = new DateTime(value.Value.Year, value.Value.Month, 1);
|
||||
|
||||
if(value == new_start)
|
||||
new_start = new DateTime(value.Value.Year, 1, 1);
|
||||
|
||||
if(value == new_start)
|
||||
new_start = new DateTime(value.Value.Year - 1, 1, 1);
|
||||
|
||||
StartDate = new_start;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -120,7 +131,7 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime EndDateDisplay => EndDate ?? DateTime.MaxValue;
|
||||
public DateTime EndDateDisplay => EndDate ?? new DateTime(DateTime.MaxValue.Year, 1, 1);
|
||||
public WohneinheitBelegungVM ViewModel => this;
|
||||
|
||||
public override bool Equals(object obj)
|
||||
|
||||
@@ -66,14 +66,8 @@ namespace BeWo.ViewModel
|
||||
_WohnheimName = "Design Test";
|
||||
|
||||
PermissionWohneinheitView = true;
|
||||
PermissionWohneinheitCreate = true;
|
||||
PermissionWohneinheitEdit = true;
|
||||
PermissionWohneinheitDelete = true;
|
||||
|
||||
PermissionWohneinheitBelegungView = true;
|
||||
PermissionWohneinheitBelegungCreate = true;
|
||||
PermissionWohneinheitBelegungEdit = true;
|
||||
PermissionWohneinheitBelegungDelete = true;
|
||||
|
||||
var vms = new System.ComponentModel.BindingList<WohneinheitVM>()
|
||||
{
|
||||
@@ -107,23 +101,9 @@ namespace BeWo.ViewModel
|
||||
public bool IntervalChanging { get; set; }
|
||||
|
||||
public bool PermissionWohneinheitTabitemView => PermissionWohneinheitView || PermissionWohneinheitBelegungView;
|
||||
public bool PermissionWohneinheitButton => PermissionWohneinheitDelete || PermissionWohneinheitGallery;
|
||||
public bool PermissionWohneinheitGallery => PermissionWohneinheitGalleryEdit || PermissionWohneinheitGalleryView;
|
||||
|
||||
public bool PermissionWohneinheitView { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_View);
|
||||
public bool PermissionWohneinheitCreate { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Create);
|
||||
public bool PermissionWohneinheitEdit { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Edit);
|
||||
public bool PermissionWohneinheitDelete { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Delete);
|
||||
|
||||
public bool PermissionWohneinheitGalleryEdit { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Gallery_Edit);
|
||||
public bool PermissionWohneinheitGalleryView { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Gallery_View);
|
||||
|
||||
public bool PermissionWohneinheitBelegungView { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Belegung_View);
|
||||
public bool PermissionWohneinheitBelegungCreate { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Belegung_Create);
|
||||
public bool PermissionWohneinheitBelegungEdit { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Belegung_Edit);
|
||||
public bool PermissionWohneinheitBelegungDelete { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Belegung_Delete);
|
||||
|
||||
public bool Permission1 { get; } = true;
|
||||
|
||||
public bool IsArchived
|
||||
{
|
||||
@@ -363,34 +343,11 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public bool AddWohneinheit()
|
||||
{
|
||||
if (!PermissionWohneinheitCreate)
|
||||
return false;
|
||||
|
||||
var vmlist = WohneinheitListVM;
|
||||
|
||||
vmlist.SelectedVM = vmlist.NewVM;
|
||||
|
||||
return true;
|
||||
}
|
||||
public bool EditWohneinheit(WohneinheitVM vm)
|
||||
{
|
||||
if (!PermissionWohneinheitEdit)
|
||||
return false;
|
||||
|
||||
if (vm is null || !WohneinheitListVM.VMList.Contains(vm))
|
||||
return false;
|
||||
|
||||
WohneinheitListVM.EditVM = vm;
|
||||
WohneinheitListVM.SelectedVM = vm;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public bool AddBelegung(object wohneinheit_oid = null, DateTime? start = null)
|
||||
{
|
||||
if (!PermissionWohneinheitBelegungCreate)
|
||||
if (!WohneinheitBelegungListVM.PermissionWohneinheitBelegungManage)
|
||||
return false;
|
||||
|
||||
var beleg_list_vm = WohneinheitBelegungListVM;
|
||||
@@ -418,10 +375,10 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
public bool EditBelegung(WohneinheitBelegungVM vm)
|
||||
{
|
||||
if (!PermissionWohneinheitBelegungEdit)
|
||||
if (vm is null || !WohneinheitBelegungListVM.VMList.Contains(vm))
|
||||
return false;
|
||||
|
||||
if (vm is null || !WohneinheitBelegungListVM.VMList.Contains(vm))
|
||||
if (!WohneinheitBelegungListVM.PermissionWohneinheitBelegungManage)
|
||||
return false;
|
||||
|
||||
WohneinheitBelegungListVM.EditVM = vm;
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace BeWo.Data.Entities
|
||||
|
||||
public static string PropertyName_Leistungserbringergruppe = nameof(Leistungserbringergruppe);
|
||||
|
||||
public static string PropertyName_BusinessPartnerId = nameof(BusinessPartnerId);
|
||||
|
||||
private Address _Address;
|
||||
|
||||
private BankAccount _BankAccount;
|
||||
@@ -66,6 +68,7 @@ namespace BeWo.Data.Entities
|
||||
|
||||
private string _Leistungserbringergruppe;
|
||||
|
||||
private string _BusinessPartnerId;
|
||||
|
||||
public Organisation()
|
||||
{
|
||||
@@ -332,5 +335,21 @@ namespace BeWo.Data.Entities
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string BusinessPartnerId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BusinessPartnerId;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (this.AreDifferent(this._BusinessPartnerId, value))
|
||||
{
|
||||
this._BusinessPartnerId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,10 +16,11 @@
|
||||
<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 column="IKKrankenkasse" type="String" name="IKKrankenkasse" length="16" />
|
||||
<property column="IKKostentrager" type="String" name="IKKostentrager" length="16" />
|
||||
<property column="IKDatenannahmestelle" type="String" name="IKDatenannahmestelle" length="16" />
|
||||
<property column="Leistungserbringergruppe" type="String" name="Leistungserbringergruppe" length="7" />
|
||||
<property column="IKKrankenkasse" type="String" name="IKKrankenkasse" length="256" />
|
||||
<property column="IKKostentrager" type="String" name="IKKostentrager" length="256" />
|
||||
<property column="IKDatenannahmestelle" type="String" name="IKDatenannahmestelle" length="256" />
|
||||
<property column="Leistungserbringergruppe" type="String" name="Leistungserbringergruppe" length="256" />
|
||||
<property column="BusinessPartnerId" type="String" name="BusinessPartnerId" length="256" />
|
||||
|
||||
<many-to-one name="Address" column="AddressOid" class="BeWo.Data.Entities.Address, BeWo.Data" cascade="all" fetch="join"/>
|
||||
<many-to-one name="InvoiceAddress" column="InvoiceAddressOid" class="BeWo.Data.Entities.Address, BeWo.Data" cascade="all" fetch="join"/>
|
||||
|
||||
@@ -159,24 +159,16 @@ namespace BeWo.Data.Security
|
||||
}
|
||||
|
||||
var rights_3_22 = new List<UserRightType> {
|
||||
UserRightType.WohnheimView_Wohneinheit_Belegung_Create,
|
||||
UserRightType.WohnheimView_Wohneinheit_Belegung_Delete,
|
||||
UserRightType.WohnheimView_Wohneinheit_Belegung_Edit,
|
||||
UserRightType.WohnheimView_Wohneinheit_Belegung_View,
|
||||
UserRightType.WohnheimView_Wohneinheit_Create,
|
||||
UserRightType.WohnheimView_Wohneinheit_Delete,
|
||||
UserRightType.WohnheimView_Wohneinheit_Edit,
|
||||
UserRightType.WohnheimView_Wohneinheit_Belegung_Manage,
|
||||
UserRightType.WohnheimView_Wohneinheit_View,
|
||||
UserRightType.WohnheimView_Wohneinheit_Gallery_Edit,
|
||||
UserRightType.WohnheimView_Wohneinheit_Manage,
|
||||
UserRightType.WohnheimView_Wohneinheit_Gallery_View,
|
||||
UserRightType.WohnheimView_Wohneinheit_Gallery_Manage,
|
||||
UserRightType.Customer_GemeinnutzigeArbeit_View,
|
||||
UserRightType.Customer_GemeinnutzigeArbeit_Create,
|
||||
UserRightType.Customer_GemeinnutzigeArbeit_Edit,
|
||||
UserRightType.Customer_GemeinnutzigeArbeit_Delete,
|
||||
UserRightType.Customer_GemeinnutzigeArbeit_Manage,
|
||||
UserRightType.Customer_Wohnhilfe_View,
|
||||
UserRightType.Customer_Wohnhilfe_Create,
|
||||
UserRightType.Customer_Wohnhilfe_Edit,
|
||||
UserRightType.Customer_Wohnhilfe_Delete
|
||||
UserRightType.Customer_Wohnhilfe_Manage,
|
||||
};
|
||||
|
||||
if (rights_3_22.Contains(r))
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `organisation`
|
||||
ADD COLUMN `BusinessParnerId` VARCHAR(256) NULL DEFAULT NULL AFTER `Leistungserbringergruppe`;
|
||||
@@ -141,6 +141,8 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
public bool HasGroupRecords { get; set; }
|
||||
|
||||
public String BusinessPartnerId { get; set; }
|
||||
|
||||
public List<SettlementInvoiceItemRO> InvoiceItems { get; set; }
|
||||
|
||||
public IList<ServiceRecordDC> Fehlkontakte { get; set; }
|
||||
@@ -346,6 +348,11 @@ namespace BeWo.Report.ReportObjects
|
||||
if (contact != null)
|
||||
lResult.RecipientPhone = contact.Value;
|
||||
}
|
||||
|
||||
if (!org.BusinessPartnerId.IsNullOrEmpty())
|
||||
{
|
||||
lResult.BusinessPartnerId = "GP-Nummer: " + org.BusinessPartnerId;
|
||||
}
|
||||
}
|
||||
|
||||
lResult.SenderContactPerson = pDC.SenderContactPersonFirstName + " " + pDC.SenderContactPersonLastName;
|
||||
|
||||
@@ -278,6 +278,8 @@ namespace BeWo.Report.ReportObjects
|
||||
|
||||
public String TerminationReason { get; set; }
|
||||
|
||||
public String BusinessPartnerId { get; set; }
|
||||
|
||||
public IList<ApprovalPeriodRO> Approvals { get; set; }
|
||||
|
||||
public IList<ApprovalPeriod> CostbearerApprovalPeriods { get; set; }
|
||||
@@ -687,6 +689,11 @@ namespace BeWo.Report.ReportObjects
|
||||
if (contact != null)
|
||||
lResult.RecipientPhone = contact.Value;
|
||||
}
|
||||
|
||||
if (!org.BusinessPartnerId.IsNullOrEmpty())
|
||||
{
|
||||
lResult.BusinessPartnerId = "GP-Nummer: " + org.BusinessPartnerId;
|
||||
}
|
||||
}
|
||||
|
||||
lResult.SenderContactPerson = pDC.SenderContactPersonFirstName + " " + pDC.SenderContactPersonLastName;
|
||||
|
||||
@@ -58,6 +58,12 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Export\QueryListReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Export\QueryListReport.Designer.cs">
|
||||
<DependentUpon>QueryListReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SBUmsatzerprobung.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -195,6 +201,10 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Export\QueryListReport.resx">
|
||||
<DependentUpon>QueryListReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SBUmsatzerprobung.resx">
|
||||
<DependentUpon>SBUmsatzerprobung.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
@@ -33,7 +35,9 @@ namespace AWOMuensterlandRecklinghausen.Export
|
||||
{
|
||||
dtStart = new DateTime(1900, 1, 1);
|
||||
}
|
||||
query.QueryResult = GetAbrechnungenString(dt, dtStart, dtEnd);
|
||||
var tableRg = ExecuteQuery(GetMonatlicheAbrechnungenSqlNeu(), dt, dtStart, dtEnd);
|
||||
query.QueryResult = GetAbrechnungenString(dt, dtStart, dtEnd, tableRg);
|
||||
query.Attachments = GetAbrechnungsBeleg(dt, tableRg);
|
||||
return query;
|
||||
}
|
||||
|
||||
@@ -43,15 +47,16 @@ namespace AWOMuensterlandRecklinghausen.Export
|
||||
{
|
||||
DateTime dt = DateTime.Now;
|
||||
DateTime.TryParse(pHeaderCaption[1], out dt);
|
||||
return GetAbrechnungenString(dt, dt, dt);
|
||||
var tableRg = ExecuteQuery(GetMonatlicheAbrechnungenSqlNeu(), dt, dt, dt);
|
||||
return GetAbrechnungenString(dt, dt, dt, tableRg);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String GetAbrechnungenString(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
public static String GetAbrechnungenString(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis, DataTable tableRg)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
var s = GetMonatlicheAbrechnungString(date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
var s = GetMonatlicheAbrechnungString(date, rechnungsDatumVon, rechnungsDatumBis, tableRg);
|
||||
if (!String.IsNullOrWhiteSpace(s))
|
||||
{
|
||||
sb.Append(s);
|
||||
@@ -64,15 +69,15 @@ namespace AWOMuensterlandRecklinghausen.Export
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetMonatlicheAbrechnungString(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis)
|
||||
public static String GetMonatlicheAbrechnungString(DateTime date, DateTime rechnungsDatumVon, DateTime rechnungsDatumBis, DataTable dt)
|
||||
{
|
||||
// Export enthält Rechnungsangaben Zeilen (Zeile F) und Kostenstellen/Rechnungspositionsangaben (Zeile K) in zwei Zeilen
|
||||
// Kommen aus Export in einer Zeile und werden hier getrennt, falls die Rechnung mehrere Positionen hat
|
||||
int startIdx = 1;
|
||||
int stopIdx = 19; // ab da beginnen Angaben zu Kostenstelle -> zweite Zeile oder auch mehr falls mehrere Positionen
|
||||
int startIdx = 5;
|
||||
int stopIdx = 23; // ab da beginnen Angaben zu Kostenstelle -> zweite Zeile oder auch mehr falls mehrere Positionen
|
||||
String sql;
|
||||
sql = GetMonatlicheAbrechnungenSqlNeu();
|
||||
var dt = ExecuteQuery(sql, date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
//sql = GetMonatlicheAbrechnungenSqlNeu();
|
||||
//var dt = ExecuteQuery(sql, date, rechnungsDatumVon, rechnungsDatumBis);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
List<DataRow> mergedRows = new List<DataRow>();
|
||||
@@ -94,7 +99,7 @@ namespace AWOMuensterlandRecklinghausen.Export
|
||||
for (int i = startIdx; i < row.ItemArray.Length; i++)
|
||||
{
|
||||
var item = row[i];
|
||||
if (i == 10)
|
||||
if (i == 14)
|
||||
{
|
||||
string belegnr = item.ToString();
|
||||
if (belegnr.Contains("Storno"))
|
||||
@@ -108,7 +113,7 @@ namespace AWOMuensterlandRecklinghausen.Export
|
||||
sb.Append(";");
|
||||
}
|
||||
}
|
||||
else if (i == 15)
|
||||
else if (i == 19)
|
||||
{
|
||||
decimal betrag = ErzeugeBetrag(item);
|
||||
if (betrag != 0)
|
||||
@@ -132,7 +137,7 @@ namespace AWOMuensterlandRecklinghausen.Export
|
||||
sb.Append(item);
|
||||
sb.AppendLine();
|
||||
}
|
||||
else if (i == 28)
|
||||
else if (i == 32)
|
||||
{
|
||||
decimal betrag = ErzeugeBetrag(item);
|
||||
if (betrag != 0)
|
||||
@@ -158,7 +163,7 @@ namespace AWOMuensterlandRecklinghausen.Export
|
||||
{
|
||||
var item = row[i];
|
||||
// mach nichts mit den ersten Spalten -> erstelle nur Kostenstellen
|
||||
if (i == 28)
|
||||
if (i == 32)
|
||||
{
|
||||
decimal betrag = ErzeugeBetrag(item);
|
||||
if (betrag != 0)
|
||||
@@ -216,6 +221,10 @@ namespace AWOMuensterlandRecklinghausen.Export
|
||||
|
||||
SELECT
|
||||
CONCAT(cb2sc.Oid, ib.InvoiceNumber, Round(sip.Claim, 0)) AS OID,
|
||||
CONCAT(p.`LastName`, ', ', p.`FirstName`) as Klient,
|
||||
DATE_FORMAT(ib.`AccountingPeriodStart`, '%d%m%Y') AS Start,
|
||||
DATE_FORMAT(ib.`AccountingPeriodEnd`, '%d%m%Y') AS End,
|
||||
org.Name AS Kostentraeger,
|
||||
'F',
|
||||
'0',
|
||||
'124',
|
||||
@@ -268,5 +277,55 @@ ORDER BY ib.invoicenumber
|
||||
|
||||
return DAOFactory.AdoDAO.ExecuteQuery(newsql).Tables[0];
|
||||
}
|
||||
|
||||
private static List<FileAttachmentDC> GetAbrechnungsBeleg(DateTime dt, DataTable dtRg)
|
||||
{
|
||||
try
|
||||
{
|
||||
List<FileAttachmentDC> liste = new List<FileAttachmentDC>();
|
||||
var pdf = new FileAttachmentDC();
|
||||
var queryReport = new AWOMuensterlandRecklinghausen.Export.Bericht();
|
||||
DataTable table = new DataTable();
|
||||
string[] spalten = new string[] { "Klient", "Zeitraum", "Nummer", "ReDatum", "Kostenträger", "Betrag", "Notiz" };
|
||||
|
||||
for (int i = 0; i < spalten.Length; i++)
|
||||
table.Columns.Add(spalten[i], typeof(string));
|
||||
|
||||
for (int i = 0; i < dtRg.Rows.Count; i++)
|
||||
{
|
||||
DataRow row = table.NewRow();
|
||||
DataRow invoice = dtRg.Rows[i];
|
||||
row[0] = invoice[1];
|
||||
var start = DateTime.ParseExact(invoice[2].ToString(), "ddMMyyyy", CultureInfo.InvariantCulture, DateTimeStyles.AssumeLocal);
|
||||
var end = DateTime.ParseExact(invoice[3].ToString(), "ddMMyyyy", CultureInfo.InvariantCulture, DateTimeStyles.AssumeLocal);
|
||||
row[1] = string.Format("{0:dd.MM.yyyy} - {1:dd.MM.yyyy}", start, end);
|
||||
row[2] = invoice[14];
|
||||
var datum = DateTime.ParseExact(invoice[11].ToString(), "ddMMyyyy", CultureInfo.InvariantCulture, DateTimeStyles.AssumeLocal);
|
||||
row[3] = string.Format("{0:dd.MM.yyyy}", datum);
|
||||
row[4] = invoice[4];
|
||||
row[5] = string.Format("{0:0.00}", invoice[19]);
|
||||
table.Rows.Add(row);
|
||||
}
|
||||
var queryReportObject = QueryRO.Create(new Query() { Title = "Export" }, table);
|
||||
queryReportObject.Name = String.Format("Rechnungsausgangbuch {0:MMMM yyyy}", dt);
|
||||
queryReport.SetReportDataSource(queryReportObject);
|
||||
queryReport.CreateDocument();
|
||||
|
||||
pdf.FileName = String.Format("RA-Buch {0:MM.yyyy}.pdf", dt);
|
||||
using (var ms = new MemoryStream())
|
||||
{
|
||||
queryReport.ExportToPdf(ms);
|
||||
pdf.BinaryData = ms.ToArray();
|
||||
}
|
||||
liste.Add(pdf);
|
||||
|
||||
return liste;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// continue - auch wenn gar nichts stimmt
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
588
ReportImp/AWOMuensterlandRecklinghausen/Export/QueryListReport.Designer.cs
generated
Normal file
588
ReportImp/AWOMuensterlandRecklinghausen/Export/QueryListReport.Designer.cs
generated
Normal file
@@ -0,0 +1,588 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace AWOMuensterlandRecklinghausen.Export
|
||||
{
|
||||
partial class Bericht
|
||||
{
|
||||
/// <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.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableDetail = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowDetail = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTableHeader = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowHeader = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblSumme = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
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();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
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.xrTableDetail});
|
||||
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.Detail1.HeightF = 25F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableDetail
|
||||
//
|
||||
this.xrTableDetail.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableDetail.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableDetail.Name = "xrTableDetail";
|
||||
this.xrTableDetail.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableDetail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowDetail});
|
||||
this.xrTableDetail.SizeF = new System.Drawing.SizeF(1019F, 25F);
|
||||
this.xrTableDetail.StylePriority.UseBorders = false;
|
||||
this.xrTableDetail.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRowDetail
|
||||
//
|
||||
this.xrTableRowDetail.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell19});
|
||||
this.xrTableRowDetail.Name = "xrTableRowDetail";
|
||||
this.xrTableRowDetail.Weight = 1D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field1")});
|
||||
this.xrTableCell3.Multiline = true;
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.Text = "xrTableCell3";
|
||||
this.xrTableCell3.Weight = 1.3329015595509226D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field2")});
|
||||
this.xrTableCell13.Multiline = true;
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.StylePriority.UseFont = false;
|
||||
this.xrTableCell13.Text = "xrTableCell13";
|
||||
this.xrTableCell13.Weight = 1.3721222381235081D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field3")});
|
||||
this.xrTableCell12.Multiline = true;
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.StylePriority.UseFont = false;
|
||||
this.xrTableCell12.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell12.Text = "xrTableCell12";
|
||||
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell12.Weight = 0.78112926757578538D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field4")});
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell10.Text = "xrTableCell10";
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell10.Weight = 0.6325202448374454D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field5")});
|
||||
this.xrTableCell9.Multiline = true;
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.Text = "xrTableCell9";
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
this.xrTableCell9.Weight = 1.5783006153198185D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field6")});
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseFont = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.Text = "xrTableCell8";
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell8.TextFormatString = "{0} €";
|
||||
this.xrTableCell8.Weight = 0.78320651456435919D;
|
||||
//
|
||||
// xrTableCell19
|
||||
//
|
||||
this.xrTableCell19.Multiline = true;
|
||||
this.xrTableCell19.Name = "xrTableCell19";
|
||||
this.xrTableCell19.StylePriority.UseFont = false;
|
||||
this.xrTableCell19.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell19.Weight = 1.3430122126172495D;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.GroupHeader1,
|
||||
this.ReportFooter});
|
||||
this.DetailReport.DataMember = "Rows";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableHeader});
|
||||
this.GroupHeader1.HeightF = 25F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTableHeader
|
||||
//
|
||||
this.xrTableHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableHeader.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableHeader.Name = "xrTableHeader";
|
||||
this.xrTableHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowHeader});
|
||||
this.xrTableHeader.SizeF = new System.Drawing.SizeF(1019F, 25F);
|
||||
this.xrTableHeader.StylePriority.UseBorders = false;
|
||||
this.xrTableHeader.StylePriority.UseFont = false;
|
||||
this.xrTableHeader.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRowHeader
|
||||
//
|
||||
this.xrTableRowHeader.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell18});
|
||||
this.xrTableRowHeader.Name = "xrTableRowHeader";
|
||||
this.xrTableRowHeader.Weight = 1D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Text = "Klient/in";
|
||||
this.xrTableCell5.Weight = 1.1424870514351642D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Multiline = true;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "Zeitraum";
|
||||
this.xrTableCell1.Weight = 1.1761047716888708D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Multiline = true;
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell4.Text = "Re-Nummer";
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell4.Weight = 0.66953937851411771D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell6.Text = "Re-Datum";
|
||||
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell6.Weight = 0.5421598595434447D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Text = "Kostenträger";
|
||||
this.xrTableCell2.Weight = 1.3528295487792548D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Multiline = true;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell7.Text = "Betrag";
|
||||
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell7.Weight = 0.67131984255264876D;
|
||||
//
|
||||
// xrTableCell18
|
||||
//
|
||||
this.xrTableCell18.Multiline = true;
|
||||
this.xrTableCell18.Name = "xrTableCell18";
|
||||
this.xrTableCell18.Text = "Notiz";
|
||||
this.xrTableCell18.Weight = 1.1511536262018458D;
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.ReportFooter.HeightF = 25F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("arial", 9.75F);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(1019F, 25F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell15,
|
||||
this.xrTableCell16,
|
||||
this.xrTableCell17,
|
||||
this.lblSumme,
|
||||
this.xrTableCell20});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.Weight = 1.3329015009775924D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.Multiline = true;
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseFont = false;
|
||||
this.xrTableCell14.Weight = 1.3721221795501779D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Multiline = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.StylePriority.UseFont = false;
|
||||
this.xrTableCell15.Weight = 0.78112938472244531D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.Multiline = true;
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.StylePriority.UseFont = false;
|
||||
this.xrTableCell16.Weight = 0.63251977625080558D;
|
||||
//
|
||||
// xrTableCell17
|
||||
//
|
||||
this.xrTableCell17.Multiline = true;
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.StylePriority.UseFont = false;
|
||||
this.xrTableCell17.Weight = 1.5783010839064582D;
|
||||
//
|
||||
// lblSumme
|
||||
//
|
||||
this.lblSumme.Multiline = true;
|
||||
this.lblSumme.Name = "lblSumme";
|
||||
this.lblSumme.StylePriority.UseFont = false;
|
||||
this.lblSumme.StylePriority.UseTextAlignment = false;
|
||||
this.lblSumme.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.lblSumme.TextFormatString = "{0} €";
|
||||
this.lblSumme.Weight = 0.78320651456435919D;
|
||||
//
|
||||
// xrTableCell20
|
||||
//
|
||||
this.xrTableCell20.Multiline = true;
|
||||
this.xrTableCell20.Name = "xrTableCell20";
|
||||
this.xrTableCell20.StylePriority.UseFont = false;
|
||||
this.xrTableCell20.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell20.Weight = 1.3430122126172495D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.QueryRO);
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.HeightF = 35F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name")});
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(1018F, 25F);
|
||||
this.xrLabel1.StyleName = "Title";
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Buchhaltungsexport";
|
||||
//
|
||||
// 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(924.0834F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(93.91663F, 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(924.0834F, 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.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 = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// Bericht
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldFLS});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.Landscape = true;
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 50F, 50F);
|
||||
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.xrTableDetail)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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.XRLabel xrLabel1;
|
||||
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.XRTable xrTableHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRowHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableDetail;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRowDetail;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
|
||||
private DevExpress.XtraReports.UI.XRTableCell lblSumme;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using System.Data;
|
||||
|
||||
namespace AWOMuensterlandRecklinghausen.Export
|
||||
{
|
||||
public partial class Bericht : DevExpress.XtraReports.UI.XtraReport//, IBeWoReport<QueryRO>
|
||||
{
|
||||
public Bericht()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(QueryRO pRO)
|
||||
{
|
||||
decimal sum = 0;
|
||||
foreach (var row in pRO.Rows)
|
||||
{
|
||||
sum += Convert.ToDecimal(row.Field6.ToString());
|
||||
}
|
||||
lblSumme.Text = sum.ToString("c2");
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
@@ -0,0 +1 @@
|
||||
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
|
||||
2127
ReportImp/BeWoNordeifel/SettlementReport.Designer.cs
generated
2127
ReportImp/BeWoNordeifel/SettlementReport.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -16,8 +16,13 @@ namespace BeWoNordeifel.Alt
|
||||
}
|
||||
|
||||
public void SetReportDataSource(SettlementRO pRO)
|
||||
{
|
||||
bool isDefaultSpitzabrechnung = false;
|
||||
{
|
||||
if (pRO.ClaimWithEigenbeteiligung < 0)
|
||||
{
|
||||
pRO.FinalSentence = "";
|
||||
}
|
||||
|
||||
bool isDefaultSpitzabrechnung = false;
|
||||
|
||||
if (String.IsNullOrEmpty(pRO.Notice))
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
516
ReportImp/BeWoNordeifel/SettlementReport2.Designer.cs
generated
516
ReportImp/BeWoNordeifel/SettlementReport2.Designer.cs
generated
@@ -75,6 +75,21 @@ namespace BeWoNordeifel.Neu
|
||||
this.xrLabel_RecipientContactPerson = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -89,6 +104,14 @@ namespace BeWoNordeifel.Neu
|
||||
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.Zwischensumme = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
@@ -110,36 +133,14 @@ namespace BeWoNordeifel.Neu
|
||||
this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.Zwischensumme = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -152,11 +153,12 @@ namespace BeWoNordeifel.Neu
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel2,
|
||||
this.xrLabel14,
|
||||
this.xrLabel13,
|
||||
this.xrLabel9,
|
||||
this.xrPictureBox1});
|
||||
this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.ReportHeader.HeightF = 127.4211F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
@@ -198,7 +200,7 @@ namespace BeWoNordeifel.Neu
|
||||
//
|
||||
// xrPictureBox1
|
||||
//
|
||||
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
|
||||
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
|
||||
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(176.7579F, 0F);
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(230.1675F, 100.5132F);
|
||||
@@ -254,7 +256,7 @@ namespace BeWoNordeifel.Neu
|
||||
this.xrTableCell6.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell6.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell6.StylePriority.UseBorderColor = false;
|
||||
@@ -297,7 +299,7 @@ namespace BeWoNordeifel.Neu
|
||||
//
|
||||
this.xrTableCell7.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
|
||||
this.xrTableCell7.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell7.FormattingRules.Add(this.ruleRateFactorNull);
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -370,7 +372,7 @@ namespace BeWoNordeifel.Neu
|
||||
//
|
||||
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel4.CanShrink = true;
|
||||
this.xrLabel4.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 217F);
|
||||
this.xrLabel4.Multiline = true;
|
||||
this.xrLabel4.Name = "xrLabel4";
|
||||
@@ -385,7 +387,7 @@ namespace BeWoNordeifel.Neu
|
||||
//
|
||||
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.xrLabel3.CanShrink = true;
|
||||
this.xrLabel3.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 201F);
|
||||
this.xrLabel3.Name = "xrLabel3";
|
||||
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -599,12 +601,132 @@ namespace BeWoNordeifel.Neu
|
||||
this.xrLabel12,
|
||||
this.xrLabel11,
|
||||
this.lblNotice});
|
||||
this.ReportFooter.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.ReportFooter.HeightF = 219.2917F;
|
||||
this.ReportFooter.KeepTogether = true;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
this.ReportFooter.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTable3
|
||||
//
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 31.37495F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow20,
|
||||
this.xrTableRow13,
|
||||
this.xrTableRow14,
|
||||
this.xrTableRow21,
|
||||
this.xrTableRow22,
|
||||
this.xrTableRow23,
|
||||
this.xrTableRow24});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 94F);
|
||||
this.xrTable3.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow20
|
||||
//
|
||||
this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell16});
|
||||
this.xrTableRow20.Name = "xrTableRow20";
|
||||
this.xrTableRow20.Weight = 0.38095238095238093D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")});
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell16.StylePriority.UsePadding = false;
|
||||
this.xrTableCell16.Text = "xrTableCell1";
|
||||
this.xrTableCell16.Weight = 3D;
|
||||
//
|
||||
// xrTableRow13
|
||||
//
|
||||
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell12});
|
||||
this.xrTableRow13.Name = "xrTableRow13";
|
||||
this.xrTableRow13.Weight = 0.23809523809523808D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell12.StylePriority.UsePadding = false;
|
||||
this.xrTableCell12.Weight = 3D;
|
||||
//
|
||||
// xrTableRow14
|
||||
//
|
||||
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell14});
|
||||
this.xrTableRow14.Name = "xrTableRow14";
|
||||
this.xrTableRow14.Weight = 0.38095238095238088D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FehlkontakteString")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell14.StylePriority.UsePadding = false;
|
||||
this.xrTableCell14.Weight = 3D;
|
||||
//
|
||||
// xrTableRow21
|
||||
//
|
||||
this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell18});
|
||||
this.xrTableRow21.Name = "xrTableRow21";
|
||||
this.xrTableRow21.Weight = 0.23809523809523808D;
|
||||
//
|
||||
// xrTableCell18
|
||||
//
|
||||
this.xrTableCell18.Name = "xrTableCell18";
|
||||
this.xrTableCell18.Weight = 3D;
|
||||
//
|
||||
// xrTableRow22
|
||||
//
|
||||
this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell29});
|
||||
this.xrTableRow22.Name = "xrTableRow22";
|
||||
this.xrTableRow22.Weight = 0.38095238095238088D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AbsenceTimes")});
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell29.StylePriority.UsePadding = false;
|
||||
this.xrTableCell29.Text = "xrTableCell4";
|
||||
this.xrTableCell29.Weight = 3D;
|
||||
//
|
||||
// xrTableRow23
|
||||
//
|
||||
this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell30});
|
||||
this.xrTableRow23.Name = "xrTableRow23";
|
||||
this.xrTableRow23.Weight = 0.23809523809523803D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.Weight = 3D;
|
||||
//
|
||||
// xrTableRow24
|
||||
//
|
||||
this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell31});
|
||||
this.xrTableRow24.Name = "xrTableRow24";
|
||||
this.xrTableRow24.Weight = 0.38095238095238088D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FinalSentence")});
|
||||
this.xrTableCell31.Name = "xrTableCell31";
|
||||
this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell31.StylePriority.UsePadding = false;
|
||||
this.xrTableCell31.Text = "xrTableCell8";
|
||||
this.xrTableCell31.Weight = 3D;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 132.3749F);
|
||||
@@ -637,7 +759,7 @@ namespace BeWoNordeifel.Neu
|
||||
// lblNotice
|
||||
//
|
||||
this.lblNotice.CanShrink = true;
|
||||
this.lblNotice.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Italic);
|
||||
this.lblNotice.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Italic);
|
||||
this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 5.999992F);
|
||||
this.lblNotice.Name = "lblNotice";
|
||||
this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -659,7 +781,8 @@ namespace BeWoNordeifel.Neu
|
||||
//
|
||||
// xrLabel7
|
||||
//
|
||||
this.xrLabel7.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00002F);
|
||||
this.xrLabel7.Name = "xrLabel7";
|
||||
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -684,7 +807,7 @@ namespace BeWoNordeifel.Neu
|
||||
this.xrLabel6,
|
||||
this.xrTable1,
|
||||
this.xrLabel8});
|
||||
this.GroupHeader1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.GroupHeader1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.GroupHeader1.HeightF = 421.3333F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.StylePriority.UseFont = false;
|
||||
@@ -704,7 +827,7 @@ namespace BeWoNordeifel.Neu
|
||||
//
|
||||
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable5});
|
||||
this.Detail1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.Detail1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.Detail1.HeightF = 17F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
|
||||
@@ -763,6 +886,98 @@ namespace BeWoNordeifel.Neu
|
||||
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell23.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
|
||||
new DevExpress.XtraReports.UI.GroupField("RateFactor", DevExpress.XtraReports.UI.XRColumnSortOrder.Descending)});
|
||||
this.GroupHeader2.HeightF = 0F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
//
|
||||
// Zwischensumme
|
||||
//
|
||||
this.Zwischensumme.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable6});
|
||||
this.Zwischensumme.HeightF = 26F;
|
||||
this.Zwischensumme.Name = "Zwischensumme";
|
||||
this.Zwischensumme.Visible = false;
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow12,
|
||||
this.xrTableRow7});
|
||||
this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 26F);
|
||||
this.xrTable6.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow12
|
||||
//
|
||||
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10});
|
||||
this.xrTableRow12.Name = "xrTableRow12";
|
||||
this.xrTableRow12.Weight = 0.40476190476190466D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell9.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell9.StylePriority.UseBorders = false;
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UsePadding = false;
|
||||
this.xrTableCell9.Text = "Zwischensumme [ItemDescription]:";
|
||||
this.xrTableCell9.Weight = 2.3494227482722359D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal")});
|
||||
this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell10.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
xrSummary1.FormatString = "{0:c}";
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell10.Summary = xrSummary1;
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell10.Weight = 0.65057725172776437D;
|
||||
//
|
||||
// xrTableRow7
|
||||
//
|
||||
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3});
|
||||
this.xrTableRow7.Name = "xrTableRow7";
|
||||
this.xrTableRow7.Weight = 0.21428571428571425D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.Weight = 3D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
@@ -771,7 +986,7 @@ namespace BeWoNordeifel.Neu
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable4});
|
||||
this.GroupFooter1.Font = new System.Drawing.Font("Verdana", 10F);
|
||||
this.GroupFooter1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F);
|
||||
this.GroupFooter1.HeightF = 128F;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
this.GroupFooter1.StylePriority.UseFont = false;
|
||||
@@ -973,7 +1188,7 @@ namespace BeWoNordeifel.Neu
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell58.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Claim", "{0:c}")});
|
||||
this.xrTableCell58.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.xrTableCell58.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell58.Name = "xrTableCell58";
|
||||
this.xrTableCell58.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell58.StylePriority.UseBorderColor = false;
|
||||
@@ -983,214 +1198,16 @@ namespace BeWoNordeifel.Neu
|
||||
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell58.Weight = 0.21685899000901443D;
|
||||
//
|
||||
// GroupHeader2
|
||||
// xrLabel2
|
||||
//
|
||||
this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
|
||||
new DevExpress.XtraReports.UI.GroupField("RateFactor", DevExpress.XtraReports.UI.XRColumnSortOrder.Descending)});
|
||||
this.GroupHeader2.HeightF = 0F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
//
|
||||
// Zwischensumme
|
||||
//
|
||||
this.Zwischensumme.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable6});
|
||||
this.Zwischensumme.HeightF = 26F;
|
||||
this.Zwischensumme.Name = "Zwischensumme";
|
||||
this.Zwischensumme.Visible = false;
|
||||
//
|
||||
// xrTable6
|
||||
//
|
||||
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable6.Name = "xrTable6";
|
||||
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow12,
|
||||
this.xrTableRow7});
|
||||
this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 26F);
|
||||
this.xrTable6.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow12
|
||||
//
|
||||
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell10});
|
||||
this.xrTableRow12.Name = "xrTableRow12";
|
||||
this.xrTableRow12.Weight = 0.40476190476190466D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell9.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell9.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell9.StylePriority.UseBorders = false;
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UsePadding = false;
|
||||
this.xrTableCell9.Text = "Zwischensumme [ItemDescription]:";
|
||||
this.xrTableCell9.Weight = 2.3494227482722359D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal")});
|
||||
this.xrTableCell10.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell10.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell10.StylePriority.UseBorders = false;
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.StylePriority.UsePadding = false;
|
||||
this.xrTableCell10.StylePriority.UseTextAlignment = false;
|
||||
xrSummary1.FormatString = "{0:c}";
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.xrTableCell10.Summary = xrSummary1;
|
||||
this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell10.Weight = 0.65057725172776437D;
|
||||
//
|
||||
// xrTableRow7
|
||||
//
|
||||
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3});
|
||||
this.xrTableRow7.Name = "xrTableRow7";
|
||||
this.xrTableRow7.Weight = 0.21428571428571425D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.BorderColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorderColor = false;
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.Weight = 3D;
|
||||
//
|
||||
// xrTable3
|
||||
//
|
||||
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 31.37495F);
|
||||
this.xrTable3.Name = "xrTable3";
|
||||
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow20,
|
||||
this.xrTableRow13,
|
||||
this.xrTableRow14,
|
||||
this.xrTableRow21,
|
||||
this.xrTableRow22,
|
||||
this.xrTableRow23,
|
||||
this.xrTableRow24});
|
||||
this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 94F);
|
||||
this.xrTable3.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableRow20
|
||||
//
|
||||
this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell16});
|
||||
this.xrTableRow20.Name = "xrTableRow20";
|
||||
this.xrTableRow20.Weight = 0.38095238095238093D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")});
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell16.StylePriority.UsePadding = false;
|
||||
this.xrTableCell16.Text = "xrTableCell1";
|
||||
this.xrTableCell16.Weight = 3D;
|
||||
//
|
||||
// xrTableRow13
|
||||
//
|
||||
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell12});
|
||||
this.xrTableRow13.Name = "xrTableRow13";
|
||||
this.xrTableRow13.Weight = 0.23809523809523808D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell12.StylePriority.UsePadding = false;
|
||||
this.xrTableCell12.Weight = 3D;
|
||||
//
|
||||
// xrTableRow14
|
||||
//
|
||||
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell14});
|
||||
this.xrTableRow14.Name = "xrTableRow14";
|
||||
this.xrTableRow14.Weight = 0.38095238095238088D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FehlkontakteString")});
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell14.StylePriority.UsePadding = false;
|
||||
this.xrTableCell14.Weight = 3D;
|
||||
//
|
||||
// xrTableRow21
|
||||
//
|
||||
this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell18});
|
||||
this.xrTableRow21.Name = "xrTableRow21";
|
||||
this.xrTableRow21.Weight = 0.23809523809523808D;
|
||||
//
|
||||
// xrTableCell18
|
||||
//
|
||||
this.xrTableCell18.Name = "xrTableCell18";
|
||||
this.xrTableCell18.Weight = 3D;
|
||||
//
|
||||
// xrTableRow22
|
||||
//
|
||||
this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell29});
|
||||
this.xrTableRow22.Name = "xrTableRow22";
|
||||
this.xrTableRow22.Weight = 0.38095238095238088D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AbsenceTimes")});
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell29.StylePriority.UsePadding = false;
|
||||
this.xrTableCell29.Text = "xrTableCell4";
|
||||
this.xrTableCell29.Weight = 3D;
|
||||
//
|
||||
// xrTableRow23
|
||||
//
|
||||
this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell30});
|
||||
this.xrTableRow23.Name = "xrTableRow23";
|
||||
this.xrTableRow23.Weight = 0.23809523809523803D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.Weight = 3D;
|
||||
//
|
||||
// xrTableRow24
|
||||
//
|
||||
this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell31});
|
||||
this.xrTableRow24.Name = "xrTableRow24";
|
||||
this.xrTableRow24.Weight = 0.38095238095238088D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FinalSentence")});
|
||||
this.xrTableCell31.Name = "xrTableCell31";
|
||||
this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableCell31.StylePriority.UsePadding = false;
|
||||
this.xrTableCell31.Text = "xrTableCell8";
|
||||
this.xrTableCell31.Weight = 3D;
|
||||
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(426.3802F, 82.22221F);
|
||||
this.xrLabel2.Name = "xrLabel2";
|
||||
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel2.SizeF = new System.Drawing.SizeF(223.62F, 20F);
|
||||
this.xrLabel2.StylePriority.UseFont = false;
|
||||
this.xrLabel2.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel2.Text = "GP-Nummer: 2000087058";
|
||||
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
@@ -1207,18 +1224,18 @@ namespace BeWoNordeifel.Neu
|
||||
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
|
||||
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
|
||||
this.ruleRateFactorNull});
|
||||
this.Margins = new System.Drawing.Printing.Margins(75, 61, 40, 80);
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 61F, 40F, 80F);
|
||||
this.PageHeight = 1169;
|
||||
this.PageWidth = 827;
|
||||
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
|
||||
this.Version = "17.1";
|
||||
this.Version = "23.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -1327,5 +1344,6 @@ namespace BeWoNordeifel.Neu
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow24;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,11 @@ namespace BeWoNordeifel.Neu
|
||||
if (String.IsNullOrEmpty(pRO.Notice))
|
||||
{
|
||||
lblNotice.Visible = false;
|
||||
}
|
||||
|
||||
if (pRO.Claim < 0)
|
||||
{
|
||||
pRO.FinalSentence = "";
|
||||
}
|
||||
|
||||
decimal rateFactor = 1;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -56,6 +56,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CustomMitarbeiterstundenkontoBerechnung.cs" />
|
||||
<Compile Include="CustomMitarbeiterstundenkontoBerechnungMonate.cs" />
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="EmployeeDataReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -81,6 +82,12 @@
|
||||
<Compile Include="Mitarbeiterstundenkonto.designer.cs">
|
||||
<DependentUpon>Mitarbeiterstundenkonto.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MitarbeiterstundenkontoJahr.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MitarbeiterstundenkontoJahr.designer.cs">
|
||||
<DependentUpon>MitarbeiterstundenkontoJahr.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="LeistungsnachweisFamilienhilfe.cs">
|
||||
<SubType>Component</SubType>
|
||||
@@ -110,6 +117,10 @@
|
||||
<DependentUpon>Mitarbeiterstundenkonto.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MitarbeiterstundenkontoJahr.resx">
|
||||
<DependentUpon>MitarbeiterstundenkontoJahr.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="LeistungsnachweisFamilienhilfe.resx">
|
||||
<DependentUpon>LeistungsnachweisFamilienhilfe.cs</DependentUpon>
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using BeWo.Report;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report.ReportObjects;
|
||||
|
||||
|
||||
namespace BeWoPyramide
|
||||
{
|
||||
public class CustomMitarbeiterstundenkontoBerechnungMonate : MitarbeiterstundenkontoBerechnungMonate
|
||||
{
|
||||
|
||||
public override MitarbeiterstundenkontoBerechnung CreateMitarbeiterstundenkontoBerechnung()
|
||||
{
|
||||
return new CustomMitarbeiterstundenkontoBerechnung();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
784
ReportImp/BeWoPyramide/EmployeeDataReport.Designer.cs
generated
784
ReportImp/BeWoPyramide/EmployeeDataReport.Designer.cs
generated
@@ -33,6 +33,17 @@ namespace BeWoPyramide
|
||||
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.tableClients = 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.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel43 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel36 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.tableUeberstunden = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -49,17 +60,24 @@ namespace BeWoPyramide
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.tableClients = 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.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel43 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel51 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.tableVertraege = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrLabel37 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblFachkraft = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel49 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -135,50 +153,150 @@ namespace BeWoPyramide
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail3 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrLabel51 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.tableVertraege = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableUeberstunden)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableClients)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableUeberstunden)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableVertraege)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableAbwesenheiten)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableVertraege)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.tableClients,
|
||||
this.xrTable2,
|
||||
this.xrLabel43});
|
||||
this.tableUeberstunden,
|
||||
this.xrLabel36});
|
||||
this.Detail.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.Detail.HeightF = 110.4167F;
|
||||
this.Detail.HeightF = 82.87506F;
|
||||
this.Detail.Name = "Detail";
|
||||
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
||||
this.Detail.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBand;
|
||||
this.Detail.StylePriority.UseFont = false;
|
||||
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// tableClients
|
||||
//
|
||||
this.tableClients.LocationFloat = new DevExpress.Utils.PointFloat(0F, 65.91657F);
|
||||
this.tableClients.Name = "tableClients";
|
||||
this.tableClients.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.tableClients.SizeF = new System.Drawing.SizeF(677F, 18F);
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell3});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1.0588235294117647D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.Weight = 0.29906542056074764D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.StylePriority.UsePadding = false;
|
||||
this.xrTableCell2.Weight = 0.22333086911020245D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.Weight = 0.47760371032904991D;
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 47.91654F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(677F, 18F);
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1.0588235294117647D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell4.StylePriority.UseBorders = false;
|
||||
this.xrTableCell4.StylePriority.UseFont = false;
|
||||
this.xrTableCell4.StylePriority.UsePadding = false;
|
||||
this.xrTableCell4.Text = "Klient(in)";
|
||||
this.xrTableCell4.Weight = 0.29906542056074764D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell5.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.Text = "Rolle";
|
||||
this.xrTableCell5.Weight = 0.22333063143436038D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell6.StylePriority.UseBorders = false;
|
||||
this.xrTableCell6.StylePriority.UseFont = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.Text = "Notiz";
|
||||
this.xrTableCell6.Weight = 0.477603948004892D;
|
||||
//
|
||||
// xrLabel43
|
||||
//
|
||||
this.xrLabel43.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel43.LocationFloat = new DevExpress.Utils.PointFloat(0F, 22.9166F);
|
||||
this.xrLabel43.Multiline = true;
|
||||
this.xrLabel43.Name = "xrLabel43";
|
||||
this.xrLabel43.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel43.SizeF = new System.Drawing.SizeF(192F, 25F);
|
||||
this.xrLabel43.StylePriority.UseFont = false;
|
||||
this.xrLabel43.Text = "Zugeordnete Klienten:";
|
||||
//
|
||||
// xrLabel36
|
||||
//
|
||||
this.xrLabel36.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel36.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel36.LocationFloat = new DevExpress.Utils.PointFloat(0F, 21.87506F);
|
||||
this.xrLabel36.Multiline = true;
|
||||
this.xrLabel36.Name = "xrLabel36";
|
||||
this.xrLabel36.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
@@ -188,7 +306,7 @@ namespace BeWoPyramide
|
||||
//
|
||||
// tableUeberstunden
|
||||
//
|
||||
this.tableUeberstunden.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
|
||||
this.tableUeberstunden.LocationFloat = new DevExpress.Utils.PointFloat(0F, 46.87506F);
|
||||
this.tableUeberstunden.Name = "tableUeberstunden";
|
||||
this.tableUeberstunden.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow4,
|
||||
@@ -408,124 +526,248 @@ namespace BeWoPyramide
|
||||
this.ReportHeader.HeightF = 624.125F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// tableClients
|
||||
// xrLabel51
|
||||
//
|
||||
this.tableClients.LocationFloat = new DevExpress.Utils.PointFloat(0F, 63.8333F);
|
||||
this.tableClients.Name = "tableClients";
|
||||
this.tableClients.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.tableClients.SizeF = new System.Drawing.SizeF(677F, 18F);
|
||||
this.xrLabel51.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel51.LocationFloat = new DevExpress.Utils.PointFloat(0F, 527.1249F);
|
||||
this.xrLabel51.Multiline = true;
|
||||
this.xrLabel51.Name = "xrLabel51";
|
||||
this.xrLabel51.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel51.SizeF = new System.Drawing.SizeF(192F, 25F);
|
||||
this.xrLabel51.StylePriority.UseFont = false;
|
||||
this.xrLabel51.Text = "Alle Verträge";
|
||||
//
|
||||
// xrTableRow1
|
||||
// tableVertraege
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell3});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1.0588235294117647D;
|
||||
this.tableVertraege.LocationFloat = new DevExpress.Utils.PointFloat(0.0001907349F, 552.1249F);
|
||||
this.tableVertraege.Name = "tableVertraege";
|
||||
this.tableVertraege.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow7,
|
||||
this.xrTableRow8});
|
||||
this.tableVertraege.SizeF = new System.Drawing.SizeF(625.7172F, 54.00006F);
|
||||
//
|
||||
// xrTableCell1
|
||||
// xrTableRow7
|
||||
//
|
||||
this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell1.StylePriority.UseBorders = false;
|
||||
this.xrTableCell1.StylePriority.UseFont = false;
|
||||
this.xrTableCell1.StylePriority.UsePadding = false;
|
||||
this.xrTableCell1.Weight = 0.29906542056074764D;
|
||||
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell23,
|
||||
this.xrTableCell24,
|
||||
this.xrTableCell25,
|
||||
this.xrTableCell29,
|
||||
this.xrTableCell30,
|
||||
this.xrTableCell31,
|
||||
this.xrTableCell32});
|
||||
this.xrTableRow7.Name = "xrTableRow7";
|
||||
this.xrTableRow7.Weight = 2.1176506491268379D;
|
||||
//
|
||||
// xrTableCell2
|
||||
// xrTableCell23
|
||||
//
|
||||
this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell2.StylePriority.UseBorders = false;
|
||||
this.xrTableCell2.StylePriority.UseFont = false;
|
||||
this.xrTableCell2.StylePriority.UsePadding = false;
|
||||
this.xrTableCell2.Weight = 0.22333086911020245D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 9F);
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseBorders = false;
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.Weight = 0.47760371032904991D;
|
||||
this.xrTableCell23.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell23.StylePriority.UseBorders = false;
|
||||
this.xrTableCell23.StylePriority.UseFont = false;
|
||||
this.xrTableCell23.StylePriority.UsePadding = false;
|
||||
this.xrTableCell23.Text = "Vetragsart";
|
||||
this.xrTableCell23.Weight = 0.29906542056074764D;
|
||||
//
|
||||
// xrLabel43
|
||||
// xrTableCell24
|
||||
//
|
||||
this.xrLabel43.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel43.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.83333F);
|
||||
this.xrLabel43.Multiline = true;
|
||||
this.xrLabel43.Name = "xrLabel43";
|
||||
this.xrLabel43.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel43.SizeF = new System.Drawing.SizeF(192F, 25F);
|
||||
this.xrLabel43.StylePriority.UseFont = false;
|
||||
this.xrLabel43.Text = "Zugeordnete Klienten:";
|
||||
//
|
||||
// xrTable2
|
||||
//
|
||||
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45.83327F);
|
||||
this.xrTable2.Name = "xrTable2";
|
||||
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow2});
|
||||
this.xrTable2.SizeF = new System.Drawing.SizeF(677F, 18F);
|
||||
//
|
||||
// xrTableRow2
|
||||
//
|
||||
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell6});
|
||||
this.xrTableRow2.Name = "xrTableRow2";
|
||||
this.xrTableRow2.Weight = 1.0588235294117647D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
this.xrTableCell24.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell4.StylePriority.UseBorders = false;
|
||||
this.xrTableCell4.StylePriority.UseFont = false;
|
||||
this.xrTableCell4.StylePriority.UsePadding = false;
|
||||
this.xrTableCell4.Text = "Klient(in)";
|
||||
this.xrTableCell4.Weight = 0.29906542056074764D;
|
||||
this.xrTableCell24.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell24.Multiline = true;
|
||||
this.xrTableCell24.Name = "xrTableCell24";
|
||||
this.xrTableCell24.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell24.StylePriority.UseBorders = false;
|
||||
this.xrTableCell24.StylePriority.UseFont = false;
|
||||
this.xrTableCell24.StylePriority.UsePadding = false;
|
||||
this.xrTableCell24.Text = "beschäftigt\r\nals";
|
||||
this.xrTableCell24.Weight = 0.3032998614258603D;
|
||||
//
|
||||
// xrTableCell5
|
||||
// xrTableCell25
|
||||
//
|
||||
this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell5.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell5.StylePriority.UseBorders = false;
|
||||
this.xrTableCell5.StylePriority.UseFont = false;
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.Text = "Rolle";
|
||||
this.xrTableCell5.Weight = 0.22333063143436038D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
this.xrTableCell25.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell6.StylePriority.UseBorders = false;
|
||||
this.xrTableCell6.StylePriority.UseFont = false;
|
||||
this.xrTableCell6.StylePriority.UsePadding = false;
|
||||
this.xrTableCell6.Text = "Notiz";
|
||||
this.xrTableCell6.Weight = 0.477603948004892D;
|
||||
this.xrTableCell25.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell25.Name = "xrTableCell25";
|
||||
this.xrTableCell25.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell25.StylePriority.UseBorders = false;
|
||||
this.xrTableCell25.StylePriority.UseFont = false;
|
||||
this.xrTableCell25.StylePriority.UsePadding = false;
|
||||
this.xrTableCell25.Text = "von/bis";
|
||||
this.xrTableCell25.Weight = 0.39763471801339206D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell29.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell29.Multiline = true;
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell29.StylePriority.UseBorders = false;
|
||||
this.xrTableCell29.StylePriority.UseFont = false;
|
||||
this.xrTableCell29.StylePriority.UsePadding = false;
|
||||
this.xrTableCell29.Text = "FLS/Woche";
|
||||
this.xrTableCell29.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell30.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell30.Multiline = true;
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell30.StylePriority.UseBorders = false;
|
||||
this.xrTableCell30.StylePriority.UseFont = false;
|
||||
this.xrTableCell30.StylePriority.UsePadding = false;
|
||||
this.xrTableCell30.Text = "FLS/Monat";
|
||||
this.xrTableCell30.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
this.xrTableCell31.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell31.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell31.Multiline = true;
|
||||
this.xrTableCell31.Name = "xrTableCell31";
|
||||
this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell31.StylePriority.UseBorders = false;
|
||||
this.xrTableCell31.StylePriority.UseFont = false;
|
||||
this.xrTableCell31.StylePriority.UsePadding = false;
|
||||
this.xrTableCell31.Text = "Stunden/\r\nWoche";
|
||||
this.xrTableCell31.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell32
|
||||
//
|
||||
this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell32.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell32.Multiline = true;
|
||||
this.xrTableCell32.Name = "xrTableCell32";
|
||||
this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell32.StylePriority.UseBorders = false;
|
||||
this.xrTableCell32.StylePriority.UseFont = false;
|
||||
this.xrTableCell32.StylePriority.UsePadding = false;
|
||||
this.xrTableCell32.Text = "Stunden/\r\nMonat";
|
||||
this.xrTableCell32.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableRow8
|
||||
//
|
||||
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell26,
|
||||
this.xrTableCell27,
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell33,
|
||||
this.xrTableCell34,
|
||||
this.xrTableCell35,
|
||||
this.xrTableCell36});
|
||||
this.xrTableRow8.Name = "xrTableRow8";
|
||||
this.xrTableRow8.Weight = 1.0588235294117645D;
|
||||
//
|
||||
// xrTableCell26
|
||||
//
|
||||
this.xrTableCell26.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell26.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell26.Multiline = true;
|
||||
this.xrTableCell26.Name = "xrTableCell26";
|
||||
this.xrTableCell26.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell26.StylePriority.UseBorders = false;
|
||||
this.xrTableCell26.StylePriority.UseFont = false;
|
||||
this.xrTableCell26.StylePriority.UsePadding = false;
|
||||
this.xrTableCell26.Weight = 0.29906542056074764D;
|
||||
//
|
||||
// xrTableCell27
|
||||
//
|
||||
this.xrTableCell27.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell27.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell27.Multiline = true;
|
||||
this.xrTableCell27.Name = "xrTableCell27";
|
||||
this.xrTableCell27.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell27.StylePriority.UseBorders = false;
|
||||
this.xrTableCell27.StylePriority.UseFont = false;
|
||||
this.xrTableCell27.StylePriority.UsePadding = false;
|
||||
this.xrTableCell27.Weight = 0.3032998614258603D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell28.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell28.Multiline = true;
|
||||
this.xrTableCell28.Name = "xrTableCell28";
|
||||
this.xrTableCell28.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell28.StylePriority.UseBorders = false;
|
||||
this.xrTableCell28.StylePriority.UseFont = false;
|
||||
this.xrTableCell28.StylePriority.UsePadding = false;
|
||||
this.xrTableCell28.Weight = 0.39763471801339206D;
|
||||
//
|
||||
// xrTableCell33
|
||||
//
|
||||
this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell33.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell33.Multiline = true;
|
||||
this.xrTableCell33.Name = "xrTableCell33";
|
||||
this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell33.StylePriority.UseBorders = false;
|
||||
this.xrTableCell33.StylePriority.UseFont = false;
|
||||
this.xrTableCell33.StylePriority.UsePadding = false;
|
||||
this.xrTableCell33.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell34
|
||||
//
|
||||
this.xrTableCell34.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell34.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell34.Multiline = true;
|
||||
this.xrTableCell34.Name = "xrTableCell34";
|
||||
this.xrTableCell34.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell34.StylePriority.UseBorders = false;
|
||||
this.xrTableCell34.StylePriority.UseFont = false;
|
||||
this.xrTableCell34.StylePriority.UsePadding = false;
|
||||
this.xrTableCell34.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell35.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell35.Multiline = true;
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell35.StylePriority.UseBorders = false;
|
||||
this.xrTableCell35.StylePriority.UseFont = false;
|
||||
this.xrTableCell35.StylePriority.UsePadding = false;
|
||||
this.xrTableCell35.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell36
|
||||
//
|
||||
this.xrTableCell36.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell36.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell36.Multiline = true;
|
||||
this.xrTableCell36.Name = "xrTableCell36";
|
||||
this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell36.StylePriority.UseBorders = false;
|
||||
this.xrTableCell36.StylePriority.UseFont = false;
|
||||
this.xrTableCell36.StylePriority.UsePadding = false;
|
||||
this.xrTableCell36.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrLabel37
|
||||
//
|
||||
@@ -1269,7 +1511,7 @@ namespace BeWoPyramide
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1});
|
||||
this.DetailReport.Level = 2;
|
||||
this.DetailReport.Level = 1;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// Detail1
|
||||
@@ -1284,7 +1526,7 @@ namespace BeWoPyramide
|
||||
//
|
||||
this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail2});
|
||||
this.DetailReport1.Level = 1;
|
||||
this.DetailReport1.Level = 0;
|
||||
this.DetailReport1.Name = "DetailReport1";
|
||||
//
|
||||
// Detail2
|
||||
@@ -1292,6 +1534,7 @@ namespace BeWoPyramide
|
||||
this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.lblSummeUeberstunden,
|
||||
this.xrLabel50});
|
||||
this.Detail2.HeightF = 39.87497F;
|
||||
this.Detail2.Name = "Detail2";
|
||||
//
|
||||
// lblSummeUeberstunden
|
||||
@@ -1330,259 +1573,18 @@ namespace BeWoPyramide
|
||||
//
|
||||
this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail3});
|
||||
this.DetailReport2.Level = 0;
|
||||
this.DetailReport2.Level = 2;
|
||||
this.DetailReport2.Name = "DetailReport2";
|
||||
//
|
||||
// Detail3
|
||||
//
|
||||
this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.tableUeberstunden,
|
||||
this.xrLabel36});
|
||||
this.Detail3.HeightF = 61F;
|
||||
this.tableClients,
|
||||
this.xrTable2,
|
||||
this.xrLabel43});
|
||||
this.Detail3.HeightF = 83.91657F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
//
|
||||
// xrLabel51
|
||||
//
|
||||
this.xrLabel51.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel51.LocationFloat = new DevExpress.Utils.PointFloat(0F, 527.1249F);
|
||||
this.xrLabel51.Multiline = true;
|
||||
this.xrLabel51.Name = "xrLabel51";
|
||||
this.xrLabel51.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrLabel51.SizeF = new System.Drawing.SizeF(192F, 25F);
|
||||
this.xrLabel51.StylePriority.UseFont = false;
|
||||
this.xrLabel51.Text = "Alle Verträge";
|
||||
//
|
||||
// tableVertraege
|
||||
//
|
||||
this.tableVertraege.LocationFloat = new DevExpress.Utils.PointFloat(0.0001907349F, 552.1249F);
|
||||
this.tableVertraege.Name = "tableVertraege";
|
||||
this.tableVertraege.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow7,
|
||||
this.xrTableRow8});
|
||||
this.tableVertraege.SizeF = new System.Drawing.SizeF(625.7172F, 54.00006F);
|
||||
//
|
||||
// xrTableRow7
|
||||
//
|
||||
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell23,
|
||||
this.xrTableCell24,
|
||||
this.xrTableCell25,
|
||||
this.xrTableCell29,
|
||||
this.xrTableCell30,
|
||||
this.xrTableCell31,
|
||||
this.xrTableCell32});
|
||||
this.xrTableRow7.Name = "xrTableRow7";
|
||||
this.xrTableRow7.Weight = 2.1176506491268379D;
|
||||
//
|
||||
// xrTableCell23
|
||||
//
|
||||
this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell23.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell23.StylePriority.UseBorders = false;
|
||||
this.xrTableCell23.StylePriority.UseFont = false;
|
||||
this.xrTableCell23.StylePriority.UsePadding = false;
|
||||
this.xrTableCell23.Text = "Vetragsart";
|
||||
this.xrTableCell23.Weight = 0.29906542056074764D;
|
||||
//
|
||||
// xrTableCell24
|
||||
//
|
||||
this.xrTableCell24.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell24.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell24.Multiline = true;
|
||||
this.xrTableCell24.Name = "xrTableCell24";
|
||||
this.xrTableCell24.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell24.StylePriority.UseBorders = false;
|
||||
this.xrTableCell24.StylePriority.UseFont = false;
|
||||
this.xrTableCell24.StylePriority.UsePadding = false;
|
||||
this.xrTableCell24.Text = "beschäftigt\r\nals";
|
||||
this.xrTableCell24.Weight = 0.3032998614258603D;
|
||||
//
|
||||
// xrTableCell25
|
||||
//
|
||||
this.xrTableCell25.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell25.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell25.Name = "xrTableCell25";
|
||||
this.xrTableCell25.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell25.StylePriority.UseBorders = false;
|
||||
this.xrTableCell25.StylePriority.UseFont = false;
|
||||
this.xrTableCell25.StylePriority.UsePadding = false;
|
||||
this.xrTableCell25.Text = "von/bis";
|
||||
this.xrTableCell25.Weight = 0.39763471801339206D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell29.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell29.Multiline = true;
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell29.StylePriority.UseBorders = false;
|
||||
this.xrTableCell29.StylePriority.UseFont = false;
|
||||
this.xrTableCell29.StylePriority.UsePadding = false;
|
||||
this.xrTableCell29.Text = "FLS/Woche";
|
||||
this.xrTableCell29.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell30.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell30.Multiline = true;
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell30.StylePriority.UseBorders = false;
|
||||
this.xrTableCell30.StylePriority.UseFont = false;
|
||||
this.xrTableCell30.StylePriority.UsePadding = false;
|
||||
this.xrTableCell30.Text = "FLS/Monat";
|
||||
this.xrTableCell30.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell31
|
||||
//
|
||||
this.xrTableCell31.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell31.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell31.Multiline = true;
|
||||
this.xrTableCell31.Name = "xrTableCell31";
|
||||
this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell31.StylePriority.UseBorders = false;
|
||||
this.xrTableCell31.StylePriority.UseFont = false;
|
||||
this.xrTableCell31.StylePriority.UsePadding = false;
|
||||
this.xrTableCell31.Text = "Stunden/\r\nWoche";
|
||||
this.xrTableCell31.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell32
|
||||
//
|
||||
this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell32.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell32.Multiline = true;
|
||||
this.xrTableCell32.Name = "xrTableCell32";
|
||||
this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell32.StylePriority.UseBorders = false;
|
||||
this.xrTableCell32.StylePriority.UseFont = false;
|
||||
this.xrTableCell32.StylePriority.UsePadding = false;
|
||||
this.xrTableCell32.Text = "Stunden/\r\nMonat";
|
||||
this.xrTableCell32.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableRow8
|
||||
//
|
||||
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell26,
|
||||
this.xrTableCell27,
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell33,
|
||||
this.xrTableCell34,
|
||||
this.xrTableCell35,
|
||||
this.xrTableCell36});
|
||||
this.xrTableRow8.Name = "xrTableRow8";
|
||||
this.xrTableRow8.Weight = 1.0588235294117645D;
|
||||
//
|
||||
// xrTableCell26
|
||||
//
|
||||
this.xrTableCell26.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell26.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell26.Multiline = true;
|
||||
this.xrTableCell26.Name = "xrTableCell26";
|
||||
this.xrTableCell26.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell26.StylePriority.UseBorders = false;
|
||||
this.xrTableCell26.StylePriority.UseFont = false;
|
||||
this.xrTableCell26.StylePriority.UsePadding = false;
|
||||
this.xrTableCell26.Weight = 0.29906542056074764D;
|
||||
//
|
||||
// xrTableCell27
|
||||
//
|
||||
this.xrTableCell27.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell27.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell27.Multiline = true;
|
||||
this.xrTableCell27.Name = "xrTableCell27";
|
||||
this.xrTableCell27.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell27.StylePriority.UseBorders = false;
|
||||
this.xrTableCell27.StylePriority.UseFont = false;
|
||||
this.xrTableCell27.StylePriority.UsePadding = false;
|
||||
this.xrTableCell27.Weight = 0.3032998614258603D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell28.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell28.Multiline = true;
|
||||
this.xrTableCell28.Name = "xrTableCell28";
|
||||
this.xrTableCell28.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell28.StylePriority.UseBorders = false;
|
||||
this.xrTableCell28.StylePriority.UseFont = false;
|
||||
this.xrTableCell28.StylePriority.UsePadding = false;
|
||||
this.xrTableCell28.Weight = 0.39763471801339206D;
|
||||
//
|
||||
// xrTableCell33
|
||||
//
|
||||
this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell33.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell33.Multiline = true;
|
||||
this.xrTableCell33.Name = "xrTableCell33";
|
||||
this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell33.StylePriority.UseBorders = false;
|
||||
this.xrTableCell33.StylePriority.UseFont = false;
|
||||
this.xrTableCell33.StylePriority.UsePadding = false;
|
||||
this.xrTableCell33.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell34
|
||||
//
|
||||
this.xrTableCell34.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell34.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell34.Multiline = true;
|
||||
this.xrTableCell34.Name = "xrTableCell34";
|
||||
this.xrTableCell34.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell34.StylePriority.UseBorders = false;
|
||||
this.xrTableCell34.StylePriority.UseFont = false;
|
||||
this.xrTableCell34.StylePriority.UsePadding = false;
|
||||
this.xrTableCell34.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell35.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell35.Multiline = true;
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell35.StylePriority.UseBorders = false;
|
||||
this.xrTableCell35.StylePriority.UseFont = false;
|
||||
this.xrTableCell35.StylePriority.UsePadding = false;
|
||||
this.xrTableCell35.Weight = 0.24076866310261974D;
|
||||
//
|
||||
// xrTableCell36
|
||||
//
|
||||
this.xrTableCell36.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableCell36.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableCell36.Multiline = true;
|
||||
this.xrTableCell36.Name = "xrTableCell36";
|
||||
this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableCell36.StylePriority.UseBorders = false;
|
||||
this.xrTableCell36.StylePriority.UseFont = false;
|
||||
this.xrTableCell36.StylePriority.UsePadding = false;
|
||||
this.xrTableCell36.Weight = 0.24076866310261974D;
|
||||
this.Detail3.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBand;
|
||||
//
|
||||
// Personalstammblatt
|
||||
//
|
||||
@@ -1605,12 +1607,12 @@ namespace BeWoPyramide
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableUeberstunden)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableClients)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableUeberstunden)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableVertraege)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableAbwesenheiten)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tableVertraege)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace BeWoPyramide
|
||||
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
@@ -63,6 +64,7 @@ namespace BeWoPyramide
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
@@ -79,6 +81,7 @@ namespace BeWoPyramide
|
||||
this.cellRelationGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
@@ -93,9 +96,6 @@ namespace BeWoPyramide
|
||||
this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
@@ -192,7 +192,7 @@ namespace BeWoPyramide
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.Custom2")});
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.TextFormatString = "{0:#.00}";
|
||||
this.xrTableCell6.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell6.Weight = 0.057103356841924392D;
|
||||
//
|
||||
// xrTableCell28
|
||||
@@ -259,6 +259,15 @@ namespace BeWoPyramide
|
||||
this.xrTableCell24.Text = "xrTableCell24";
|
||||
this.xrTableCell24.Weight = 0.058367555940761408D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.UeberstundenAusbezahlt")});
|
||||
this.xrTableCell29.Multiline = true;
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell29.Weight = 0.066930918233512909D;
|
||||
//
|
||||
// xrTableCell26
|
||||
//
|
||||
this.xrTableCell26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
@@ -407,6 +416,14 @@ namespace BeWoPyramide
|
||||
this.xrTableCell14.Text = "Überstd. Vormonat";
|
||||
this.xrTableCell14.Weight = 0.058367501515282229D;
|
||||
//
|
||||
// xrTableCell18
|
||||
//
|
||||
this.xrTableCell18.Multiline = true;
|
||||
this.xrTableCell18.Name = "xrTableCell18";
|
||||
this.xrTableCell18.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell18.Text = "Anpassung\r\nÜberstunden";
|
||||
this.xrTableCell18.Weight = 0.066930729284354923D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
@@ -543,6 +560,12 @@ namespace BeWoPyramide
|
||||
this.xrTableCell48.Name = "xrTableCell48";
|
||||
this.xrTableCell48.Weight = 0.058326004762154021D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.Multiline = true;
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.Weight = 0.066883106305290319D;
|
||||
//
|
||||
// xrTableCell51
|
||||
//
|
||||
this.xrTableCell51.Name = "xrTableCell51";
|
||||
@@ -657,29 +680,6 @@ namespace BeWoPyramide
|
||||
this.bottomMarginBand1.HeightF = 30F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// xrTableCell18
|
||||
//
|
||||
this.xrTableCell18.Multiline = true;
|
||||
this.xrTableCell18.Name = "xrTableCell18";
|
||||
this.xrTableCell18.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell18.Text = "Anpassung\r\nÜberstunden";
|
||||
this.xrTableCell18.Weight = 0.066930729284354923D;
|
||||
//
|
||||
// xrTableCell29
|
||||
//
|
||||
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.UeberstundenAusbezahlt")});
|
||||
this.xrTableCell29.Multiline = true;
|
||||
this.xrTableCell29.Name = "xrTableCell29";
|
||||
this.xrTableCell29.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell29.Weight = 0.066930918233512909D;
|
||||
//
|
||||
// xrTableCell30
|
||||
//
|
||||
this.xrTableCell30.Multiline = true;
|
||||
this.xrTableCell30.Name = "xrTableCell30";
|
||||
this.xrTableCell30.Weight = 0.066883106305290319D;
|
||||
//
|
||||
// Mitarbeiterstundenkonto
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
|
||||
38
ReportImp/BeWoPyramide/MitarbeiterstundenkontoJahr.cs
Normal file
38
ReportImp/BeWoPyramide/MitarbeiterstundenkontoJahr.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.Plugins;
|
||||
using BS.Shared.Core;
|
||||
|
||||
|
||||
namespace BeWo.Report.DefaultReports
|
||||
{
|
||||
[IDSpecificClass(Identifier = "MitarbeiterstundenkontoJahr")]
|
||||
public partial class MitarbeiterstundenkontoJahr : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<MitarbeiterstundenkontoMonateRO>
|
||||
{
|
||||
|
||||
|
||||
public MitarbeiterstundenkontoJahr()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(MitarbeiterstundenkontoMonateRO pRO)
|
||||
{
|
||||
var msb = PluginLoader.FindClass<MitarbeiterstundenkontoBerechnungMonate>();
|
||||
//var msb = new MitarbeiterstundenkontoBerechnungMonate();
|
||||
msb.CreateReport(pRO);
|
||||
|
||||
foreach (var info in pRO.EmployeeInfoList)
|
||||
{
|
||||
foreach (var emp in info.EmployeeDetails)
|
||||
{
|
||||
emp.EmployeeDetail.Custom1 = emp.EmployeeDetail.TageUrlaub.HasValue ? emp.EmployeeDetail.TageUrlaub.Value * emp.EmployeeDetail.SollProTag : 0;
|
||||
emp.EmployeeDetail.Custom2 = emp.EmployeeDetail.TageKrankheit.HasValue ? emp.EmployeeDetail.TageKrankheit.Value * emp.EmployeeDetail.SollProTag : 0;
|
||||
}
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
789
ReportImp/BeWoPyramide/MitarbeiterstundenkontoJahr.designer.cs
generated
Normal file
789
ReportImp/BeWoPyramide/MitarbeiterstundenkontoJahr.designer.cs
generated
Normal file
@@ -0,0 +1,789 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace BeWo.Report.DefaultReports
|
||||
{
|
||||
partial class MitarbeiterstundenkontoJahr
|
||||
{
|
||||
/// <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.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableDetail = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowDetail = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableHeader = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowHeader = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellSollGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellFLSSollGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellFLSIstGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellFLSPlusMinusGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellGesamtGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.cellRelationGesamt = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
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.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail2 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail3 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.GroupHeader3 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.fieldRelationGesamt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
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;
|
||||
//
|
||||
// xrTableDetail
|
||||
//
|
||||
this.xrTableDetail.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableDetail.Font = new DevExpress.Drawing.DXFont("Arial", 8F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTableDetail.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableDetail.Name = "xrTableDetail";
|
||||
this.xrTableDetail.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableDetail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowDetail});
|
||||
this.xrTableDetail.SizeF = new System.Drawing.SizeF(1050F, 25F);
|
||||
this.xrTableDetail.StylePriority.UseBorders = false;
|
||||
this.xrTableDetail.StylePriority.UseFont = false;
|
||||
this.xrTableDetail.StylePriority.UsePadding = false;
|
||||
this.xrTableDetail.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableDetail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrTableRowDetail
|
||||
//
|
||||
this.xrTableRowDetail.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell19,
|
||||
this.xrTableCell20,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell28,
|
||||
this.xrTableCell16,
|
||||
this.xrTableCell27,
|
||||
this.xrTableCell22,
|
||||
this.xrTableCell23,
|
||||
this.xrTableCell21,
|
||||
this.xrTableCell25,
|
||||
this.xrTableCell24,
|
||||
this.xrTableCell26});
|
||||
this.xrTableRowDetail.Name = "xrTableRowDetail";
|
||||
this.xrTableRowDetail.Weight = 1D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.Monat", "{0:MMMM}")});
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.StylePriority.UsePadding = false;
|
||||
this.xrTableCell3.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell3.Weight = 0.15329125338142471D;
|
||||
//
|
||||
// xrTableCell19
|
||||
//
|
||||
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.StundenSollMax", "{0:0.00}")});
|
||||
this.xrTableCell19.Name = "xrTableCell19";
|
||||
this.xrTableCell19.Text = "xrTableCell19";
|
||||
this.xrTableCell19.Weight = 0.078033130807420831D;
|
||||
//
|
||||
// xrTableCell20
|
||||
//
|
||||
this.xrTableCell20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.Custom1")});
|
||||
this.xrTableCell20.Name = "xrTableCell20";
|
||||
this.xrTableCell20.Text = "xrTableCell20";
|
||||
this.xrTableCell20.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell20.Weight = 0.056259401451557924D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.Custom2")});
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.TextFormatString = "{0:0.00}";
|
||||
this.xrTableCell6.Weight = 0.053311892274987865D;
|
||||
//
|
||||
// xrTableCell28
|
||||
//
|
||||
this.xrTableCell28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.StundenSollOhneUrlaubKrankheit", "{0:0.00}")});
|
||||
this.xrTableCell28.Name = "xrTableCell28";
|
||||
this.xrTableCell28.Text = "xrTableCell28";
|
||||
this.xrTableCell28.Weight = 0.11300783678500034D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.FlsSoll", "{0:0.00}")});
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.Text = "xrTableCell16";
|
||||
this.xrTableCell16.Weight = 0.063119927862939587D;
|
||||
//
|
||||
// xrTableCell27
|
||||
//
|
||||
this.xrTableCell27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.FlsIst", "{0:0.00}")});
|
||||
this.xrTableCell27.Name = "xrTableCell27";
|
||||
this.xrTableCell27.Text = "xrTableCell27";
|
||||
this.xrTableCell27.Weight = 0.063119927862939615D;
|
||||
//
|
||||
// xrTableCell22
|
||||
//
|
||||
this.xrTableCell22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.FlsDiff", "{0:0.00}")});
|
||||
this.xrTableCell22.Name = "xrTableCell22";
|
||||
this.xrTableCell22.Text = "xrTableCell22";
|
||||
this.xrTableCell22.Weight = 0.063119927862939587D;
|
||||
//
|
||||
// xrTableCell23
|
||||
//
|
||||
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.StundenGesamtIst", "{0:0.00}")});
|
||||
this.xrTableCell23.Name = "xrTableCell23";
|
||||
this.xrTableCell23.Text = "xrTableCell23";
|
||||
this.xrTableCell23.Weight = 0.063119927862939559D;
|
||||
//
|
||||
// xrTableCell21
|
||||
//
|
||||
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.RelationFlsZuMittelbar", "{0:0.00}")});
|
||||
this.xrTableCell21.Name = "xrTableCell21";
|
||||
this.xrTableCell21.Text = "xrTableCell21";
|
||||
this.xrTableCell21.Weight = 0.063119927862939615D;
|
||||
//
|
||||
// xrTableCell25
|
||||
//
|
||||
this.xrTableCell25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.Ueberstunden", "{0:0.00}")});
|
||||
this.xrTableCell25.Name = "xrTableCell25";
|
||||
this.xrTableCell25.Text = "xrTableCell25";
|
||||
this.xrTableCell25.Weight = 0.063119927862939587D;
|
||||
//
|
||||
// xrTableCell24
|
||||
//
|
||||
this.xrTableCell24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.LaufendeGesamtsumme", "{0:0.00}")});
|
||||
this.xrTableCell24.Name = "xrTableCell24";
|
||||
this.xrTableCell24.Text = "xrTableCell24";
|
||||
this.xrTableCell24.Weight = 0.0631199278629396D;
|
||||
//
|
||||
// xrTableCell26
|
||||
//
|
||||
this.xrTableCell26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.UeberstundenGesamt", "{0:0.00}")});
|
||||
this.xrTableCell26.Name = "xrTableCell26";
|
||||
this.xrTableCell26.Text = "xrTableCell26";
|
||||
this.xrTableCell26.Weight = 0.063119927862939573D;
|
||||
//
|
||||
// xrTableHeader
|
||||
//
|
||||
this.xrTableHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableHeader.Font = new DevExpress.Drawing.DXFont("Arial", 8F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableHeader.Name = "xrTableHeader";
|
||||
this.xrTableHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTableHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowHeader});
|
||||
this.xrTableHeader.SizeF = new System.Drawing.SizeF(1050F, 70F);
|
||||
this.xrTableHeader.StylePriority.UseBorders = false;
|
||||
this.xrTableHeader.StylePriority.UseFont = false;
|
||||
this.xrTableHeader.StylePriority.UsePadding = false;
|
||||
this.xrTableHeader.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrTableRowHeader
|
||||
//
|
||||
this.xrTableRowHeader.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell8,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell7,
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell15});
|
||||
this.xrTableRowHeader.Name = "xrTableRowHeader";
|
||||
this.xrTableRowHeader.Weight = 2.8D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell5.StylePriority.UsePadding = false;
|
||||
this.xrTableCell5.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell5.Text = "Monat";
|
||||
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell5.Weight = 0.15329125016467182D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Text = "Reguläre SOLL Stunden";
|
||||
this.xrTableCell4.Weight = 0.078204499895813476D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Text = "Urlaub";
|
||||
this.xrTableCell2.Weight = 0.056301048827194375D;
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Multiline = true;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "Krankheit";
|
||||
this.xrTableCell1.Weight = 0.053351356398370242D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.Multiline = true;
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.Text = "Tatsächliche SOLL Stunden";
|
||||
this.xrTableCell9.Weight = 0.11346560396083569D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.Text = "FLS Stunden SOLL";
|
||||
this.xrTableCell8.Weight = 0.063119927721024038D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell10.Text = "FLS IST lfd. Monat";
|
||||
this.xrTableCell10.Weight = 0.063119927721024D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Text = "FLS Plus/Minus lfd. Monat";
|
||||
this.xrTableCell7.Weight = 0.06311992757910842D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell11.Text = "Gesamt-\r\nstunden lfd. Monat";
|
||||
this.xrTableCell11.Weight = 0.063119927721024011D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.Text = "Relation FLS IST zu Mittelbare IST (in %)";
|
||||
this.xrTableCell12.Weight = 0.063119929511863376D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.Text = "Überstd. neu";
|
||||
this.xrTableCell13.Weight = 0.063119928687401447D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.Multiline = true;
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseBackColor = false;
|
||||
this.xrTableCell14.Text = "Überstd.\r\ndieses Jahr";
|
||||
this.xrTableCell14.Weight = 0.063119928275170531D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Multiline = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.Text = "Überstd. Gesamt";
|
||||
this.xrTableCell15.Weight = 0.0631199213956443D;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 8F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(1050F, 25F);
|
||||
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.MiddleCenter;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell35,
|
||||
this.xrTableCell37,
|
||||
this.xrTableCell39,
|
||||
this.cellSollGesamt,
|
||||
this.cellFLSSollGesamt,
|
||||
this.cellFLSIstGesamt,
|
||||
this.cellFLSPlusMinusGesamt,
|
||||
this.cellGesamtGesamt,
|
||||
this.cellRelationGesamt,
|
||||
this.xrTableCell47,
|
||||
this.xrTableCell48,
|
||||
this.xrTableCell51});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTableCell35
|
||||
//
|
||||
this.xrTableCell35.Name = "xrTableCell35";
|
||||
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F);
|
||||
this.xrTableCell35.StylePriority.UseFont = false;
|
||||
this.xrTableCell35.StylePriority.UsePadding = false;
|
||||
this.xrTableCell35.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell35.Text = "Gesamt";
|
||||
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
||||
this.xrTableCell35.Weight = 0.15329126714047708D;
|
||||
//
|
||||
// xrTableCell37
|
||||
//
|
||||
this.xrTableCell37.Name = "xrTableCell37";
|
||||
this.xrTableCell37.Weight = 0.075122705980718837D;
|
||||
//
|
||||
// xrTableCell39
|
||||
//
|
||||
this.xrTableCell39.Name = "xrTableCell39";
|
||||
this.xrTableCell39.Weight = 0.10819268463107248D;
|
||||
//
|
||||
// cellSollGesamt
|
||||
//
|
||||
this.cellSollGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.StundenSollOhneUrlaubKrankheit")});
|
||||
this.cellSollGesamt.Name = "cellSollGesamt";
|
||||
xrSummary1.FormatString = "{0:0.00}";
|
||||
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.cellSollGesamt.Summary = xrSummary1;
|
||||
this.cellSollGesamt.Weight = 0.11158605219546043D;
|
||||
//
|
||||
// cellFLSSollGesamt
|
||||
//
|
||||
this.cellFLSSollGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.FlsSoll")});
|
||||
this.cellFLSSollGesamt.Name = "cellFLSSollGesamt";
|
||||
xrSummary2.FormatString = "{0:0.00}";
|
||||
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.cellFLSSollGesamt.Summary = xrSummary2;
|
||||
this.cellFLSSollGesamt.Weight = 0.062325755360967093D;
|
||||
//
|
||||
// cellFLSIstGesamt
|
||||
//
|
||||
this.cellFLSIstGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.FlsIst")});
|
||||
this.cellFLSIstGesamt.Name = "cellFLSIstGesamt";
|
||||
xrSummary3.FormatString = "{0:0.00}";
|
||||
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.cellFLSIstGesamt.Summary = xrSummary3;
|
||||
this.cellFLSIstGesamt.Weight = 0.062325755360967114D;
|
||||
//
|
||||
// cellFLSPlusMinusGesamt
|
||||
//
|
||||
this.cellFLSPlusMinusGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.FlsDiff")});
|
||||
this.cellFLSPlusMinusGesamt.Name = "cellFLSPlusMinusGesamt";
|
||||
xrSummary4.FormatString = "{0:0.00}";
|
||||
xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.cellFLSPlusMinusGesamt.Summary = xrSummary4;
|
||||
this.cellFLSPlusMinusGesamt.Weight = 0.062325755360967086D;
|
||||
//
|
||||
// cellGesamtGesamt
|
||||
//
|
||||
this.cellGesamtGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.EmployeeDetail.StundenGesamtIst")});
|
||||
this.cellGesamtGesamt.Name = "cellGesamtGesamt";
|
||||
xrSummary5.FormatString = "{0:0.00}";
|
||||
xrSummary5.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
|
||||
this.cellGesamtGesamt.Summary = xrSummary5;
|
||||
this.cellGesamtGesamt.Weight = 0.062510291771162074D;
|
||||
//
|
||||
// cellRelationGesamt
|
||||
//
|
||||
this.cellRelationGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeInfoList.EmployeeDetails.fieldRelationGesamt", "{0:0.00}")});
|
||||
this.cellRelationGesamt.Name = "cellRelationGesamt";
|
||||
this.cellRelationGesamt.Text = "cellRelationGesamt";
|
||||
this.cellRelationGesamt.Weight = 0.062279579981261282D;
|
||||
//
|
||||
// xrTableCell47
|
||||
//
|
||||
this.xrTableCell47.Name = "xrTableCell47";
|
||||
this.xrTableCell47.Weight = 0.062187394330477909D;
|
||||
//
|
||||
// xrTableCell48
|
||||
//
|
||||
this.xrTableCell48.Name = "xrTableCell48";
|
||||
this.xrTableCell48.Weight = 0.062325700324757677D;
|
||||
//
|
||||
// xrTableCell51
|
||||
//
|
||||
this.xrTableCell51.Name = "xrTableCell51";
|
||||
this.xrTableCell51.Weight = 0.062325975505804765D;
|
||||
//
|
||||
// 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(864.9999F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(139.9999F, 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(260.0001F, 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.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";
|
||||
//
|
||||
// DetailReport1
|
||||
//
|
||||
this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail2,
|
||||
this.DetailReport2});
|
||||
this.DetailReport1.DataMember = "EmployeeInfoList";
|
||||
this.DetailReport1.DataSource = this.bindingSource1;
|
||||
this.DetailReport1.Level = 0;
|
||||
this.DetailReport1.Name = "DetailReport1";
|
||||
//
|
||||
// Detail2
|
||||
//
|
||||
this.Detail2.HeightF = 0F;
|
||||
this.Detail2.Name = "Detail2";
|
||||
this.Detail2.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBandExceptFirstEntry;
|
||||
//
|
||||
// DetailReport2
|
||||
//
|
||||
this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail3,
|
||||
this.GroupHeader2,
|
||||
this.GroupHeader3,
|
||||
this.GroupFooter2});
|
||||
this.DetailReport2.DataMember = "EmployeeInfoList.EmployeeDetails";
|
||||
this.DetailReport2.DataSource = this.bindingSource1;
|
||||
this.DetailReport2.Level = 0;
|
||||
this.DetailReport2.Name = "DetailReport2";
|
||||
//
|
||||
// Detail3
|
||||
//
|
||||
this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableDetail});
|
||||
this.Detail3.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
||||
this.Detail3.HeightF = 25F;
|
||||
this.Detail3.Name = "Detail3";
|
||||
this.Detail3.StylePriority.UseFont = false;
|
||||
//
|
||||
// GroupHeader2
|
||||
//
|
||||
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableHeader});
|
||||
this.GroupHeader2.HeightF = 70F;
|
||||
this.GroupHeader2.Name = "GroupHeader2";
|
||||
//
|
||||
// GroupHeader3
|
||||
//
|
||||
this.GroupHeader3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1});
|
||||
this.GroupHeader3.HeightF = 35F;
|
||||
this.GroupHeader3.Level = 1;
|
||||
this.GroupHeader3.Name = "GroupHeader3";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(1005F, 25F);
|
||||
this.xrLabel1.StyleName = "Title";
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Stundenkonto [EmployeeInfoList.LastName], [EmployeeInfoList.FirstName] [ReportSta" +
|
||||
"rtDate!yyyy]";
|
||||
//
|
||||
// GroupFooter2
|
||||
//
|
||||
this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.GroupFooter2.HeightF = 25F;
|
||||
this.GroupFooter2.Name = "GroupFooter2";
|
||||
//
|
||||
// fieldRelationGesamt
|
||||
//
|
||||
this.fieldRelationGesamt.DataMember = "EmployeeInfoList.EmployeeDetails";
|
||||
this.fieldRelationGesamt.Expression = "(Sum([EmployeeDetail.FlsIst]) / Sum([EmployeeDetail.StundenGesamtIst])) * 100";
|
||||
this.fieldRelationGesamt.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
|
||||
this.fieldRelationGesamt.Name = "fieldRelationGesamt";
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.MitarbeiterstundenkontoMonateRO);
|
||||
//
|
||||
// MitarbeiterstundenkontoJahr
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1,
|
||||
this.DetailReport1});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldFLS,
|
||||
this.fieldRelationGesamt});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.DisplayName = "Mitarbeiterstundenkonto";
|
||||
this.Landscape = true;
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 44F, 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.xrTableDetail)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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.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.XRTable xrTableHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRowHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableDetail;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRowDetail;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell28;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell27;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell21;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell35;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell37;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell39;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellSollGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellFLSSollGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellFLSIstGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellFLSPlusMinusGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellGesamtGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell cellRelationGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell47;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport1;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail2;
|
||||
private DevExpress.XtraReports.UI.DetailReportBand DetailReport2;
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail3;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader3;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter2;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldRelationGesamt;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
}
|
||||
}
|
||||
120
ReportImp/BeWoPyramide/MitarbeiterstundenkontoJahr.resx
Normal file
120
ReportImp/BeWoPyramide/MitarbeiterstundenkontoJahr.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>
|
||||
@@ -58,6 +58,12 @@
|
||||
<Compile Include="CustomReportCreator.cs" />
|
||||
<Compile Include="Export\CustomDataExporter.cs" />
|
||||
<Compile Include="Export\DiamantExporter.cs" />
|
||||
<Compile Include="Export\QueryListReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Export\QueryListReport.Designer.cs">
|
||||
<DependentUpon>QueryListReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="InvoiceCustomerReport.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -102,6 +108,10 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Export\QueryListReport.resx">
|
||||
<DependentUpon>QueryListReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="InvoiceCustomerReport.resx">
|
||||
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -8,16 +8,16 @@ using Utils = BS.Shared.Core.Utils;
|
||||
|
||||
namespace CaritasverbandOstvest.Export
|
||||
{
|
||||
public class SkmDataExporter : DataExporter
|
||||
public class CustomDataExporter : DataExporter
|
||||
{
|
||||
public override string CreateExportString(string pFileID, string[] pHeaderCaption, string[][] pContent)
|
||||
{
|
||||
if (pHeaderCaption != null && pHeaderCaption.Length > 0 && pHeaderCaption[0].Contains("Diamant"))
|
||||
{
|
||||
return DiamantExporter.CreateExportString(pHeaderCaption, pContent);
|
||||
}
|
||||
return base.CreateExportString(pFileID, pHeaderCaption, pContent);
|
||||
}
|
||||
//public override string CreateExportString(string pFileID, string[] pHeaderCaption, string[][] pContent)
|
||||
//{
|
||||
// //if (pHeaderCaption != null && pHeaderCaption.Length > 0 && pHeaderCaption[0].Contains("Diamant"))
|
||||
// //{
|
||||
// // return DiamantExporter.CreateExportString(pHeaderCaption, pContent);
|
||||
// //}
|
||||
// //return base.CreateExportString(pFileID, pHeaderCaption, pContent);
|
||||
//}
|
||||
|
||||
public override QueryDC CreateQuery(QueryDC query)
|
||||
{
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Service.Plugins;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
@@ -40,24 +42,26 @@ namespace CaritasverbandOstvest.Export
|
||||
}
|
||||
}
|
||||
}
|
||||
var dtRg = ExecuteQuery(GetMonatlicheAbrechnungSql(), dt);
|
||||
var dtEr = ExecuteQuery(GetMonatlicheErloeseLWLSql(), dt);
|
||||
|
||||
query.FileName = String.Format("005F{0:yyyyMM}.er2", dt);
|
||||
query.QueryResult = GetAbrechnungenString(dt, customerOid);
|
||||
query.Attachments = GetAbrechnungsBeleg(table);
|
||||
query.QueryResult = GetAbrechnungenString(dt, dtRg, dtEr);
|
||||
query.Attachments = GetAbrechnungsBeleg(dt, dtRg, dtEr);
|
||||
}
|
||||
return query;
|
||||
}
|
||||
|
||||
public static string CreateExportString(string[] pHeaderCaption, string[][] pContent)
|
||||
{
|
||||
if (pHeaderCaption != null && pHeaderCaption.Length > 1 && pHeaderCaption[0].Contains("Diamant"))
|
||||
{
|
||||
DateTime dt = DateTime.Now;
|
||||
DateTime.TryParse(pHeaderCaption[1], out dt);
|
||||
return GetAbrechnungenString(dt, null);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
//public static string CreateExportString(string[] pHeaderCaption, string[][] pContent)
|
||||
//{
|
||||
// if (pHeaderCaption != null && pHeaderCaption.Length > 1 && pHeaderCaption[0].Contains("Diamant"))
|
||||
// {
|
||||
// DateTime dt = DateTime.Now;
|
||||
// DateTime.TryParse(pHeaderCaption[1], out dt);
|
||||
// return GetAbrechnungenString(dt, null);
|
||||
// }
|
||||
// return null;
|
||||
//}
|
||||
|
||||
public static String GetDebitorenString(DateTime date)
|
||||
{
|
||||
@@ -97,32 +101,20 @@ namespace CaritasverbandOstvest.Export
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetAbrechnungsBeleg(DateTime date)
|
||||
{
|
||||
String sql;
|
||||
sql = GetMonatlicheAbrechnungSql();
|
||||
var dt = ExecuteQuery(sql, date);
|
||||
|
||||
sql = GetMonatlicheErloeseLWLSql();
|
||||
var dtLWL = ExecuteQuery(sql, date);
|
||||
|
||||
//return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetAbrechnungenString(DateTime date, long? customerOid)
|
||||
public static String GetAbrechnungenString(DateTime date, DataTable dtRg, DataTable dtEr)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String sql;
|
||||
sql = GetMonatlicheAbrechnungSql();
|
||||
var dt = ExecuteQuery(sql, date);
|
||||
var s = GetMonatlicheAbrechnungString(date, customerOid, dt);
|
||||
//sql = GetMonatlicheAbrechnungSql();
|
||||
//var dt = ExecuteQuery(sql, date);
|
||||
var s = GetMonatlicheAbrechnungString(date, dtRg);
|
||||
if (!String.IsNullOrWhiteSpace(s))
|
||||
{
|
||||
sb.Append(s);
|
||||
}
|
||||
sql = GetMonatlicheErloeseLWLSql();
|
||||
dt = ExecuteQuery(sql, date);
|
||||
s = GetMonatlicheAbrechnungString(date, customerOid, dt);
|
||||
//sql = GetMonatlicheErloeseLWLSql();
|
||||
//dt = ExecuteQuery(sql, date);
|
||||
s = GetMonatlicheAbrechnungString(date, dtEr);
|
||||
if (!String.IsNullOrWhiteSpace(s))
|
||||
{
|
||||
sb.Append(s);
|
||||
@@ -133,7 +125,7 @@ namespace CaritasverbandOstvest.Export
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static String GetMonatlicheAbrechnungString(DateTime date, long? customerOid, DataTable dt)
|
||||
public static String GetMonatlicheAbrechnungString(DateTime date, DataTable dt)
|
||||
{
|
||||
|
||||
// Export enthält Rechnungsangaben Zeilen (Zeile F und hier auch Zeile G) und Kostenstellen/Rechnungspositionsangaben (Zeile K) in drei Zeilen
|
||||
@@ -210,7 +202,7 @@ namespace CaritasverbandOstvest.Export
|
||||
String sql = @"
|
||||
|
||||
SELECT
|
||||
CONCAT(qry.Oid, sum(qry.Betrag)) AS OID,
|
||||
qry.Oid AS OID,
|
||||
'F',
|
||||
'0',
|
||||
'00305',
|
||||
@@ -388,5 +380,67 @@ ORDER BY ib.invoicenumber
|
||||
|
||||
return DAOFactory.AdoDAO.ExecuteQuery(newsql).Tables[0];
|
||||
}
|
||||
|
||||
private static List<FileAttachmentDC> GetAbrechnungsBeleg(DateTime dt, DataTable dtRg, DataTable dtEr)
|
||||
{
|
||||
try
|
||||
{
|
||||
List<FileAttachmentDC> liste = new List<FileAttachmentDC>();
|
||||
var pdf = new FileAttachmentDC();
|
||||
var queryReport = new CaritasverbandOstvest.Export.Bericht();
|
||||
DataTable table = new DataTable();
|
||||
string[] spalten = new string[] { "Debitor", "Verwendung", "Empfänger", "Nummer", "Datum", "Betrag"};
|
||||
|
||||
for (int i = 0; i < spalten.Length; i++)
|
||||
table.Columns.Add(spalten[i], typeof(string));
|
||||
|
||||
for (int i = 0; i < dtRg.Rows.Count; i++)
|
||||
{
|
||||
DataRow row = table.NewRow();
|
||||
DataRow invoice = dtRg.Rows[i];
|
||||
row[0] = invoice[11];
|
||||
row[1] = invoice[16];
|
||||
row[2] = invoice[37];
|
||||
row[3] = invoice[10];
|
||||
var datum = DateTime.ParseExact(invoice[7].ToString(), "ddMMyyyy", CultureInfo.InvariantCulture, DateTimeStyles.AssumeLocal);
|
||||
row[4] = string.Format("{0:dd.MM.yyyy}", datum);
|
||||
row[5] = string.Format("{0:0.00}", invoice[15]);
|
||||
table.Rows.Add(row);
|
||||
}
|
||||
for (int i = 0; i < dtEr.Rows.Count; i++)
|
||||
{
|
||||
DataRow row = table.NewRow();
|
||||
DataRow invoice = dtEr.Rows[i];
|
||||
row[0] = invoice[11];
|
||||
row[1] = invoice[16];
|
||||
row[2] = invoice[37];
|
||||
row[3] = invoice[10];
|
||||
var datum = DateTime.ParseExact(invoice[7].ToString(), "ddMMyyyy", CultureInfo.InvariantCulture, DateTimeStyles.AssumeLocal);
|
||||
row[4] = string.Format("{0:dd.MM.yyyy}", datum);
|
||||
row[5] = string.Format("{0:0.00}", invoice[15]);
|
||||
table.Rows.Add(row);
|
||||
}
|
||||
|
||||
var queryReportObject = QueryRO.Create(new Query() { Title = "Export" }, table);
|
||||
queryReportObject.Name = String.Format("Diamant Export {0:MMMM yyyy}", dt);
|
||||
queryReport.SetReportDataSource(queryReportObject);
|
||||
queryReport.CreateDocument();
|
||||
|
||||
pdf.FileName = String.Format("DiamantExportÜbersicht {0:MM.yyyy}.pdf", dt);
|
||||
using (var ms = new MemoryStream())
|
||||
{
|
||||
queryReport.ExportToPdf(ms);
|
||||
pdf.BinaryData = ms.ToArray();
|
||||
}
|
||||
liste.Add(pdf);
|
||||
|
||||
return liste;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// continue - auch wenn gar nichts stimmt
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
544
ReportImp/CaritasverbandOstvest/Export/QueryListReport.Designer.cs
generated
Normal file
544
ReportImp/CaritasverbandOstvest/Export/QueryListReport.Designer.cs
generated
Normal file
@@ -0,0 +1,544 @@
|
||||
using BeWo.Report.ReportObjects;
|
||||
namespace CaritasverbandOstvest.Export
|
||||
{
|
||||
partial class Bericht
|
||||
{
|
||||
/// <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.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTableDetail = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowDetail = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTableHeader = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRowHeader = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
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.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblSumme = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
//
|
||||
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.xrTableDetail});
|
||||
this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
|
||||
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
|
||||
this.Detail1.HeightF = 25F;
|
||||
this.Detail1.Name = "Detail1";
|
||||
this.Detail1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrTableDetail
|
||||
//
|
||||
this.xrTableDetail.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableDetail.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableDetail.Name = "xrTableDetail";
|
||||
this.xrTableDetail.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableDetail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowDetail});
|
||||
this.xrTableDetail.SizeF = new System.Drawing.SizeF(1019F, 25F);
|
||||
this.xrTableDetail.StylePriority.UseBorders = false;
|
||||
this.xrTableDetail.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRowDetail
|
||||
//
|
||||
this.xrTableRowDetail.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell3,
|
||||
this.xrTableCell13,
|
||||
this.xrTableCell12,
|
||||
this.xrTableCell10,
|
||||
this.xrTableCell9,
|
||||
this.xrTableCell8});
|
||||
this.xrTableRowDetail.Name = "xrTableRowDetail";
|
||||
this.xrTableRowDetail.Weight = 1D;
|
||||
//
|
||||
// xrTableCell3
|
||||
//
|
||||
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field1")});
|
||||
this.xrTableCell3.Multiline = true;
|
||||
this.xrTableCell3.Name = "xrTableCell3";
|
||||
this.xrTableCell3.StylePriority.UseFont = false;
|
||||
this.xrTableCell3.Text = "xrTableCell3";
|
||||
this.xrTableCell3.Weight = 0.6371441168218881D;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail1,
|
||||
this.GroupHeader1,
|
||||
this.ReportFooter});
|
||||
this.DetailReport.DataMember = "Rows";
|
||||
this.DetailReport.DataSource = this.bindingSource1;
|
||||
this.DetailReport.Level = 0;
|
||||
this.DetailReport.Name = "DetailReport";
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTableHeader});
|
||||
this.GroupHeader1.HeightF = 25F;
|
||||
this.GroupHeader1.Name = "GroupHeader1";
|
||||
this.GroupHeader1.RepeatEveryPage = true;
|
||||
//
|
||||
// xrTableHeader
|
||||
//
|
||||
this.xrTableHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTableHeader.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold);
|
||||
this.xrTableHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTableHeader.Name = "xrTableHeader";
|
||||
this.xrTableHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTableHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRowHeader});
|
||||
this.xrTableHeader.SizeF = new System.Drawing.SizeF(1019F, 25F);
|
||||
this.xrTableHeader.StylePriority.UseBorders = false;
|
||||
this.xrTableHeader.StylePriority.UseFont = false;
|
||||
this.xrTableHeader.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRowHeader
|
||||
//
|
||||
this.xrTableRowHeader.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell5,
|
||||
this.xrTableCell1,
|
||||
this.xrTableCell4,
|
||||
this.xrTableCell6,
|
||||
this.xrTableCell2,
|
||||
this.xrTableCell7});
|
||||
this.xrTableRowHeader.Name = "xrTableRowHeader";
|
||||
this.xrTableRowHeader.Weight = 1D;
|
||||
//
|
||||
// xrTableCell5
|
||||
//
|
||||
this.xrTableCell5.Name = "xrTableCell5";
|
||||
this.xrTableCell5.Text = "Debitor";
|
||||
this.xrTableCell5.Weight = 0.54612354581793587D;
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrLabel1});
|
||||
this.ReportHeader.HeightF = 35F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
//
|
||||
// xrLabel1
|
||||
//
|
||||
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name")});
|
||||
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F);
|
||||
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrLabel1.Multiline = true;
|
||||
this.xrLabel1.Name = "xrLabel1";
|
||||
this.xrLabel1.SizeF = new System.Drawing.SizeF(1018F, 25F);
|
||||
this.xrLabel1.StyleName = "Title";
|
||||
this.xrLabel1.StylePriority.UseFont = false;
|
||||
this.xrLabel1.Text = "Buchhaltungsexport";
|
||||
//
|
||||
// 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(924.0834F, 25F);
|
||||
this.xrPageInfo2.Name = "xrPageInfo2";
|
||||
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(93.91663F, 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(924.0834F, 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.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 = 50F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// xrTableCell1
|
||||
//
|
||||
this.xrTableCell1.Multiline = true;
|
||||
this.xrTableCell1.Name = "xrTableCell1";
|
||||
this.xrTableCell1.Text = "Verwendung";
|
||||
this.xrTableCell1.Weight = 2.0672228123418717D;
|
||||
//
|
||||
// xrTableCell2
|
||||
//
|
||||
this.xrTableCell2.Multiline = true;
|
||||
this.xrTableCell2.Name = "xrTableCell2";
|
||||
this.xrTableCell2.Text = "Rechnungsdatum";
|
||||
this.xrTableCell2.Weight = 0.79759451404754966D;
|
||||
//
|
||||
// xrTableCell4
|
||||
//
|
||||
this.xrTableCell4.Multiline = true;
|
||||
this.xrTableCell4.Name = "xrTableCell4";
|
||||
this.xrTableCell4.Text = "Empfänger";
|
||||
this.xrTableCell4.Weight = 1.2453383725571561D;
|
||||
//
|
||||
// xrTableCell6
|
||||
//
|
||||
this.xrTableCell6.Multiline = true;
|
||||
this.xrTableCell6.Name = "xrTableCell6";
|
||||
this.xrTableCell6.Text = "Rechnungsnr.";
|
||||
this.xrTableCell6.Weight = 0.63812667652014088D;
|
||||
//
|
||||
// xrTableCell7
|
||||
//
|
||||
this.xrTableCell7.Multiline = true;
|
||||
this.xrTableCell7.Name = "xrTableCell7";
|
||||
this.xrTableCell7.Text = "Betrag";
|
||||
this.xrTableCell7.Weight = 0.705594078715346D;
|
||||
//
|
||||
// xrTableCell8
|
||||
//
|
||||
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field6")});
|
||||
this.xrTableCell8.Multiline = true;
|
||||
this.xrTableCell8.Name = "xrTableCell8";
|
||||
this.xrTableCell8.StylePriority.UseFont = false;
|
||||
this.xrTableCell8.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell8.Text = "xrTableCell8";
|
||||
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell8.TextFormatString = "{0} €";
|
||||
this.xrTableCell8.Weight = 0.82319265258908858D;
|
||||
//
|
||||
// xrTableCell9
|
||||
//
|
||||
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field5")});
|
||||
this.xrTableCell9.Multiline = true;
|
||||
this.xrTableCell9.Name = "xrTableCell9";
|
||||
this.xrTableCell9.StylePriority.UseFont = false;
|
||||
this.xrTableCell9.StylePriority.UseTextAlignment = false;
|
||||
this.xrTableCell9.Text = "xrTableCell9";
|
||||
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell9.Weight = 0.93052691308977087D;
|
||||
//
|
||||
// xrTableCell10
|
||||
//
|
||||
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field4")});
|
||||
this.xrTableCell10.Multiline = true;
|
||||
this.xrTableCell10.Name = "xrTableCell10";
|
||||
this.xrTableCell10.StylePriority.UseFont = false;
|
||||
this.xrTableCell10.Text = "xrTableCell10";
|
||||
this.xrTableCell10.Weight = 0.74448199361065537D;
|
||||
//
|
||||
// xrTableCell12
|
||||
//
|
||||
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field3")});
|
||||
this.xrTableCell12.Multiline = true;
|
||||
this.xrTableCell12.Name = "xrTableCell12";
|
||||
this.xrTableCell12.StylePriority.UseFont = false;
|
||||
this.xrTableCell12.Text = "xrTableCell12";
|
||||
this.xrTableCell12.Weight = 1.4528946057620062D;
|
||||
//
|
||||
// xrTableCell13
|
||||
//
|
||||
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field2")});
|
||||
this.xrTableCell13.Multiline = true;
|
||||
this.xrTableCell13.Name = "xrTableCell13";
|
||||
this.xrTableCell13.StylePriority.UseFont = false;
|
||||
this.xrTableCell13.Text = "xrTableCell13";
|
||||
this.xrTableCell13.Weight = 2.4117597181265906D;
|
||||
//
|
||||
// ReportFooter
|
||||
//
|
||||
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
this.xrTable1});
|
||||
this.ReportFooter.HeightF = 25F;
|
||||
this.ReportFooter.Name = "ReportFooter";
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrTable1.Font = new DevExpress.Drawing.DXFont("arial", 9.75F);
|
||||
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.xrTable1.Name = "xrTable1";
|
||||
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
|
||||
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
|
||||
this.xrTableRow1});
|
||||
this.xrTable1.SizeF = new System.Drawing.SizeF(1019F, 25F);
|
||||
this.xrTable1.StylePriority.UseBorders = false;
|
||||
this.xrTable1.StylePriority.UseFont = false;
|
||||
this.xrTable1.StylePriority.UsePadding = false;
|
||||
//
|
||||
// xrTableRow1
|
||||
//
|
||||
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
|
||||
this.xrTableCell11,
|
||||
this.xrTableCell14,
|
||||
this.xrTableCell15,
|
||||
this.xrTableCell16,
|
||||
this.xrTableCell17,
|
||||
this.lblSumme});
|
||||
this.xrTableRow1.Name = "xrTableRow1";
|
||||
this.xrTableRow1.Weight = 1D;
|
||||
//
|
||||
// xrTableCell11
|
||||
//
|
||||
this.xrTableCell11.Multiline = true;
|
||||
this.xrTableCell11.Name = "xrTableCell11";
|
||||
this.xrTableCell11.StylePriority.UseFont = false;
|
||||
this.xrTableCell11.Weight = 0.6371441168218881D;
|
||||
//
|
||||
// xrTableCell14
|
||||
//
|
||||
this.xrTableCell14.Multiline = true;
|
||||
this.xrTableCell14.Name = "xrTableCell14";
|
||||
this.xrTableCell14.StylePriority.UseFont = false;
|
||||
this.xrTableCell14.Weight = 2.4117597181265906D;
|
||||
//
|
||||
// xrTableCell15
|
||||
//
|
||||
this.xrTableCell15.Multiline = true;
|
||||
this.xrTableCell15.Name = "xrTableCell15";
|
||||
this.xrTableCell15.StylePriority.UseFont = false;
|
||||
this.xrTableCell15.Weight = 1.4528946057620062D;
|
||||
//
|
||||
// xrTableCell16
|
||||
//
|
||||
this.xrTableCell16.Multiline = true;
|
||||
this.xrTableCell16.Name = "xrTableCell16";
|
||||
this.xrTableCell16.StylePriority.UseFont = false;
|
||||
this.xrTableCell16.Weight = 0.74448199361065537D;
|
||||
//
|
||||
// xrTableCell17
|
||||
//
|
||||
this.xrTableCell17.Multiline = true;
|
||||
this.xrTableCell17.Name = "xrTableCell17";
|
||||
this.xrTableCell17.StylePriority.UseFont = false;
|
||||
this.xrTableCell17.Weight = 0.93052691308977087D;
|
||||
//
|
||||
// lblSumme
|
||||
//
|
||||
this.lblSumme.Multiline = true;
|
||||
this.lblSumme.Name = "lblSumme";
|
||||
this.lblSumme.StylePriority.UseFont = false;
|
||||
this.lblSumme.StylePriority.UseTextAlignment = false;
|
||||
this.lblSumme.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.lblSumme.TextFormatString = "{0} €";
|
||||
this.lblSumme.Weight = 0.82319265258908858D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.QueryRO);
|
||||
//
|
||||
// Bericht
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
this.Detail,
|
||||
this.DetailReport,
|
||||
this.ReportHeader,
|
||||
this.pageFooterBand1,
|
||||
this.topMarginBand1,
|
||||
this.bottomMarginBand1});
|
||||
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
|
||||
this.fieldFLS});
|
||||
this.DataSource = this.bindingSource1;
|
||||
this.Landscape = true;
|
||||
this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 50F, 50F);
|
||||
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.xrTableDetail)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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.XRLabel xrLabel1;
|
||||
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.XRTable xrTableHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRowHeader;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableDetail;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRowDetail;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
|
||||
private DevExpress.XtraReports.UI.CalculatedField fieldFLS;
|
||||
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
|
||||
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable1;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
|
||||
private DevExpress.XtraReports.UI.XRTableCell lblSumme;
|
||||
}
|
||||
}
|
||||
27
ReportImp/CaritasverbandOstvest/Export/QueryListReport.cs
Normal file
27
ReportImp/CaritasverbandOstvest/Export/QueryListReport.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BeWo.Report;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using System.Data;
|
||||
|
||||
namespace CaritasverbandOstvest.Export
|
||||
{
|
||||
public partial class Bericht : DevExpress.XtraReports.UI.XtraReport//, IBeWoReport<QueryRO>
|
||||
{
|
||||
public Bericht()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(QueryRO pRO)
|
||||
{
|
||||
decimal sum = 0;
|
||||
foreach (var row in pRO.Rows)
|
||||
{
|
||||
sum += Convert.ToDecimal(row.Field6.ToString());
|
||||
}
|
||||
lblSumme.Text = sum.ToString("c2");
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
}
|
||||
}
|
||||
120
ReportImp/CaritasverbandOstvest/Export/QueryListReport.resx
Normal file
120
ReportImp/CaritasverbandOstvest/Export/QueryListReport.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>
|
||||
@@ -123,6 +123,7 @@
|
||||
<Compile Include="SupportConceptReport.Designer.cs">
|
||||
<DependentUpon>SupportConceptReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Validation\ServiceRecordValidator.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Data\Data.csproj">
|
||||
|
||||
27
ReportImp/MobileEV/Validation/ServiceRecordValidator.cs
Normal file
27
ReportImp/MobileEV/Validation/ServiceRecordValidator.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Data;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.Plugins;
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
namespace MobileEV.Validation
|
||||
{
|
||||
public class CustomServiceRecordValidator : ServiceRecordValidator
|
||||
{
|
||||
public override string[] GetIgnoreCategoriesForOverlappingCheck()
|
||||
{
|
||||
return new[] { "Arbeitszeiterfassung", "Arbeitszeit" };
|
||||
}
|
||||
|
||||
public override string[] GetIgnoreServiceDescriptionsForOverlappingCheck()
|
||||
{
|
||||
return new[] { "Arbeitszeit", "Pause",};
|
||||
}
|
||||
}
|
||||
}
|
||||
147
ReportImp/OaseEV/Quittierungsbeleg.Designer.cs
generated
147
ReportImp/OaseEV/Quittierungsbeleg.Designer.cs
generated
@@ -30,7 +30,6 @@ namespace OaseEV
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Quittierungsbeleg));
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
@@ -81,6 +80,8 @@ namespace OaseEV
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -112,10 +113,6 @@ namespace OaseEV
|
||||
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.lblHatAbwesenheiten = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.lblHatGruppen = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
@@ -126,14 +123,10 @@ namespace OaseEV
|
||||
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
|
||||
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -788,10 +781,6 @@ namespace OaseEV
|
||||
this.lblUnterschriftKlient,
|
||||
this.lblUnterschriftMitarbeiter,
|
||||
this.xrTableAbwesenheiten,
|
||||
this.lblHatAbwesenheiten,
|
||||
this.lblHatGruppen,
|
||||
this.xrRichText2,
|
||||
this.xrRichText1,
|
||||
this.xrLabel15,
|
||||
this.xrLabel13,
|
||||
this.xrLabel12,
|
||||
@@ -805,6 +794,42 @@ namespace OaseEV
|
||||
this.GroupFooter1.KeepTogether = true;
|
||||
this.GroupFooter1.Name = "GroupFooter1";
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLSFehlkontakte", "{0:0.##}")});
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(415F, 40.00006F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(82.29166F, 20F);
|
||||
this.xrLabel11.StylePriority.UseBackColor = false;
|
||||
this.xrLabel11.StylePriority.UseBorders = false;
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UsePadding = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLSoFehlkontakte", "{0:0.##}")});
|
||||
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(415F, 0F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(82.29166F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseBorders = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UsePadding = false;
|
||||
this.xrLabel10.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel22
|
||||
//
|
||||
this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.Right;
|
||||
@@ -1181,58 +1206,6 @@ namespace OaseEV
|
||||
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
this.xrTableCell31.Weight = 0.075757568269402914D;
|
||||
//
|
||||
// lblHatAbwesenheiten
|
||||
//
|
||||
this.lblHatAbwesenheiten.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.lblHatAbwesenheiten.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.lblHatAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 130F);
|
||||
this.lblHatAbwesenheiten.Name = "lblHatAbwesenheiten";
|
||||
this.lblHatAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblHatAbwesenheiten.SizeF = new System.Drawing.SizeF(30F, 30F);
|
||||
this.lblHatAbwesenheiten.StylePriority.UseBackColor = false;
|
||||
this.lblHatAbwesenheiten.StylePriority.UseBorders = false;
|
||||
this.lblHatAbwesenheiten.StylePriority.UseFont = false;
|
||||
this.lblHatAbwesenheiten.StylePriority.UsePadding = false;
|
||||
this.lblHatAbwesenheiten.StylePriority.UseTextAlignment = false;
|
||||
this.lblHatAbwesenheiten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// lblHatGruppen
|
||||
//
|
||||
this.lblHatGruppen.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
| DevExpress.XtraPrinting.BorderSide.Right)
|
||||
| DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.lblHatGruppen.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.lblHatGruppen.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 80.00005F);
|
||||
this.lblHatGruppen.Name = "lblHatGruppen";
|
||||
this.lblHatGruppen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.lblHatGruppen.SizeF = new System.Drawing.SizeF(30F, 30F);
|
||||
this.lblHatGruppen.StylePriority.UseBackColor = false;
|
||||
this.lblHatGruppen.StylePriority.UseBorders = false;
|
||||
this.lblHatGruppen.StylePriority.UseFont = false;
|
||||
this.lblHatGruppen.StylePriority.UsePadding = false;
|
||||
this.lblHatGruppen.StylePriority.UseTextAlignment = false;
|
||||
this.lblHatGruppen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrRichText2
|
||||
//
|
||||
this.xrRichText2.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 130F);
|
||||
this.xrRichText2.Name = "xrRichText2";
|
||||
this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
|
||||
this.xrRichText2.SizeF = new System.Drawing.SizeF(264.972F, 68.05556F);
|
||||
this.xrRichText2.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrRichText1
|
||||
//
|
||||
this.xrRichText1.Font = new DevExpress.Drawing.DXFont("Arial", 8F);
|
||||
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 80.00005F);
|
||||
this.xrRichText1.Name = "xrRichText1";
|
||||
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
|
||||
this.xrRichText1.SizeF = new System.Drawing.SizeF(264.9721F, 50F);
|
||||
this.xrRichText1.StylePriority.UseFont = false;
|
||||
//
|
||||
// xrLabel15
|
||||
//
|
||||
this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Underline);
|
||||
@@ -1246,7 +1219,7 @@ namespace OaseEV
|
||||
this.xrLabel15.StylePriority.UseFont = false;
|
||||
this.xrLabel15.StylePriority.UsePadding = false;
|
||||
this.xrLabel15.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel15.Text = "Krankenhausaufenthalte/\r\nstat. Rehamaßnahmen:";
|
||||
this.xrLabel15.Text = "Abwesenheiten:";
|
||||
this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
||||
//
|
||||
// xrLabel13
|
||||
@@ -1375,42 +1348,6 @@ namespace OaseEV
|
||||
this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
|
||||
this.fieldKontaktArt.Name = "fieldKontaktArt";
|
||||
//
|
||||
// xrLabel10
|
||||
//
|
||||
this.xrLabel10.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLSoFehlkontakte", "{0:0.##}")});
|
||||
this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(415F, 0F);
|
||||
this.xrLabel10.Name = "xrLabel10";
|
||||
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel10.SizeF = new System.Drawing.SizeF(82.29166F, 20F);
|
||||
this.xrLabel10.StylePriority.UseBackColor = false;
|
||||
this.xrLabel10.StylePriority.UseBorders = false;
|
||||
this.xrLabel10.StylePriority.UseFont = false;
|
||||
this.xrLabel10.StylePriority.UsePadding = false;
|
||||
this.xrLabel10.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// xrLabel11
|
||||
//
|
||||
this.xrLabel11.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
|
||||
this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
|
||||
new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLSFehlkontakte", "{0:0.##}")});
|
||||
this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
|
||||
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(415F, 40.00006F);
|
||||
this.xrLabel11.Name = "xrLabel11";
|
||||
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
|
||||
this.xrLabel11.SizeF = new System.Drawing.SizeF(82.29166F, 20F);
|
||||
this.xrLabel11.StylePriority.UseBackColor = false;
|
||||
this.xrLabel11.StylePriority.UseBorders = false;
|
||||
this.xrLabel11.StylePriority.UseFont = false;
|
||||
this.xrLabel11.StylePriority.UsePadding = false;
|
||||
this.xrLabel11.StylePriority.UseTextAlignment = false;
|
||||
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
||||
//
|
||||
// Quittierungsbeleg
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -1440,8 +1377,6 @@ namespace OaseEV
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -1502,10 +1437,6 @@ namespace OaseEV
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel13;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel15;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
|
||||
private DevExpress.XtraReports.UI.XRRichText xrRichText2;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblHatAbwesenheiten;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblHatGruppen;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTableAbwesenheiten;
|
||||
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
|
||||
|
||||
@@ -66,16 +66,6 @@ namespace OaseEV
|
||||
pRO.Services = servicesBillable;
|
||||
}
|
||||
|
||||
if (String.IsNullOrWhiteSpace(pRO.AbsenceTimes))
|
||||
{
|
||||
lblHatAbwesenheiten.Text = "X";
|
||||
}
|
||||
|
||||
if (!hatGruppen)
|
||||
{
|
||||
lblHatGruppen.Text = "X";
|
||||
}
|
||||
|
||||
ErstelleAbwesenheitenTabelle(pRO);
|
||||
|
||||
bindingSource1.DataSource = pRO;
|
||||
|
||||
@@ -117,10 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="xrRichText2.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABLAHIAYQBuAGsAZQBuAGgAYQB1AHMAYQB1AGYAZQBuAHQAaABhAGwAdABlAH0AXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAHsAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAAYgBlAGsAYQBuAG4AdAAgAG8AZABlAHIAIAB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQBcAHAAYQByAFwAcABhAHIAZABcAHAAbABhAGkAbgBcAHEAbAB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAGEAYgByAGUAYwBoAG4AdQBuAGcAcwByAGUAbABlAHYAYQBuAHQAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A</value>
|
||||
</data>
|
||||
<data name="xrRichText1.SerializableRtfString" xml:space="preserve">
|
||||
<value>ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEcAcgB1AHAAcABlAG4AYQBuAGcAZQBiAG8AdABlAH0AewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA=</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -33,6 +33,8 @@ namespace BeWo.Service.DCEntityMapper
|
||||
pDataContract.IKDatenannahmestelle = pEntity.IKDatenannahmestelle;
|
||||
pDataContract.Leistungserbringergruppe = pEntity.Leistungserbringergruppe;
|
||||
|
||||
pDataContract.BusinessPartnerId = pEntity.BusinessPartnerId;
|
||||
|
||||
if (pEntity.Function != null)
|
||||
{
|
||||
pDataContract.Function = MapperFactory.ValueListEntryDC_ValueListEntry.MapToNewDC(pEntity.Function);
|
||||
@@ -108,6 +110,8 @@ namespace BeWo.Service.DCEntityMapper
|
||||
pEntity.IKDatenannahmestelle = pDataContract.IKDatenannahmestelle;
|
||||
pEntity.Leistungserbringergruppe = pDataContract.Leistungserbringergruppe;
|
||||
|
||||
pEntity.BusinessPartnerId = pDataContract.BusinessPartnerId;
|
||||
|
||||
if (pDataContract.Function == null)
|
||||
{
|
||||
pEntity.Function = null;
|
||||
|
||||
@@ -515,14 +515,10 @@ namespace BS.Shared
|
||||
Customer_DeleteNotizen = 22112,
|
||||
|
||||
Customer_GemeinnutzigeArbeit_View = 22120,
|
||||
Customer_GemeinnutzigeArbeit_Create = 22121,
|
||||
Customer_GemeinnutzigeArbeit_Edit = 22122,
|
||||
Customer_GemeinnutzigeArbeit_Delete = 22123,
|
||||
Customer_GemeinnutzigeArbeit_Manage = 22121,
|
||||
|
||||
Customer_Wohnhilfe_View = 22130,
|
||||
Customer_Wohnhilfe_Create = 22131,
|
||||
Customer_Wohnhilfe_Edit = 22132,
|
||||
Customer_Wohnhilfe_Delete = 22133,
|
||||
Customer_Wohnhilfe_Manage = 22131,
|
||||
|
||||
WohnheimView_View = 22201,
|
||||
WohnheimView_Edit = 22202,
|
||||
@@ -531,21 +527,17 @@ namespace BS.Shared
|
||||
Wohnheim_AllowArchiving = 22205,
|
||||
|
||||
WohnheimView_Wohneinheit_View = 22211,
|
||||
WohnheimView_Wohneinheit_Create = 22212,
|
||||
WohnheimView_Wohneinheit_Edit = 22213,
|
||||
WohnheimView_Wohneinheit_Delete = 22214,
|
||||
WohnheimView_Wohneinheit_Manage = 22212,
|
||||
|
||||
WohnheimView_Wohneinheit_Gallery_View = 22215,
|
||||
WohnheimView_Wohneinheit_Gallery_Edit = 22216,
|
||||
WohnheimView_Wohneinheit_Gallery_Manage = 22216,
|
||||
|
||||
Customer_ViewAbsenceTimes = 22222,
|
||||
Customer_ViewBetreuung = 22223,
|
||||
FinanzenRechnungenNachVersandBearbeiten = 22224,
|
||||
|
||||
WohnheimView_Wohneinheit_Belegung_View = 22231,
|
||||
WohnheimView_Wohneinheit_Belegung_Create = 22232,
|
||||
WohnheimView_Wohneinheit_Belegung_Edit = 22233,
|
||||
WohnheimView_Wohneinheit_Belegung_Delete = 22234,
|
||||
WohnheimView_Wohneinheit_Belegung_Manage = 22232,
|
||||
|
||||
Betreuungsschluessel_View = 23000,
|
||||
Betreuungsschluessel_Edit = 23001,
|
||||
|
||||
@@ -632,7 +632,7 @@ namespace BS.Shared.Core
|
||||
{
|
||||
var dict = new Dictionary<UserRightType, String>();
|
||||
|
||||
var action_keywords = new string[] { "ansehen", "anlegen", "bearbeiten", "löschen" };
|
||||
var action_keywords = new string[] { "ansehen", "verwalten", "anlegen", "bearbeiten", "löschen" };
|
||||
|
||||
dict.Add(UserRightType.CreateAll, Translator.Translate("Alles anlegen"));
|
||||
|
||||
@@ -660,15 +660,11 @@ namespace BS.Shared.Core
|
||||
dict.Add(UserRightType.Customer_EditNotizen, Translator.Translate("Klienten") + " Notizen bearbeiten");
|
||||
dict.Add(UserRightType.Customer_DeleteNotizen, Translator.Translate("Klienten") + " Notizen löschen");
|
||||
|
||||
dict.Add(UserRightType.Customer_GemeinnutzigeArbeit_View, $"{Translator.Translate("Klienten")} {Translator.Translate("Falldaten")} {action_keywords[0]}");
|
||||
dict.Add(UserRightType.Customer_GemeinnutzigeArbeit_Create, $"{Translator.Translate("Klienten")} {Translator.Translate("Falldaten")} {action_keywords[1]}");
|
||||
dict.Add(UserRightType.Customer_GemeinnutzigeArbeit_Edit, $"{Translator.Translate("Klienten")} {Translator.Translate("Falldaten")} {action_keywords[2]}");
|
||||
dict.Add(UserRightType.Customer_GemeinnutzigeArbeit_Delete, $"{Translator.Translate("Klienten")} {Translator.Translate("Falldaten")} {action_keywords[3]}");
|
||||
dict.Add(UserRightType.Customer_GemeinnutzigeArbeit_View, $"{Translator.Translate("Klienten")} {Translator.Translate("Gemeinnützige Arbeit")} {action_keywords[0]}");
|
||||
dict.Add(UserRightType.Customer_GemeinnutzigeArbeit_Manage, $"{Translator.Translate("Klienten")} {Translator.Translate("Gemeinnützige Arbeit")} {action_keywords[1]}");
|
||||
|
||||
dict.Add(UserRightType.Customer_Wohnhilfe_View, $"{Translator.Translate("Klienten")} {Translator.Translate("Wohnhilfe")} {action_keywords[0]}");
|
||||
dict.Add(UserRightType.Customer_Wohnhilfe_Create, $"{Translator.Translate("Klienten")} {Translator.Translate("Wohnhilfe")} {action_keywords[1]}");
|
||||
dict.Add(UserRightType.Customer_Wohnhilfe_Edit, $"{Translator.Translate("Klienten")} {Translator.Translate("Wohnhilfe")} {action_keywords[2]}");
|
||||
dict.Add(UserRightType.Customer_Wohnhilfe_Delete, $"{Translator.Translate("Klienten")} {Translator.Translate("Wohnhilfe")} {action_keywords[3]}");
|
||||
dict.Add(UserRightType.Customer_Wohnhilfe_Manage, $"{Translator.Translate("Klienten")} {Translator.Translate("Wohnhilfe")} {action_keywords[1]}");
|
||||
|
||||
dict.Add(UserRightType.DeleteAll, Translator.Translate("Alles löschen"));
|
||||
dict.Add(UserRightType.EmployeeView_Create, Translator.Translate("MitarbeiterSingular") + " anlegen");
|
||||
@@ -698,18 +694,14 @@ namespace BS.Shared.Core
|
||||
dict.Add(UserRightType.WohnheimView_View, Translator.Translate("Wohnprojekte ansehen"));
|
||||
dict.Add(UserRightType.Wohnheim_AllowArchiving, Translator.Translate("Wohnprojekte archivieren"));
|
||||
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_View, Translator.Translate("Wohnprojekte-> Wohneinheit ansehen"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Create, Translator.Translate("Wohnprojekte-> Wohneinheit anlegen"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Edit, Translator.Translate("Wohnprojekte-> Wohneinheit bearbeiten"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Delete, Translator.Translate("Wohnprojekte-> Wohneinheit löschen"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_View, Translator.Translate($"Wohnprojekte-> Wohneinheit {action_keywords[0]}"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Manage, Translator.Translate($"Wohnprojekte-> Wohneinheit {action_keywords[1]}"));
|
||||
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Gallery_Edit, Translator.Translate("Wohnprojekte-> Wohneinheit Grundrisse bearbeiten"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Gallery_View, Translator.Translate("Wohnprojekte-> Wohneinheit Grundrisse ansehen"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Gallery_View, Translator.Translate($"Wohnprojekte-> Wohneinheit Grundrisse {action_keywords[0]}"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Gallery_Manage, Translator.Translate($"Wohnprojekte-> Wohneinheit Grundrisse {action_keywords[1]}"));
|
||||
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Belegung_View, Translator.Translate("Wohnprojekte-> Wohneinheitbelegung ansehen"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Belegung_Create, Translator.Translate("Wohnprojekte-> Wohneinheitbelegung anlegen"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Belegung_Edit, Translator.Translate("Wohnprojekte-> Wohneinheitbelegung bearbeiten"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Belegung_Delete, Translator.Translate("Wohnprojekte-> Wohneinheitbelegung löschen"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Belegung_View, Translator.Translate($"Wohnprojekte-> Wohneinheitbelegung {action_keywords[0]}"));
|
||||
dict.Add(UserRightType.WohnheimView_Wohneinheit_Belegung_Manage, Translator.Translate($"Wohnprojekte-> Wohneinheitbelegung {action_keywords[1]}"));
|
||||
|
||||
dict.Add(UserRightType.PersonView_Create, Translator.Translate("Personen anlegen"));
|
||||
dict.Add(UserRightType.PersonView_Delete, Translator.Translate("Personen löschen"));
|
||||
|
||||
@@ -180,5 +180,8 @@ namespace BS.Shared.DataContracts
|
||||
|
||||
[DataMember]
|
||||
public string Leistungserbringergruppe { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public string BusinessPartnerId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -224,7 +224,10 @@ namespace BS.Shared.DataContracts
|
||||
|
||||
[DataMember]
|
||||
public bool HasGroupRecords { get; set; }
|
||||
|
||||
|
||||
[DataMember]
|
||||
public string BusinessPartnerId { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public List<InvoiceItemDC> InvoiceItems { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user