Exemplo n.º 1
0
        //
        //
        //  CARLO - END
        //
        //

        //
        //
        //  VINCENT - START
        //
        //


        private void ProcessTransaction()
        {
            TableOrder tableOrder = fTableOrder.GetTableOrder();

            tableOrder.SetPaymentMethod(fPayment.TextBlock_PaymentMethod.Text);

            System.Diagnostics.Debug.WriteLine(tableOrder.GetPaymentMethod());

            //Set fTableOrder visuals
            fTableOrder.DisableForm();

            //Save Transaction to accdb Database
            SaveTransactionToDatabase();

            //Clear TableOrder temporary database
            fTableOrder.GetTableOrder().ClearTableOrder();
            fTableOrder.GetTableOrder().SetTableStatus(TableOrder.CLOSED_BILL);
        }