/// <summary>
 /// Finalizes the sale and prints the reciept.
 /// </summary>
 /// <param name="sender">The sender of the event.</param>
 /// <param name="e">The RoutedEventArgs of the event.</param>
 private void FinalizeSale_Click(object sender, RoutedEventArgs e)
 {
     if (((CashRegister)DataContext).Due <= 0)
     {
         _orderInstance.PrintReciept(PaymentType.Cash, ((CashRegister)DataContext).Owed);
         NewOrderEvent?.Invoke(this, new NewOrderEventArgs(new Order()));
     }
     else
     {
         MessageBox.Show("Cannot finalize sale until fully paid");
     }
 }