Interaction logic for ExternalProcessorView.xaml
Наследование: System.Windows.Window
Пример #1
0
 public void Process(CreditCardProcessingData creditCardProcessingData)
 {
     InteractionService.UserIntraction.BlurMainWindow();
     SelectedTicket            = creditCardProcessingData.Ticket;
     _viewModel.CanPreAuth     = true;
     _viewModel.TenderedAmount = creditCardProcessingData.TenderedAmount;
     _viewModel.Gratuity       = (creditCardProcessingData.TenderedAmount * Settings.GratuityRate) / 100;
     _view = new FdProcessorView(_viewModel);
     _view.FdTransactionType.SelectedIndex = 0;
     _viewModel.AuthCode = "";
     _view.ShowDialog();
 }
Пример #2
0
 public void Process(CreditCardProcessingData creditCardProcessingData)
 {
     InteractionService.UserIntraction.BlurMainWindow();
     SelectedTicket = creditCardProcessingData.Ticket;
     _viewModel.CanPreAuth = true;
     _viewModel.TenderedAmount = creditCardProcessingData.TenderedAmount;
     _viewModel.Gratuity = (creditCardProcessingData.TenderedAmount * Settings.GratuityRate) / 100;
     _view = new FdProcessorView(_viewModel);
     _view.FdTransactionType.SelectedIndex = 0;
     _viewModel.AuthCode = "";
     _view.ShowDialog();
 }