TavernerPOS - Source Code

Clone: 

git clone http://www.librarysmith.co.uk/tavernerPOS

 

Index » tavernerPOS : Commitdiff 0dcc88

Kick-drawer now automatic printing ticket printing is disabled

Matt Smith [15-12-02 22:27]
Kick-drawer now automatic printing ticket printing is disabled
diff --git a/src/com/floreantpos/ui/views/payment/SettleTicketDialog.java b/src/com/floreantpos/ui/views/payment/SettleTicketDialog.java
index d7f1fbc..b61a8eb 100755
--- a/src/com/floreantpos/ui/views/payment/SettleTicketDialog.java
+++ b/src/com/floreantpos/ui/views/payment/SettleTicketDialog.java
@@ -52,6 +52,7 @@ import com.floreantpos.ui.dialog.TransactionCompletionDialog;
 import com.floreantpos.ui.views.SwitchboardView;
 import com.floreantpos.ui.views.TicketDetailView;
 import com.floreantpos.ui.views.order.OrderController;
+import com.floreantpos.util.DrawerUtil;
 import com.floreantpos.util.POSUtil;

 public class SettleTicketDialog extends POSDialog implements CardInputListener {
@@ -392,6 +393,8 @@ public class SettleTicketDialog extends POSDialog implements CardInputListener {

 			//FIXME
 			//printTicket(ticket, transaction);
+			DrawerUtil.kickDrawer();
+

 			showTransactionCompleteMsg(dueAmount, transaction.getTenderAmount(), ticket, transaction);

Add comment
These comments are moderated so so won't be published until reviewed.