Beispiel #1
0
 public static void AddProductToCurrentSolution(Product productToAdd)
 {
     CurrentSolution.AddProductToSolution(productToAdd);
     subtotaltracker           += productToAdd.Price;
     taxestracker               = subtotaltracker * .0625; //MA Tax Rate
     finaltotaltracker          = subtotaltracker * 1.0625;
     CurrentSolution.Subtotal   = subtotaltracker.ToString();
     CurrentSolution.Taxes      = taxestracker.ToString();
     CurrentSolution.FinalTotal = finaltotaltracker.ToString();
 }