Esempio n. 1
0
        private void TaxExemption()
        {
            string result =
                PosDialogWindow.PromptKeyboard(Types.Strings.EnterTaxExemptionId,
                                               SelectedTicket.TaxExemptId);

            if (result == null)
            {
                return;
            }
            if (String.IsNullOrEmpty(result))
            {
                result = null;
            }
            SelectedTicket.SetTaxExemptId(result);
            SelectedTicket.Update();
            // Update the tax on the payment control
            paymentControl.SelectedTicket = SelectedTicket;
        }