Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040414Retail ModulesWeb POSpublic2019-03-18 17:532019-03-29 11:54
asiermartirena 
asiermartirena 
highmajoralways
closedfixed 
5
 
RR19Q2 
marvintm
No
0040414: Not possible to reverse correctly a payment with overpayment
Now, it's not possible to reverse correctly a payment that has been paid generating over payment. Now, instead of loading the full payment in the Web POS, only the part that is related to the order is loaded. In consequence, it's possible to revert only that part, having a reverse payment that doesn't cover all the payment.
Create a ticket in the Web POS.
Pay generating over payment.
Load the ticket -> Realize that only the part that is overpaid is loaded.
Reverse the payment -> Only the loaded part is reversed.
No tags attached.
Issue History
2019-03-18 17:53asiermartirenaNew Issue
2019-03-18 17:53asiermartirenaAssigned To => asiermartirena
2019-03-18 17:53asiermartirenaTriggers an Emergency Pack => No
2019-03-22 08:03hgbotCheckin
2019-03-22 08:03hgbotNote Added: 0110561
2019-03-22 08:03hgbotStatusnew => resolved
2019-03-22 08:03hgbotResolutionopen => fixed
2019-03-22 08:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3e9f51eb6854a1eb39d41fb4d367288a3938c6c9 [^]
2019-03-29 09:20marvintmReview Assigned To => marvintm
2019-03-29 11:54marvintmStatusresolved => closed
2019-03-29 11:54marvintmFixed in Version => RR19Q2

Notes
(0110561)
hgbot   
2019-03-22 08:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3e9f51eb6854a1eb39d41fb4d367288a3938c6c9
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Thu Mar 21 10:53:17 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3e9f51eb6854a1eb39d41fb4d367288a3938c6c9 [^]

Fixed issue 40414: Problems with overpayment and reverse payments

Now it will be possible to do a reverse payment of a full payment that has been paid generating overpayment.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M src/org/openbravo/retail/posterminal/PaidReceipts.java
M web/org.openbravo.retail.posterminal/js/model/order.js
---