2016-06-27 01:45:38 +02:00
|
|
|
<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:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
|
|
|
|
xmlns:localView="clr-namespace:BeWo.View"
|
|
|
|
|
xmlns:localSearchView="clr-namespace:BeWo.View.Search"
|
|
|
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
2022-03-22 11:38:58 +01:00
|
|
|
xmlns:val="clr-namespace:BeWo.Validation" xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
2022-11-25 15:22:38 +01:00
|
|
|
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
|
|
|
|
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
2022-03-22 11:38:58 +01:00
|
|
|
Height="Auto" Width="Auto" HorizontalAlignment="Stretch"
|
2016-06-27 01:45:38 +02:00
|
|
|
VerticalAlignment="Stretch" Focusable="True" GotFocus="UserControl_GotFocus">
|
|
|
|
|
<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">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform ScaleX="1" ScaleY="1" />
|
|
|
|
|
<SkewTransform AngleX="0" AngleY="0" />
|
|
|
|
|
<RotateTransform Angle="0" />
|
|
|
|
|
<TranslateTransform X="0" Y="5" />
|
|
|
|
|
</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" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</GroupBox.Header>
|
|
|
|
|
<Grid Margin="0,3,0,0" Background="{StaticResource ObjectEditBackgroundBrush}">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<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="4,4,4,4">
|
|
|
|
|
<TabItem Header="Details" IsSelected="True">
|
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
|
|
|
<Grid x:Name="grid_details">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<GroupBox Grid.Row="0" Header="Details" Style="{StaticResource ObjectEditGroupBox}" Grid.ColumnSpan="1">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2022-03-22 11:38:58 +01:00
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2022-03-25 15:05:39 +01:00
|
|
|
<RowDefinition Height="Auto" />
|
2022-06-07 16:14:23 +02:00
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2016-06-27 01:45:38 +02:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
2022-03-25 15:05:39 +01:00
|
|
|
<ColumnDefinition Width="130" />
|
2016-06-27 01:45:38 +02:00
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="0" Grid.Row="0" Margin="3" VerticalAlignment="Center">Name</Label>
|
2019-08-08 14:47:53 +02:00
|
|
|
<Label Grid.Column="0" Grid.Row="1" Margin="3" VerticalAlignment="Center">Strasse</Label>
|
2016-06-27 01:45:38 +02:00
|
|
|
<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>
|
2022-03-22 11:38:58 +01:00
|
|
|
<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>
|
2022-03-25 15:05:39 +01:00
|
|
|
<Label Grid.Column="0" Grid.Row="8" Margin="3" VerticalAlignment="Center">Standardanzahl Zeilen</Label>
|
2022-06-07 16:14:23 +02:00
|
|
|
<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>
|
2021-12-01 14:09:56 +01:00
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
<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" />
|
2022-03-22 11:38:58 +01:00
|
|
|
<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"/>
|
2022-03-25 15:05:39 +01:00
|
|
|
<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"/>
|
2022-06-07 16:14:23 +02:00
|
|
|
<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}"/>
|
|
|
|
|
<!--<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}" />
|
2016-06-27 01:45:38 +02:00
|
|
|
</Grid>
|
2021-12-01 14:09:56 +01:00
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
</GroupBox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</TabItem>
|
2022-11-25 15:22:38 +01:00
|
|
|
<TabItem Header="{markup:Translate Klienten}">
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid>
|
2022-11-25 15:22:38 +01:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="40*"/>
|
|
|
|
|
<ColumnDefinition Width="183*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
2022-11-25 15:22:38 +01:00
|
|
|
<GroupBox Visibility="Visible" x:Name="groupbox_newWohnheimRel" Header="{markup:Translate Zugeordnete Klienten}" Style="{StaticResource ObjectEditGroupBox}" Grid.ColumnSpan="2">
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
2022-11-25 15:22:38 +01:00
|
|
|
<Button Grid.Row="0" Grid.ColumnSpan="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="25" Margin="3" Content="{markup:Translate Klient hinzufügen}" x:Name="button_addKlientRelation" Click="button_addKlientRelation_Klick" />
|
2021-12-01 14:09:56 +01:00
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
<dxg:GridControl x:Name="grid_CustomerRelation" Grid.Row="1" VerticalAlignment="Stretch" DataSource="{Binding Path=WohnheimCustomerRelations.VMList}"
|
|
|
|
|
HorizontalAlignment="Stretch">
|
|
|
|
|
<dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridColumn FieldName="Notice" Header="" FixedWidth="True" Width="24" ReadOnly="True">
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Button Content="r" FontFamily="Webdings" Click="Button_RemoveCustomerRelation_Click" Width="18" Height="18"
|
|
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
2022-11-25 15:22:38 +01:00
|
|
|
<dxg:GridColumn AllowEditing="False" FieldName="Customer" Header="{markup:Translate Klient}" Width="150" />
|
2016-06-27 01:45:38 +02:00
|
|
|
<dxg:GridColumn FieldName="Notice" Header="Bemerkung" Width="250" />
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView AutoWidth="true" ShowGroupPanel="False" ShowGroupedColumns="false" ShowTotalSummary="False"
|
|
|
|
|
NavigationStyle="Cell" RowDoubleClick="TableViewCustomer_OnRowDoubleClick" />
|
|
|
|
|
</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">
|
2022-11-25 15:22:38 +01:00
|
|
|
<GroupBox x:Name="groupbox_newKlientRel" Header="{markup:Translate Klienten zuordnen}" Style="{StaticResource ObjectEditGroupBox}">
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2022-11-25 15:22:38 +01:00
|
|
|
<Label VerticalAlignment="Center" Content="{markup:Translate Klient}" />
|
2016-06-27 01:45:38 +02:00
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<Label Content="Notiz" Grid.Row="2" Grid.Column="0" VerticalAlignment="Top" />
|
|
|
|
|
|
|
|
|
|
<TextBox Grid.Row="2" Grid.Column="1" Height="50" Margin="3" Grid.ColumnSpan="2"
|
|
|
|
|
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 Grid.Row="3" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="25"
|
|
|
|
|
Margin="3" Content="Abbrechen" x:Name="button_cancelKlientRelation"
|
|
|
|
|
Click="button_cancelKlientRelation_Click" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Border>
|
|
|
|
|
</Popup>
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
2022-11-25 15:22:38 +01:00
|
|
|
<TabItem Header="{t:Translate MitarbeiterPlural}">
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
2022-11-25 15:22:38 +01:00
|
|
|
<GroupBox Visibility="Visible" x:Name="groupbox_newMitarbeiterRel" Header="{markup:Translate Zugeordnete Mitarbeiter}" Style="{StaticResource ObjectEditGroupBox}">
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid>
|
2021-12-01 14:09:56 +01:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="26*"/>
|
|
|
|
|
<ColumnDefinition Width="29*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
2021-12-01 14:09:56 +01:00
|
|
|
<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="0" Grid.ColumnSpan="2">
|
2022-11-25 15:22:38 +01:00
|
|
|
<Button x:Name="button_addMitarbeiterRelation_Click" Height="25" Margin="3" Content="{markup:Translate Mitarbeiter hinzufügen}" Click="button_addMitarbeiterRelation_Klick" />
|
2021-12-01 14:09:56 +01:00
|
|
|
<Button x:Name="button_openTeamRelation" Height="25" Margin="3" Content="Ganzes Team hinzufügen" Click="button_openTeamRelation_Click"/>
|
|
|
|
|
</WrapPanel>
|
|
|
|
|
|
|
|
|
|
<Popup Grid.Row="0" x:Name="popup_newEmployeeRel" Width="350" StaysOpen="True" Placement="MousePoint" Grid.ColumnSpan="2" Margin="45,0">
|
2016-06-27 01:45:38 +02:00
|
|
|
<Border Background="White" Padding="3" BorderThickness="1" BorderBrush="Gray">
|
2022-11-25 15:22:38 +01:00
|
|
|
<GroupBox x:Name="groupbox_newEmployeeRel" Header="{markup:Translate Mitarbeiter zuordnen}" Style="{StaticResource ObjectEditGroupBox}">
|
2016-06-27 01:45:38 +02:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2022-11-25 15:22:38 +01:00
|
|
|
<Label VerticalAlignment="Center" Content="{t:Translate MitarbeiterSingular}" />
|
2016-06-27 01:45:38 +02:00
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<Label Content="Notiz" Grid.Row="2" Grid.Column="0" VerticalAlignment="Top" />
|
|
|
|
|
|
|
|
|
|
<TextBox Grid.Row="2" Grid.Column="1" Height="50" Margin="3" Grid.ColumnSpan="2"
|
|
|
|
|
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 Grid.Row="3" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="25"
|
|
|
|
|
Margin="3" Content="Abbrechen" x:Name="button_cancelEmployeeRelation"
|
|
|
|
|
Click="button_cancelEmployeeRelation_Click" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Border>
|
|
|
|
|
</Popup>
|
2021-12-01 14:09:56 +01:00
|
|
|
|
|
|
|
|
<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}">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
|
|
|
|
|
</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" />
|
|
|
|
|
|
|
|
|
|
<Label Content="Notiz" Grid.Row="2" Grid.Column="0" VerticalAlignment="Top" />
|
|
|
|
|
|
|
|
|
|
<TextBox Grid.Row="2" Grid.Column="1" Height="50" Margin="3" Grid.ColumnSpan="2"
|
|
|
|
|
x:Name="textbox_teamRelations_Notice" />
|
|
|
|
|
|
|
|
|
|
<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 Grid.Row="3" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="25"
|
|
|
|
|
Margin="3" Content="Abbrechen" x:Name="button_cancelTeamRelation"
|
|
|
|
|
Click="button_cancelTeamRelation_Click" />
|
|
|
|
|
</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">
|
2016-06-27 01:45:38 +02:00
|
|
|
<dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridColumn FieldName="Notice" Header="" FixedWidth="True" Width="24" ReadOnly="True">
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Button Content="r" FontFamily="Webdings" Click="button_removeEmployeeRelation_Click" Width="18" Height="18" VerticalAlignment="Center" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
2022-11-25 15:22:38 +01:00
|
|
|
<dxg:GridColumn AllowEditing="False" FieldName="Employee" Header="{markup:Translate Betreuer(in)}" Width="150" />
|
2016-06-27 01:45:38 +02:00
|
|
|
<dxg:GridColumn FieldName="Notice" Header="Bemerkung" Width="250" />
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView AutoWidth="true" ShowGroupPanel="False" ShowGroupedColumns="false" ShowTotalSummary="False" NavigationStyle="Cell" RowDoubleClick="TableViewEmployee_OnRowDoubleClick" />
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
2024-07-15 12:01:36 +02:00
|
|
|
<TabItem Header="{t:Translate Wohneinheiten}">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<GroupBox Visibility="Visible" x:Name="groupbox_Wohneinheit" Header="{markup:Translate Wohneinheiten verwalten}" Style="{StaticResource ObjectEditGroupBox}">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="26*"/>
|
|
|
|
|
<ColumnDefinition Width="29*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem Header="{t:Translate Buchungen}">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<GroupBox Visibility="Visible" x:Name="groupbox_Buchungen" Header="{markup:Translate Buchungen verwalten}" Style="{StaticResource ObjectEditGroupBox}">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="26*"/>
|
|
|
|
|
<ColumnDefinition Width="29*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
2016-06-27 01:45:38 +02:00
|
|
|
</TabControl>
|
|
|
|
|
<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>
|
|
|
|
|
</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>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</uc:ShadowChrome>
|
|
|
|
|
<Popup Margin="10" x:Name="popup_klient" StaysOpen="False" Placement="MousePoint" Width="370" Height="250"
|
|
|
|
|
Closed="popup_Closed" Opened="popup_Opened">
|
|
|
|
|
<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">
|
|
|
|
|
<localSearchView:EmployeeSearchView x:Name="employeesearchview" />
|
|
|
|
|
</Popup>
|
2021-12-01 14:09:56 +01:00
|
|
|
<Popup Margin="10" x:Name="popup_team" StaysOpen="False" Placement="MousePoint" Width="370" Height="250"
|
|
|
|
|
Closed="popup_Closed" Opened="popup_Opened">
|
|
|
|
|
<localSearchView:TeamSearchView x:Name="teamsearchview" />
|
|
|
|
|
</Popup>
|
2016-06-27 01:45:38 +02:00
|
|
|
</Grid>
|
|
|
|
|
</localView:BeWoView>
|