|
|
|
|
@ -1,20 +1,26 @@
|
|
|
|
|
<UserControl x:Class="Gremlin.MVVM.QuoteView"
|
|
|
|
|
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"
|
|
|
|
|
mc:Ignorable="d">
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid Grid.Column="0" Height="Auto">
|
|
|
|
|
|
|
|
|
|
<!--Recepient-->
|
|
|
|
|
<Grid Grid.Row="0" Grid.Column="0" Height="Auto">
|
|
|
|
|
<TextBlock x:Name="Recipient" Margin="10,5,10,5" />
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!--QuoteDetails-->
|
|
|
|
|
<Grid Grid.Row="0" Grid.Column="1" Height="Auto">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBlock x:Name="lblAngebotsname" Text="Angebotsname" Margin="10,5,10,5"/>
|
|
|
|
|
<TextBlock x:Name="lblAngebotsnummer" Text="Angebotsnummer" Margin="10,5,10,5"/>
|
|
|
|
|
@ -24,7 +30,7 @@
|
|
|
|
|
<TextBlock x:Name="lblOppID" Text="SAP Opp ID" Margin="10,5,10,5"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Grid.Column="1" Height="Auto">
|
|
|
|
|
<Grid Grid.Row="0" Grid.Column="2" Height="Auto">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBox x:Name="QuoteType" Margin="10,5,10,5"/>
|
|
|
|
|
<TextBox x:Name="QuoteNumber" Margin="10,5,10,5"/>
|
|
|
|
|
@ -34,7 +40,7 @@
|
|
|
|
|
<TextBox x:Name="OppID" Margin="10,5,10,5"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Grid.Column="2" Height="Auto">
|
|
|
|
|
<Grid Grid.Row="0" Grid.Column="3" Height="Auto">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<CheckBox x:Name="ShowBrutto" Content="Bruttopreise anzeigen" Margin="10,5,10,5"/>
|
|
|
|
|
<CheckBox x:Name="SinglePrices" Content="Einzelpreise ausweisen" Margin="10,5,10,5"/>
|
|
|
|
|
@ -44,14 +50,16 @@
|
|
|
|
|
<CheckBox x:Name="MailTemplate" Content="Mail aus Template erstellen" Margin="10,5,10,5"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Grid.Row="1" Grid.Column="1">
|
|
|
|
|
<Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" Height="Auto">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<Button x:Name="GenerateQuoteNumber" Content="Angebotsnummer generieren"/>
|
|
|
|
|
<Button x:Name="ReadLineItems" Content="Angebot aus PriceSurfer einfügen"/>
|
|
|
|
|
<Button x:Name="GenerateQuoteNumber" Content="Angebotsnummer generieren" Margin="10,5,10,5"/>
|
|
|
|
|
<Button x:Name="ReadLineItems" Content="Angebot aus PriceSurfer einfügen" Margin="10,5,10,5"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<DataGrid x:Name="LineItemsViewModel" AutoGenerateColumns="True" Height="600" Margin="10,5,10,5" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<!--LineItems-->
|
|
|
|
|
<Grid Grid.Row="2" Grid.ColumnSpan="4" Height="Auto">
|
|
|
|
|
<DataGrid x:Name="LineItemsViewModel" AutoGenerateColumns="True" Height="Auto" Margin="10,5,10,5" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|