TavernerPOS - Source Code

Clone: 

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

 

Index » tavernerPOS : Commitdiff ce1738

PaymentView - Clear text when entering tfAmountTendered if tfAmountTendered has selected text.

Matt Smith [15-12-02 22:37]
PaymentView - Clear text when entering tfAmountTendered if tfAmountTendered has selected text.
diff --git a/src/com/floreantpos/ui/views/payment/PaymentView.java b/src/com/floreantpos/ui/views/payment/PaymentView.java
old mode 100644
new mode 100755
index da86d9b..27a5110
--- a/src/com/floreantpos/ui/views/payment/PaymentView.java
+++ b/src/com/floreantpos/ui/views/payment/PaymentView.java
@@ -312,6 +312,7 @@ public class PaymentView extends JPanel {
 				}
 			}
 			else {
+				if (textField.getSelectedText()!=null) textField.setText("");
 				String string = textField.getText();
 				int index = string.indexOf('.');
 				if (index < 0) {

Comments   

# Kitchen-receipt not printingJulio Ponce 2016-08-01 16:37
Good day I was Wondering if the button add in home screen to print kitchen receipt is avaliable in version 1.4, after clicking SAVE button wont print kitchen receipt, any help you can provide is welcome.

Best regards Julio
Reply | Reply with quote | Quote
# RE: Kitchen-receipt not printingMatt Smith 2016-08-01 17:52
Quoting Julio Ponce:
Good day I was Wondering if the button add in home screen to print kitchen receipt is avaliable in version 1.4, after clicking SAVE button wont print kitchen receipt, any help you can provide is welcome.

Best regards Julio


Hi,

As far as I'm aware none of that code has been changed that pertains to kitchen printers. Was it working on a previous build of TavernerPos?

Matt
Reply | Reply with quote | Quote

Add comment


Security code
Refresh