Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039997Retail ModulesWeb POSpublic2019-01-22 12:492019-02-14 18:05
asiermartirena 
asiermartirena 
normalminoralways
closedfixed 
5
 
RR19Q2 
marvintm
No
0039997: Problem with the negative status of cancel layaways
There's an specific case in 'Cancel Layaway/Order' in which the Web POS thinks that the ticket is positive, when it should be in a negative status. This occurs only when doing a CL/O and there's nothing to pay/return. In this case the ticket is taken as positive and the 'Exact amount paid' label is shown when it should be shown 'Exact amount returned'.
Create a layaway and synchronize without any payment.
Load the layaway, and click on the 'Cancel this Layaway' menu entry.
Check that the remaining label is shown as if the ticket is positive.
No tags attached.
Issue History
2019-01-22 12:49asiermartirenaNew Issue
2019-01-22 12:49asiermartirenaAssigned To => asiermartirena
2019-01-22 12:49asiermartirenaTriggers an Emergency Pack => No
2019-01-23 16:36hgbotCheckin
2019-01-23 16:36hgbotNote Added: 0109116
2019-01-23 16:36hgbotStatusnew => resolved
2019-01-23 16:36hgbotResolutionopen => fixed
2019-01-23 16:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/02cc0f8f76b1ef79c36071a4d299b881a9bf929f [^]
2019-02-14 18:05marvintmReview Assigned To => marvintm
2019-02-14 18:05marvintmStatusresolved => closed
2019-02-14 18:05marvintmFixed in Version => RR19Q2

Notes
(0109116)
hgbot   
2019-01-23 16:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 02cc0f8f76b1ef79c36071a4d299b881a9bf929f
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Tue Jan 22 13:44:52 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/02cc0f8f76b1ef79c36071a4d299b881a9bf929f [^]

Fixed issue 39997: Problem with the negative status of cancel layaways

To calculate if a ticket is negative, when the ticket is in draft and has negative gross, now if the payments amount is the same to the gross amount, the ticket is considered negative.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---