145 lines
7.5 KiB
XML
145 lines
7.5 KiB
XML
<localView:BeWoView
|
|
x:Class="BeWo.View.Detail.Accounting.ServiceInvoiceCreatePopUpView"
|
|
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:localViewDetail="clr-namespace:BeWo.View.Detail.Accounting"
|
|
xmlns:localViewModel="clr-namespace:BeWo.ViewModel"
|
|
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
|
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">
|
|
<GroupBox Width="1100" Style="{StaticResource PopUpWindowStyle}">
|
|
<GroupBox.Header>
|
|
<StackPanel
|
|
Margin="0,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<Image Height="28" Source="..\..\Ressources\Icons\CoinsDisabled.png" />
|
|
<TextBox
|
|
Margin="10,4,0,0"
|
|
Padding="0,0,0,0"
|
|
VerticalAlignment="Stretch"
|
|
Background="{x:Null}"
|
|
BorderBrush="{x:Null}"
|
|
BorderThickness="0,0,0,0"
|
|
FontSize="20"
|
|
Foreground="{DynamicResource MainGroupBoxForegroundBrush}" />
|
|
</StackPanel>
|
|
</GroupBox.Header>
|
|
<Grid Background="{StaticResource ObjectEditBackgroundBrush}">
|
|
<GroupBox
|
|
Margin="10"
|
|
Header="Rechnung(en) erstellen"
|
|
Style="{StaticResource ObjectEditGroupBox}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<Label>
|
|
<StackPanel Orientation="Vertical">
|
|
<AccessText Margin="2">Folgende Rechnungen werden erstellt.</AccessText>
|
|
<AccessText Margin="2">Entfernen Sie gegebenenfalls Rechnungen, welche nicht erstellt werden sollen.</AccessText>
|
|
<AccessText Margin="2">Klicken Sie anschließend auf "Erstellen".</AccessText>
|
|
</StackPanel>
|
|
</Label>
|
|
<TextBlock
|
|
x:Name="txtWarnhinweis"
|
|
Grid.Column="1"
|
|
Foreground="Red" />
|
|
|
|
<dxg:GridControl
|
|
x:Name="grid_newInvoices"
|
|
Grid.Row="1"
|
|
Grid.ColumnSpan="2"
|
|
MinHeight="200"
|
|
Margin="3">
|
|
<dxg:GridControl.Columns>
|
|
<dxg:GridColumn
|
|
Width="24"
|
|
FieldName="Notice"
|
|
FixedWidth="True"
|
|
Header=""
|
|
ReadOnly="True">
|
|
<dxg:GridColumn.CellTemplate>
|
|
<DataTemplate>
|
|
<Button
|
|
Width="18"
|
|
Height="18"
|
|
VerticalAlignment="Center"
|
|
Click="btn_delete_Click"
|
|
Content="r"
|
|
FontFamily="Webdings" />
|
|
</DataTemplate>
|
|
</dxg:GridColumn.CellTemplate>
|
|
</dxg:GridColumn>
|
|
<dxg:GridColumn FieldName="InvoiceBase.InvoiceTitle" Header="Über" />
|
|
<dxg:GridColumn FieldName="InvoiceBase.RecipientOrganisation" Header="{markup:Translate EmpfängerSingular}" />
|
|
<dxg:GridColumn FieldName="InvoiceBase.PeriodString" Header="Abrechnungszeitraum" />
|
|
<dxg:GridColumn FieldName="EndClaim" Header="Betrag">
|
|
<dxg:GridColumn.EditSettings>
|
|
<dxe:TextEditSettings
|
|
DisplayFormat="c"
|
|
Mask="c"
|
|
MaskType="Numeric" />
|
|
</dxg:GridColumn.EditSettings>
|
|
</dxg:GridColumn>
|
|
<dxg:GridColumn FieldName="InvoiceBase.Details" Header="Details" />
|
|
<dxg:GridColumn FieldName="InvoiceBase.NeuErstellen" Header="Neu erstellen" />
|
|
<dxg:GridColumn FieldName="InvoiceBase.DiffErstellen" Header="{markup:Translate Diff.-Rg erstellen}" />
|
|
<dxg:GridColumn FieldName="InvoiceBase.Hinweise" Header="Hinweise" />
|
|
</dxg:GridControl.Columns>
|
|
<dxg:GridControl.View>
|
|
<dxg:TableView CellValueChanging="TableView_CellValueChanging" ShowGroupPanel="False" />
|
|
</dxg:GridControl.View>
|
|
</dxg:GridControl>
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
Grid.ColumnSpan="2"
|
|
HorizontalAlignment="Right"
|
|
Orientation="Horizontal">
|
|
<Button
|
|
Margin="3"
|
|
Click="btn_SelectAllNeu"
|
|
Content=" Für alle neu erstellen auswählen " />
|
|
<Button
|
|
Margin="3"
|
|
Click="btn_SelectAllDiff"
|
|
Content=" Für alle Diff-Rg erstellen auswählen " />
|
|
<Button
|
|
Margin="3"
|
|
Padding="5,0"
|
|
Click="btn_DeselectAll"
|
|
Content=" Alle abwählen " />
|
|
<Button
|
|
x:Name="btn_create"
|
|
Margin="20,3,3,3"
|
|
Click="btn_create_Click"
|
|
Content=" Erstellen " />
|
|
<Button
|
|
x:Name="btn_cancel"
|
|
Margin="3"
|
|
Click="btn_cancel_Click"
|
|
Content=" Abbrechen " />
|
|
</StackPanel>
|
|
</Grid>
|
|
</GroupBox>
|
|
</Grid>
|
|
</GroupBox>
|
|
</localView:BeWoView> |