|
|
|
@ -129,7 +129,7 @@ public class QuoteHandling {
|
|
|
|
|
|
|
|
|
|
|
|
private static decimal GetTotal(Quote quote, string type) {
|
|
|
|
private static decimal GetTotal(Quote quote, string type) {
|
|
|
|
decimal total = 0;
|
|
|
|
decimal total = 0;
|
|
|
|
if (quote.LineItems is null || quote.LineItems.Count == 0) return total;
|
|
|
|
if (quote.LineItems.Count == 0) return total;
|
|
|
|
|
|
|
|
|
|
|
|
foreach (LineItem lineItem in quote.LineItems)
|
|
|
|
foreach (LineItem lineItem in quote.LineItems)
|
|
|
|
switch (type) {
|
|
|
|
switch (type) {
|
|
|
|
|