Example #1
0
 public void CreateButtons(Ticket selectedTicket)
 {
     CommandButtons = CreateCommandButtons();
     RaisePropertyChanged(() => CommandButtons);
     PaymentButtonGroup.UpdatePaymentButtons(_cacheService.GetPaymentScreenPaymentTypes(), ForeignCurrency);
     RaisePropertyChanged(() => PaymentButtonGroup);
     ForeignCurrencyButtons = CreateForeignCurrencyButtons().ToList();
     UpdateCurrencyButtons();
     RaisePropertyChanged(() => ForeignCurrencyButtons);
 }
Example #2
0
 private void OnDepartmentChanged(EventParameters <Department> obj)
 {
     PaymentButtonGroup.UpdatePaymentButtons(_cacheService.GetUnderTicketPaymentTypes(), null);
     RaisePropertyChanged(() => PaymentButtonGroup);
 }