diff --git a/Gremlin/GremlinUI/QuoteUI.xaml b/Gremlin/GremlinUI/QuoteUI.xaml index 1e995e8..bed1d9b 100644 --- a/Gremlin/GremlinUI/QuoteUI.xaml +++ b/Gremlin/GremlinUI/QuoteUI.xaml @@ -42,8 +42,7 @@ AutoGenerateColumns="True" Height="250" Margin="10,5,10,5" - AlternatingRowBackground="LightGray" SelectionChanged="DgFoundContacts_SelectionChanged"> - + AlternatingRowBackground="LightGray" SelectionChanged="DgFoundContacts_SelectionChanged"/> @@ -93,7 +92,8 @@ - + + diff --git a/Gremlin/GremlinUI/ViewModels/QuoteVM.cs b/Gremlin/GremlinUI/ViewModels/QuoteVM.cs index afcbf1d..0feb585 100644 --- a/Gremlin/GremlinUI/ViewModels/QuoteVM.cs +++ b/Gremlin/GremlinUI/ViewModels/QuoteVM.cs @@ -66,7 +66,10 @@ namespace Gremlin.GremlinUI.ViewModels { case "RB": if (lineItemVM.ProductNumber != "R2005A") //kein wirkliches RB-Produkt + { quoteContainsRB = true; + } + break; case "3PP": quoteContains3PP = true; break;