Esempio n. 1
0
        private void buttonCloseOut_Click(object sender, RoutedEventArgs e)
        {
            RegisterContextMenu.IsOpen = false;
            if (PosDialogWindow.ShowDialog(
                    Types.Strings.RegisterMenuConfirmDrawerClose,
                    Types.Strings.Confirmation, DialogButtons.YesNo) != DialogButton.Yes)
            {
                return;
            }
            RegisterManager.OpenCashDrawer();
            RegisterDrawer activeRegisterDrawer = RegisterManager.ActiveRegisterDrawer;

            RegisterManager.CloseActiveRegisterDrawer();
            OrderEntryCommands.UpdateTicketDetailCommands();
            PrintRegisterReport(activeRegisterDrawer);
        }