2017-03-24 10:42:23 +01:00
|
|
|
<localView:BeWoView x:Class="BeWo.SchulbegleitenderDienst.NewSchulbegleitenderDienstView"
|
|
|
|
|
xmlns:localView="clr-namespace:BeWo.View"
|
|
|
|
|
xmlns:localSchConv="clr-namespace:BeWo.Scheduler.Converter"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
|
|
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
|
|
|
xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduler"
|
2017-05-15 09:11:13 +02:00
|
|
|
xmlns:dxschint="http://schemas.devexpress.com/winfx/2008/xaml/scheduler/internal"
|
2017-03-24 10:42:23 +01:00
|
|
|
xmlns:dxscht="http://schemas.devexpress.com/winfx/2008/xaml/scheduler/themekeys"
|
|
|
|
|
xmlns:view="clr-namespace:BeWo.Scheduler.View"
|
|
|
|
|
xmlns:converter="clr-namespace:BeWo.Converter"
|
|
|
|
|
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
|
|
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
|
|
|
xmlns:controls="clr-namespace:BeWo.View.Controls"
|
|
|
|
|
xmlns:controls1="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
|
|
|
|
xmlns:validation="clr-namespace:BeWo.Validation"
|
2017-03-30 06:19:17 +02:00
|
|
|
xmlns:search="clr-namespace:BeWo.View.Search"
|
2017-04-20 12:59:45 +02:00
|
|
|
xmlns:themes="http://schemas.devexpress.com/winfx/2008/xaml/grid/themekeys"
|
2017-03-24 10:42:23 +01:00
|
|
|
Height="Auto" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Focusable="True">
|
|
|
|
|
<localView:BeWoView.Resources>
|
|
|
|
|
<ResourceDictionary>
|
|
|
|
|
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
</localView:BeWoView.Resources>
|
|
|
|
|
|
|
|
|
|
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
|
|
|
|
|
<Grid x:Name="GridRoot" >
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="80" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Mal Schauen wohin mich das führt || Grid.IsSharedSizeScope="True"-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- #################################### Oberer Header Bereich ############################################### -->
|
|
|
|
|
<Grid x:Name="GridHader" Grid.ColumnSpan="3" Grid.Row="0" >
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="40" />
|
|
|
|
|
<RowDefinition Height="40" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxe:DateEdit MaskType="DateTimeAdvancingCaret" Grid.ColumnSpan="1" x:Name="Datepicker" Height="23" Grid.Row="0" Width="100" HorizontalAlignment="Left" VerticalAlignment="Top" EditValueChanged="Datepicker_OnEditValueChanged" Margin="3,3,3,3" AllowNullInput="False"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
|
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
<StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal" >
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
<Button Style="{x:Null}" Margin="3,3,3,3" Height="24" Width="24" ToolTip="Tagesansicht" Click="ButtonDayView_Click" VerticalAlignment="Top">
|
|
|
|
|
<Image Source="/BeWoPlaner;component/Ressources/Icons/Calendar1Day24.png" />
|
|
|
|
|
</Button>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
<Button Style="{x:Null}" Margin="3,3,3,3" Height="24" Width="24" ToolTip="Wochenansicht" Click="ButtonWorkWeekView_Click" VerticalAlignment="Top">
|
|
|
|
|
<Image Source="/BeWoPlaner;component/Ressources/Icons/Calendar5Day24.png" />
|
|
|
|
|
</Button>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
<Button Style="{x:Null}" Margin="3,3,3,3" Height="24" Width="24" ToolTip="Aktualisieren" Click="Aktualisieren_OnClick" VerticalAlignment="Top" >
|
|
|
|
|
<Image Source="/BeWoPlaner;component/Ressources/Icons/SymbolRefresh32.png" />
|
|
|
|
|
</Button>
|
2017-05-18 16:54:33 +02:00
|
|
|
|
2017-04-28 14:08:23 +02:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-05-17 08:28:12 +02:00
|
|
|
|
|
|
|
|
|
2017-05-22 11:14:48 +02:00
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="3" Grid.Column="0">
|
2017-05-17 08:28:12 +02:00
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
<!-- ####################################### Bereich Mitarbeiter #####################################-->
|
2017-05-18 16:54:33 +02:00
|
|
|
<!--<Button Style="{DynamicResource IconButtonStyle}" Content="Mitarbeiter Vertretung" Grid.Row="1" Grid.Column="0" Margin="3,3,3,3" x:Name="MitarbeiterVertretung_Button"/>-->
|
2017-05-22 11:14:48 +02:00
|
|
|
<Button x:Name="MitarbeiterVertretung_Button" Background="Transparent" BorderBrush="Transparent" HorizontalAlignment="Left" Margin="3,3,3,3" Click="MitarbeiterVertretung_OnClick" Content="Neue Abwesenheit für Mitarbeiter/in" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<!-- <Image x:Name="MitarbeiterImage" ToolTip="Mitarbeiter Krankmelden" Source="../Ressources/Icons/User Business Male.png" />-->
|
2017-04-07 13:44:07 +02:00
|
|
|
</Button>
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<controls:PopupNonTopmost Topmost="False" x:Name="popup_newMitarbeiterVertretung" Width="300" StaysOpen="True" Placement="MousePoint" Grid.Row="1" PlacementTarget="{Binding ElementName=MitarbeiterVertretung_Button}">
|
2017-03-24 10:42:23 +01:00
|
|
|
<Border Background="White" Padding="3" BorderThickness="1" BorderBrush="Gray">
|
2017-03-30 06:19:17 +02:00
|
|
|
<GroupBox x:Name="groupbox_newEnvironmentPerson" Header="Neuen Mitarbeiter hinzufügen" Style="{DynamicResource ObjectEditGroupBox}">
|
2017-03-24 10:42:23 +01:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
2017-06-14 09:56:48 +02:00
|
|
|
<ColumnDefinition Width="Auto" />
|
2017-03-24 10:42:23 +01:00
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2017-03-30 06:19:17 +02:00
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2017-04-07 13:44:07 +02:00
|
|
|
<RowDefinition Height="Auto" />
|
2017-06-13 13:28:44 +02:00
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2017-03-24 10:42:23 +01:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<Label Grid.Row="0" Grid.Column="0" Content="Mitarbeiter/in" />
|
2017-05-22 11:14:48 +02:00
|
|
|
<Label Grid.Row="2" Grid.Column="0" Content="Abwesenheitskategorie" />
|
|
|
|
|
<Label Grid.Row="3" Grid.Column="0" Content="Meldung vom" />
|
2017-06-14 09:56:48 +02:00
|
|
|
<Label Grid.Row="5" Grid.Column="0" Content="Startdatum" />
|
|
|
|
|
<Label Grid.Row="6" Grid.Column="0" Content="Enddatum" />
|
2017-06-13 13:28:44 +02:00
|
|
|
<Label Grid.Row="7" Grid.Column="0" Content="Uhrzeit Von" x:Name="MVLabelUhrzeitVon" />
|
|
|
|
|
<Label Grid.Row="8" Grid.Column="0" Content="Uhrzeit Bis" x:Name="MVLabelUhrzeitBis" />
|
|
|
|
|
<Label Grid.Row="9" Grid.Column="0" Content="Notiz" />
|
2017-03-24 10:42:23 +01:00
|
|
|
|
|
|
|
|
|
2017-03-31 11:04:56 +02:00
|
|
|
<controls1:PopUpEdit Cursor="Arrow"
|
2017-06-14 09:56:48 +02:00
|
|
|
IsReadOnly="True"
|
|
|
|
|
x:Name="popupedit_MitarbeiterVertretungSearch" Grid.Column="1" Grid.ColumnSpan="3" Margin="3" Height="23"
|
|
|
|
|
Grid.Row="0" DeleteButtonVisibility="Collapsed"
|
|
|
|
|
PopUpClick="Popupedit_MitarbeiterVertretungSearch_OnPopUpClick_popupedit_MitarbeiterVertretungSearch_PopUpClick" />
|
|
|
|
|
|
2017-03-31 11:04:56 +02:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<controls1:NullItemComboBox Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="3" Margin="3" Height="23" x:Name="ComboBoxMitarbeiterVertretung" />
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
|
|
|
|
|
<dxe:DateEdit x:Name="KrankMeldungMitarbeiterDatepicker" MaskType="DateTimeAdvancingCaret" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="3" Margin="3" Height="23" EditValueChanged="MVDatepickerVon_OnEditValueChanged"/>
|
2017-03-30 06:19:17 +02:00
|
|
|
|
2017-06-13 13:28:44 +02:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<CheckBox Grid.Column="1" Grid.Row="4" Unchecked="MitarbeiterVertretungsToggleButton_OnUnchecked" Checked="MitarbeiterVertretungsToggleButton_OnChecked"
|
|
|
|
|
Grid.ColumnSpan="2" HorizontalAlignment="Right" x:Name="MVCheckBox" Content="ganztägig"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dxe:DateEdit x:Name="MVDatepickerVon" MaskType="DateTimeAdvancingCaret" Grid.Column="1" Grid.Row="5" Grid.ColumnSpan="2" Margin="3" Height="23" EditValueChanged="MVDatepickerVon_OnEditValueChanged"/>
|
|
|
|
|
|
|
|
|
|
<dxe:DateEdit x:Name="MVDatepickerBis" MaskType="DateTimeAdvancingCaret" Grid.Column="1" Grid.Row="6" Grid.ColumnSpan="2" Margin="3" Height="23" EditValueChanged="MVDatepickerBis_OnEditValueChanged" />
|
2017-06-13 13:28:44 +02:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<dxe:TextEdit Grid.Column="2" Grid.Row="7" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True" x:Name="MVDatepicker_UhrzeitVon"
|
2017-06-13 13:28:44 +02:00
|
|
|
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
2017-06-14 09:56:48 +02:00
|
|
|
Height="23" Visibility="Visible"
|
2017-06-13 13:28:44 +02:00
|
|
|
Margin="3,3,3,3"/>
|
|
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<dxe:TextEdit Grid.Column="2" Grid.Row="8" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True" x:Name="MVDatepicker_UhrzeitBis"
|
2017-06-13 13:28:44 +02:00
|
|
|
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
2017-06-14 09:56:48 +02:00
|
|
|
Height="23" Visibility="Visible"
|
|
|
|
|
Margin="3,3,3,3" />
|
|
|
|
|
|
2017-03-31 11:04:56 +02:00
|
|
|
|
2017-06-13 13:28:44 +02:00
|
|
|
<TextBox Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="9" Margin="3" Height="50" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" x:Name="MitarbeiterNotice"/>
|
2017-03-31 11:04:56 +02:00
|
|
|
|
|
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<StackPanel Grid.Column="2" Grid.Row="10" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom">
|
|
|
|
|
<Button x:Name="button_addMitarbeiterVertretung" Content="Hinzufügen" Height="25"
|
|
|
|
|
FontWeight="Normal" Margin="3" Click="Button_addMitarbeiterVertretung_OnClick"/>
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<Button Height="25" Margin="3" Content="Abbrechen"
|
|
|
|
|
x:Name="button_cancelMitarbeiterVertretung" Click="Button_cancelMitarbeiterVertretung_OnClick"/>
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Border>
|
|
|
|
|
</controls:PopupNonTopmost>
|
|
|
|
|
<!-- ################################################################################################ -->
|
|
|
|
|
|
|
|
|
|
|
2017-05-17 08:28:12 +02:00
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
<!-- ##################### Klienten Vertretung Bereich ################################ -->
|
2017-05-18 16:54:33 +02:00
|
|
|
<!--<Button Style="{DynamicResource IconButtonStyle}" Content="Klienten Vertretung" Grid.Row="1" Grid.Column="1" Margin="3,3,3,3" x:Name="KlientVertretung_Button" Click="KlientVertretung_Button_OnClick"/>-->
|
2017-05-22 11:14:48 +02:00
|
|
|
<Button x:Name="KlientVertretung_Button" Background="Transparent" BorderBrush="Transparent" HorizontalAlignment="Left" Margin="3,3,3,3" Click="KlientVertretung_Button_OnClick" Content="Neue Abwesenheit für Klient/in" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<!-- <Image x:Name="KlientImage" ToolTip="Klient Krankmelden" Source="../Ressources/Icons/UserHomeMaleDisabled.png" />-->
|
2017-04-07 13:44:07 +02:00
|
|
|
</Button>
|
|
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<controls:PopupNonTopmost Topmost="False" x:Name="popup_newKlientVertretung" Width="300" StaysOpen="True" Placement="MousePoint" Grid.Row="1" PlacementTarget="{Binding ElementName=KlientVertretung_Button}">
|
2017-03-24 10:42:23 +01:00
|
|
|
<Border Background="White" Padding="3" BorderThickness="1" BorderBrush="Gray">
|
2017-03-30 06:19:17 +02:00
|
|
|
<GroupBox x:Name="groupbox_newKlientVertretung" Header="Neue Klienten hinzufügen" Style="{DynamicResource ObjectEditGroupBox}">
|
2017-03-24 10:42:23 +01:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2017-03-30 06:19:17 +02:00
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2017-04-07 13:44:07 +02:00
|
|
|
<RowDefinition Height="Auto" />
|
2017-06-13 13:28:44 +02:00
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
2017-03-24 10:42:23 +01:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
2017-05-22 11:14:48 +02:00
|
|
|
<Label Grid.Row="0" Grid.Column="0" Content="Klient/in" />
|
|
|
|
|
<Label Grid.Row="1" Grid.Column="0" Content="Abwesenheitskategorie" />
|
|
|
|
|
<Label Grid.Row="2" Grid.Column="0" Content="Meldung vom" />
|
2017-06-14 09:56:48 +02:00
|
|
|
<Label Grid.Row="4" Grid.Column="0" Content="Startdatum" />
|
|
|
|
|
<Label Grid.Row="5" Grid.Column="0" Content="Enddatum" />
|
2017-06-13 13:28:44 +02:00
|
|
|
<Label Grid.Row="6" Grid.Column="0" Content="Uhrzeit Von" x:Name="KVLabelUhrzeitVon" />
|
|
|
|
|
<Label Grid.Row="7" Grid.Column="0" Content="Uhrzeit Bis" x:Name="KVLabelUhrzeitBis"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Row="8" Grid.Column="0" Content="Notiz" />
|
2017-06-14 09:56:48 +02:00
|
|
|
|
2017-03-31 11:04:56 +02:00
|
|
|
<controls1:PopUpEdit Cursor="Arrow"
|
2017-06-14 09:56:48 +02:00
|
|
|
IsReadOnly="True"
|
|
|
|
|
x:Name="popupedit_KlientVertretungSearch" Grid.Column="1" Grid.ColumnSpan="2" Margin="3" Height="23"
|
|
|
|
|
Grid.Row="0" DeleteButtonVisibility="Collapsed"
|
2017-03-30 06:19:17 +02:00
|
|
|
PopUpClick="Popupedit_KlientVertretungSearch_OnPopUpClick_popupedit_KlientVertretungSearch_PopUpClick"/>
|
2017-03-31 11:04:56 +02:00
|
|
|
|
2017-06-02 13:35:42 +02:00
|
|
|
<controls1:NullItemComboBox Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="2" Margin="3" Height="23" x:Name="ComboBoxKlientVertretung"/>
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-04-07 13:44:07 +02:00
|
|
|
<dxe:DateEdit x:Name="KrankMeldungKlientDatepicker" MaskType="DateTimeAdvancingCaret" Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="2" Margin="3" Height="23" EditValueChanged="KVDatepickerVon_OnEditValueChanged"/>
|
2017-06-14 09:56:48 +02:00
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<CheckBox Grid.Column="1" Grid.Row="3" Content="ganztägig" Unchecked="KlientVertretungsToggleButton_OnUnchecked" Checked="KlientVertretungsToggleButton_OnChecked"
|
|
|
|
|
Grid.ColumnSpan="2" HorizontalAlignment="Right" x:Name="KVCheckBox" />
|
2017-04-07 13:44:07 +02:00
|
|
|
|
2017-06-13 13:28:44 +02:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<dxe:DateEdit x:Name="KVDatepickerVon" MaskType="DateTimeAdvancingCaret" Grid.Column="1" Grid.Row="4" Grid.ColumnSpan="2" Margin="3" Height="23" EditValueChanged="KVDatepickerVon_OnEditValueChanged"/>
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<dxe:DateEdit x:Name="KVDatepickerBis" MaskType="DateTimeAdvancingCaret" Grid.Column="1" Grid.Row="5" Grid.ColumnSpan="2" Margin="3" Height="23" EditValueChanged="KVDatepickerBis_OnEditValueChanged"/>
|
|
|
|
|
|
|
|
|
|
|
2017-06-13 13:28:44 +02:00
|
|
|
<dxe:TextEdit Grid.Column="1" Grid.Row="6" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True" x:Name="KVDatepicker_UhrzeitVon"
|
|
|
|
|
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
|
|
|
|
Height="23" Grid.ColumnSpan="2" Visibility="Visible"
|
|
|
|
|
Margin="3,3,3,3"/>
|
|
|
|
|
|
|
|
|
|
<dxe:TextEdit Grid.Column="1" Grid.Row="7" MaskType="RegEx" Mask="(0?\d|1\d|2[0-3]):[0-5]\d" ShowError="False" MaskShowPlaceHolders="True" x:Name="KVDatepicker_UhrzeitBis"
|
|
|
|
|
MaskUseAsDisplayFormat="True" InvalidValueBehavior="AllowLeaveEditor"
|
|
|
|
|
Height="23" Grid.ColumnSpan="2" Visibility="Visible"
|
|
|
|
|
Margin="3,3,3,3"/>
|
2017-06-14 09:56:48 +02:00
|
|
|
|
|
|
|
|
|
2017-06-13 13:28:44 +02:00
|
|
|
<TextBox Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="8" Margin="3" Height="50" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" x:Name="KlientNotice"/>
|
2017-03-31 11:04:56 +02:00
|
|
|
|
|
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-04-07 13:44:07 +02:00
|
|
|
|
2017-06-13 13:28:44 +02:00
|
|
|
<Button Grid.Column="1" Grid.Row="9" x:Name="button_addKlientVertretung" Content="Hinzufügen" Height="25"
|
2017-03-30 06:19:17 +02:00
|
|
|
FontWeight="Normal" Margin="3" VerticalAlignment="Bottom" HorizontalAlignment="Right" Click="Button_addKlientVertretung_OnClick" />
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-04-07 13:44:07 +02:00
|
|
|
|
2017-06-13 13:28:44 +02:00
|
|
|
<Button Grid.Row="9" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="25"
|
2017-03-30 06:19:17 +02:00
|
|
|
Margin="3" Content="Abbrechen" x:Name="button_cancelKlientVertretung" Click="Button_cancelKlientVertretung_OnClick" />
|
2017-03-24 10:42:23 +01:00
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Border>
|
|
|
|
|
</controls:PopupNonTopmost>
|
2017-05-17 08:28:12 +02:00
|
|
|
<!-- ################################################################################## -->
|
|
|
|
|
</StackPanel>
|
2017-06-02 13:35:42 +02:00
|
|
|
|
|
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
<!-- ##### jeweils links und rechts ein Pfeil button #### -->
|
2017-06-02 13:35:42 +02:00
|
|
|
|
|
|
|
|
<StackPanel Grid.ColumnSpan="3" Grid.Row="1" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" >
|
|
|
|
|
|
|
|
|
|
<Button Click="PfeilLinksDatumRunter_OnClick" Margin="3,3,3,3" Height="24" Width="24" ToolTip="Vorheriges Datum" Style="{x:Null}">
|
|
|
|
|
<Image Source="/BeWoPlaner;component/Ressources/Icons/ArrowLeft.png" />
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<Label x:Name="Datelbl" HorizontalAlignment="Center" VerticalAlignment="Bottom" Content="PlaceHolder" FontSize="16" Margin="3,3,3,3" />
|
|
|
|
|
|
|
|
|
|
<Button Click="PfeilRechtsDatumHoch_OnClick" Margin="3,3,3,3" Height="24" Width="24" ToolTip="Nächstes Datum" Style="{x:Null}" >
|
|
|
|
|
<Image Source="/BeWoPlaner;component/Ressources/Icons/ArrowRight.png" />
|
|
|
|
|
</Button>
|
2017-05-17 08:28:12 +02:00
|
|
|
|
2017-06-02 13:35:42 +02:00
|
|
|
</StackPanel>
|
2017-07-25 10:50:45 +02:00
|
|
|
|
|
|
|
|
<!--######################################################-->
|
2017-03-24 10:42:23 +01:00
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
<!-- ########################################################################################################### -->
|
2017-03-30 06:19:17 +02:00
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
|
|
|
|
|
<!-- ############################ Tagesansicht ######################################## -->
|
|
|
|
|
|
|
|
|
|
<dxg:GridControl x:Name="GridDataControlTagesansicht" Visibility="Visible" Grid.Row="1" Grid.ColumnSpan="3" AllowDrop="true" Margin="5,5,5,5" VerticalContentAlignment="Center" >
|
2017-04-20 12:59:45 +02:00
|
|
|
<dxg:GridControl.Columns >
|
2017-03-24 10:42:23 +01:00
|
|
|
|
2017-04-07 13:44:07 +02:00
|
|
|
|
2017-06-02 13:35:42 +02:00
|
|
|
<dxg:GridColumn FieldName="KrankerMitarbeiter" Width="125" ReadOnly="True" Header="Mitarbeiter / in"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
<!--<dxg:GridColumn.CellStyle>
|
|
|
|
|
<Style TargetType="{x:Type dxg:CellContentPresenter}">
|
2017-04-07 13:44:07 +02:00
|
|
|
<Style.Triggers>
|
2017-04-28 14:08:23 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.IsMitarbeiter}" Value="0">
|
|
|
|
|
<Setter Property="Background" Value="#ff3232" />
|
2017-06-02 13:35:42 +02:00
|
|
|
</DataTrigger>
|
2017-04-07 13:44:07 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn.CellStyle>-->
|
|
|
|
|
<!--<dxe:ComboBoxEditSettings x:Name="ComboBoxEditSettingsVertretung"/>-->
|
2017-04-07 13:44:07 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="Arbeitszeit" ReadOnly="True" Width="75"/>
|
2017-05-17 08:28:12 +02:00
|
|
|
|
2017-06-02 13:35:42 +02:00
|
|
|
<dxg:GridColumn FieldName="Kunde" Header="Klient / in" Width="125" ReadOnly="True">
|
2017-04-20 12:59:45 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-04-20 12:59:45 +02:00
|
|
|
<Style.Triggers>
|
2017-04-28 14:08:23 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.IsKunde}" Value="1">
|
|
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.IsKunde}" Value="0">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
2017-04-20 12:59:45 +02:00
|
|
|
</DataTrigger>
|
2017-06-02 13:35:42 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.IsKunde}" Value="2">
|
|
|
|
|
<Setter Property="Background" Value="Orange" />
|
|
|
|
|
</DataTrigger>
|
2017-04-20 12:59:45 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-20 12:59:45 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="Vertretung" Width="125" x:Name="ColumnVertretung" ReadOnly="True">
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSet" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="TagesansichtSettings_OnDefaultButtonClick" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButton" ToolTip="Mitarbeiter Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
|
|
|
|
|
2017-05-22 11:14:48 +02:00
|
|
|
<dxg:GridColumn FieldName="KrankheitsMeldung" Width="125" Header="Meldung vom"/>
|
2017-04-20 12:59:45 +02:00
|
|
|
|
2017-06-13 13:28:44 +02:00
|
|
|
<dxg:GridColumn FieldName="KrankheitsZeitraum" Width="200" ReadOnly="True" Header="Abwesenheit von - bis">
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.EditSettings>
|
|
|
|
|
<dxe:ComboBoxEditSettings DefaultButtonClick="KrankmeldungsZeitraumBearbeitungsView"/>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
|
|
|
|
<!-- Maybee das gleiche wie oben -->
|
2017-06-13 13:28:44 +02:00
|
|
|
<dxg:GridColumn FieldName="VertretungsZeitraum" Header="Vertretung von - bis" Width="200" ReadOnly="True" />
|
2017-04-20 12:59:45 +02:00
|
|
|
|
2017-05-22 11:14:48 +02:00
|
|
|
<dxg:GridColumn FieldName="AbwesenheitsKategorie" Header="Abwesenheitskategorie" Width="175">
|
2017-04-20 12:59:45 +02:00
|
|
|
<dxg:GridColumn.EditSettings>
|
|
|
|
|
<dxe:ComboBoxEditSettings x:Name="AbwesenheitsKategorieComboBox"/>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 11:14:48 +02:00
|
|
|
<dxg:GridColumn FieldName="Beschreibung" Header="Bemerkungen" Width="500" >
|
2017-04-20 12:59:45 +02:00
|
|
|
<dxg:GridColumn.EditSettings>
|
|
|
|
|
<dxe:TextEditSettings TextWrapping="Wrap" AcceptsReturn="True" />
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
|
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
</dxg:GridControl.Columns>
|
2017-04-07 13:44:07 +02:00
|
|
|
|
2017-05-23 13:42:42 +02:00
|
|
|
|
2017-04-20 12:59:45 +02:00
|
|
|
|
2017-05-23 13:42:42 +02:00
|
|
|
|
2017-03-24 10:42:23 +01:00
|
|
|
<dxg:GridControl.View>
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:TableView AllowPerPixelScrolling="True" ShowTotalSummary="False" AutoWidth="True" ShowGridMenu="DataViewBase_OnShowGridMenu" CellValueChanged="GridViewBase_OnRowUpdated" />
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
|
2017-04-07 13:44:07 +02:00
|
|
|
</dxg:GridControl>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
<!--####################################################################################-->
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridControl x:Name="GridDataControlMitarbeiterWochenansicht" Visibility="Collapsed" Grid.Row="1" Grid.ColumnSpan="3" AllowDrop="true" Margin="5,5,5,5" VerticalContentAlignment="Center" >
|
|
|
|
|
<dxg:GridControl.Columns >
|
|
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
<!-- Umbauen -->
|
|
|
|
|
|
|
|
|
|
<dxg:GridColumn FieldName="Employee" Header="Mitarbeiter" Width="125" ReadOnly="True" />
|
2017-05-23 13:42:42 +02:00
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Mo" Header="Mo" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="EingesetztBeiMo" Header="Eingesetzt bei" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetMaMo" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-07-25 10:50:45 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="AddKlientToMitarbeiter_OnClick" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonMaMo" ToolTip="Klient Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
</dxg:GridColumn.EditSettings>
|
|
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiMo}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiMo}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
</Style.Triggers>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Di" Header="Di" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="EingesetztBeiDi" Header="Eingesetzt bei" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetMaDi" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-07-25 10:50:45 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="AddKlientToMitarbeiter_OnClick">
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonMaDi" ToolTip="Klient Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiDi}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiDi}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
2017-06-02 13:35:42 +02:00
|
|
|
</DataTrigger>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Mi" Header="Mi" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="EingesetztBeiMi" Header="Eingesetzt bei" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetMaMi" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-07-25 10:50:45 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="AddKlientToMitarbeiter_OnClick">
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonMaMi" ToolTip="Klient Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiMi}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiMi}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
|
|
|
|
</DataTrigger>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Do" Header="Do" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="EingesetztBeiDo" Header="Eingesetzt bei" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetMaDo" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-07-25 10:50:45 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="AddKlientToMitarbeiter_OnClick">
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonMaDo" ToolTip="Klient Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiDo}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiDo}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
|
|
|
|
</DataTrigger>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Fr" Header="Fr" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="EingesetztBeiFr" Header="Eingesetzt bei" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetMaFr" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-07-25 10:50:45 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="AddKlientToMitarbeiter_OnClick">
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonMaFr" ToolTip="Klient Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiFr}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiFr}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
|
|
|
|
</DataTrigger>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Sa" Header="Sa" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="EingesetztBeiSa" Header="Eingesetzt bei" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetMaSa" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-07-25 10:50:45 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="AddKlientToMitarbeiter_OnClick">
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonMaSa" ToolTip="Klient Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiSa}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.EingesetztBeiSa}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
2017-06-02 13:35:42 +02:00
|
|
|
</DataTrigger>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
|
|
|
|
|
<dxg:GridControl.View>
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:TableView AllowPerPixelScrolling="True" ShowTotalSummary="False" AutoWidth="False" ShowGridMenu="DataViewBase_OnShowGridMenu" />
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
|
|
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<!--############################### Wochenüberblick Mitarbeiter ****Ende**** ##############################################-->
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridControl x:Name="GridDataControlKlientenWochenansicht" Visibility="Collapsed" Grid.Row="1" Grid.ColumnSpan="3" AllowDrop="true" Margin="5,5,5,5" VerticalContentAlignment="Center" BorderBrush="Black" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridControl.Columns >
|
|
|
|
|
|
2017-06-02 13:35:42 +02:00
|
|
|
<dxg:GridColumn FieldName="MaKrank" Header="Mitarbeiter / in" Width="125" ReadOnly="True" />
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-23 13:42:42 +02:00
|
|
|
<dxg:GridColumn FieldName="Kind" Header="Klient/in" Width="125" ReadOnly="True" />
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Mo" Header="Mo" Width="75" ReadOnly="True" />
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="VertretungMo" Header="Vertretung" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetMo" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="KlientenWochenAnzeigeSettings_OnDefaultButtonClick" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonMo" ToolTip="Mitarbeiter Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
</dxg:GridColumn.EditSettings>
|
|
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungMo}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungMo}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
|
|
|
|
</DataTrigger>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Di" Header="Di" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="VertretungDi" Header="Vertretung" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetDi" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="KlientenWochenAnzeigeSettings_OnDefaultButtonClick" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonDi" ToolTip="Mitarbeiter Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungDi}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungDi}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
|
|
|
|
</DataTrigger>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style.Triggers>
|
2017-05-18 16:54:33 +02:00
|
|
|
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Mi" Header="Mi" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="VertretungMi" Header="Vertretung" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetMi" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="KlientenWochenAnzeigeSettings_OnDefaultButtonClick" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonMi" ToolTip="Mitarbeiter Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungMi}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
2017-05-18 16:54:33 +02:00
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungMi}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
|
|
|
|
</DataTrigger>
|
2017-05-15 09:11:13 +02:00
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Do" Header="Do" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="VertretungDo" Header="Vertretung" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetDo" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="KlientenWochenAnzeigeSettings_OnDefaultButtonClick" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonDo" ToolTip="Mitarbeiter Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungDo}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
|
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungDo}" Value="">
|
2017-05-19 08:26:12 +02:00
|
|
|
<Setter Property="Background" Value="Red" />
|
2017-05-15 09:11:13 +02:00
|
|
|
</DataTrigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-06-02 13:35:42 +02:00
|
|
|
<dxg:GridColumn FieldName="Fr" Header="Fr" Width="75" ReadOnly="True" />
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="VertretungFr" Header="Vertretung" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetFr" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="KlientenWochenAnzeigeSettings_OnDefaultButtonClick" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonFr" ToolTip="Mitarbeiter Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungFr}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
|
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungFr}" Value="">
|
|
|
|
|
<Setter Property="Background" Value="Red" />
|
2017-05-15 09:11:13 +02:00
|
|
|
</DataTrigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:GridColumn FieldName="Sa" Header="Sa" Width="75" ReadOnly="True"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-05-18 16:54:33 +02:00
|
|
|
<dxg:GridColumn FieldName="VertretungSa" Header="Vertretung" Width="125" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxg:GridColumn.EditSettings >
|
|
|
|
|
<dxe:ButtonEditSettings x:Name="ButtonEditSetSa" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonEditSettings.Buttons >
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxe:ButtonInfo GlyphKind="Custom" ButtonKind="Simple" Click="KlientenWochenAnzeigeSettings_OnDefaultButtonClick" >
|
2017-04-28 14:08:23 +02:00
|
|
|
<dxe:ButtonInfo.Content>
|
2017-05-23 13:42:42 +02:00
|
|
|
<Image Source ="../Ressources/Icons/Search.png" Width="20" Height="15" RenderOptions.BitmapScalingMode="HighQuality" x:Name="SearchImageButtonSa" ToolTip="Mitarbeiter Hinzufügen"/>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxe:ButtonInfo.Content>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEditSettings.Buttons>
|
|
|
|
|
</dxe:ButtonEditSettings>
|
|
|
|
|
</dxg:GridColumn.EditSettings>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridColumn.CellStyle>
|
2017-07-27 09:58:04 +02:00
|
|
|
<Style TargetType="{x:Type dxg:LightweightCellEditor}" >
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="#7fff7f" />
|
2017-05-15 09:11:13 +02:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungSa}" Value=" ">
|
2017-05-18 16:54:33 +02:00
|
|
|
<Setter Property="Background" Value="LightGray" />
|
|
|
|
|
<Setter Property="IsEnabled" Value="False" />
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding RowData.Row.VertretungSa}" Value="">
|
2017-05-19 08:26:12 +02:00
|
|
|
<Setter Property="Background" Value="Red" />
|
2017-05-15 09:11:13 +02:00
|
|
|
</DataTrigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</dxg:GridColumn.CellStyle>
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridColumn>
|
|
|
|
|
|
|
|
|
|
</dxg:GridControl.Columns>
|
2017-05-15 09:11:13 +02:00
|
|
|
<dxg:GridControl.View>
|
2017-05-22 10:49:06 +02:00
|
|
|
<dxg:TableView AllowPerPixelScrolling="True" ShowTotalSummary="False" AutoWidth="False" ShowGridMenu="DataViewBase_OnShowGridMenu" AllowBestFit="True" />
|
2017-04-28 14:08:23 +02:00
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
|
2017-06-14 09:56:48 +02:00
|
|
|
<!--############################### Wochenüberblick Klient ****Ende**** ########################CellValueChanged="GridViewWochenKlientBase_OnRowUpdated"######################-->
|
2017-04-28 14:08:23 +02:00
|
|
|
|
2017-07-25 10:50:45 +02:00
|
|
|
|
2017-03-30 06:19:17 +02:00
|
|
|
|
|
|
|
|
<Popup Margin="10" x:Name="popup_MitarbeiterVertretung" StaysOpen="False" Placement="MousePoint" Width="370" Height="250"
|
2017-05-18 16:54:33 +02:00
|
|
|
Closed="popup_Closed" Opened="popup_Opened">
|
2017-03-30 06:19:17 +02:00
|
|
|
<search:EmployeeSearchView x:Name="MitarbeiterVertretungsearchview" />
|
|
|
|
|
</Popup>
|
|
|
|
|
|
|
|
|
|
<Popup Margin="10" x:Name="popup_KlientVertretung" StaysOpen="False" Placement="MousePoint" Width="370" Height="250"
|
2017-05-18 16:54:33 +02:00
|
|
|
Closed="popup_Closed" Opened="popup_Opened">
|
2017-03-30 06:19:17 +02:00
|
|
|
<search:CustomerSearchView x:Name="KlientVertretungsearchview" />
|
|
|
|
|
</Popup>
|
|
|
|
|
</Grid>
|
2017-03-24 10:42:23 +01:00
|
|
|
</ScrollViewer>
|
|
|
|
|
</localView:BeWoView>
|