예제 #1
0
 public void ResetTicket()
 {
     RefreshVisuals();
     _totals.ResetCache();
     RefreshSelectedTicketTitle();
     ClearSelectedItems();
 }
예제 #2
0
 public void ResetTicket()
 {
     RefreshVisuals();
     _ticketInfo.Refresh();
     _totals.ResetCache();
     _totals.Refresh();
     ClearSelectedItems();
 }
        public void ResetValues()
        {
            _paymentEditor.UpdateCalculations();

            if (_tenderedValueViewModel.GetPaymentDueValue() <= 0)
            {
                _tenderedValueViewModel.UpdatePaymentAmount(0);
            }

            _paymentTotals.ResetCache();
            _paymentTotals.Refresh();
            _accountBalances.Refresh();
            _tenderedValueViewModel.TenderedAmount = "";
            RaisePropertyChanged(() => BalanceModeCaption);
        }