private void UpdateDisplayOrderTotals()
{
DisplayOrder.tax = (Store.CurrentOrder.TaxAmount / 100.0).ToString("C2");
DisplayOrder.subtotal = (Store.CurrentOrder.PreTaxSubTotal / 100.0).ToString("C2");
DisplayOrder.total = (Store.CurrentOrder.Total / 100.0).ToString("C2");
// This block of code handles reapplying an existing order discount when new items are added or removed
// If this method call is the result of a new discount being applied or removed, then this logic should be bypassed
// as it is already handled as part of the add/remove discount logic
if (Store.CurrentOrder.Discount != null && !Store.NewDiscount)
{
ReapplyOrderDiscount(Store.CurrentOrder.Discount);
}
}