Openbravo Issue Tracking System - Retail Modules
View Issue Details
0022444Retail ModulesWeb POSpublic2012-12-02 10:352012-12-04 11:20
iciordia 
migueldejuana 
immediatecriticalalways
closedfixed 
5any
RMP16 
RMP17 
No
0022444: Cash overpayments in WebPOS when entering the amount using the numeric key pad are not properly registered
Instead of setting the overpayment amount as "Change" and setting the payment to the exact Ticket amount, the system is registering an overpayment (although in the UI it displays "Change").

It works fine when the amount is entered using Notes/Coins buttons.
* Create a ticket with Amount 9.90
* Tap on the amount to pay it
* Select Cash
* Tap on $ an type 10 using the numeric pad (or type 10 using the keyboard)
* The system displays: Change 0.10, Cash 9.90
* Confirm
* Get the ticket number from the yellow message once it syncs
* Go to the back end and check that the payment amount is 10 instead of 9.90 (either in the payment tab in Order or in the financial account)
If the amount is entered tapping on the note 10, then the information is properly registered.

See attached diff for the fix
No tags attached.
diff cashTrans.diff (907) 2012-12-02 10:35
https://issues.openbravo.com/file_download.php?file_id=5781&type=bug
Issue History
2012-12-02 10:35iciordiaNew Issue
2012-12-02 10:35iciordiaAssigned To => migueldejuana
2012-12-02 10:35iciordiaFile Added: cashTrans.diff
2012-12-04 10:29hgbotCheckin
2012-12-04 10:29hgbotNote Added: 0054693
2012-12-04 10:29hgbotStatusnew => resolved
2012-12-04 10:29hgbotResolutionopen => fixed
2012-12-04 10:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ef832e0f2b8c8cfdbb07db86a299347cc1d6a966 [^]
2012-12-04 11:20adrianromeroNote Added: 0054696
2012-12-04 11:20adrianromeroStatusresolved => closed

Notes
(0054693)
hgbot   
2012-12-04 10:29   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ef832e0f2b8c8cfdbb07db86a299347cc1d6a966
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Dec 04 10:29:04 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ef832e0f2b8c8cfdbb07db86a299347cc1d6a966 [^]

Fixed issue 22444: Payment in when paying with cash and original keypad works well

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0054696)
adrianromero   
2012-12-04 11:20   
Closed for RMP17