Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031987Retail ModulesWeb POSpublic2016-01-21 17:462016-03-08 17:36
plujan 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
main 
RR16Q1RR16Q1 
marvintm
QA functional test
No
0031987: [RR16Q1] Overpayment mixing cash and card is not possible
If I try to overpay a receipt using a combination of cash and card payments a message is shown: "Only cash payment methods are allowed to return change"

The message is not correct since I am actually using cash as part of the payment.
1. Login into webPOS and create a ticket for any given value, i.e. 132.98€
2. Click the total amount to pay it.
3. Select Cash as payment method and pay 100€
4. Select Card as payment method and pay 33€
5. There is 0.02 change but the ticket cannot be completed. A message is shown: Only cash payment methods are allowed to return change
No tags attached.
blocks defect 0031985 closed ranjith_qualiantech_com [RR16Q1] Overpayment mixing cash and card is not possible 
diff diffIssue31987.diff (1,717) 2016-01-21 20:58
https://issues.openbravo.com/file_download.php?file_id=8959&type=bug
Issue History
2016-01-21 20:57guilleaerTypedefect => backport
2016-01-21 20:57guilleaerTarget Version => RR16Q1
2016-01-21 20:58guilleaerFile Added: diffIssue31987.diff
2016-02-02 08:00hgbotCheckin
2016-02-02 08:00hgbotNote Added: 0083796
2016-02-02 08:00hgbotStatusscheduled => resolved
2016-02-02 08:00hgbotResolutionopen => fixed
2016-02-02 08:00hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/a0f559e13e6dd61f582f8f98a9fdbf000c05deeb [^]
2016-03-03 13:52marvintmNote Added: 0084684
2016-03-03 13:52marvintmStatusresolved => new
2016-03-03 13:52marvintmResolutionfixed => open
2016-03-03 13:52marvintmStatusnew => scheduled
2016-03-03 17:49marvintmAssigned ToRetail => guilleaer
2016-03-04 10:14OrekariaStatusscheduled => acknowledged
2016-03-04 10:14OrekariaStatusacknowledged => scheduled
2016-03-04 10:14OrekariaAssigned Toguilleaer => ranjith_qualiantech_com
2016-03-04 12:40hgbotCheckin
2016-03-04 12:40hgbotNote Added: 0084729
2016-03-04 12:40hgbotStatusscheduled => resolved
2016-03-04 12:40hgbotResolutionopen => fixed
2016-03-04 12:40hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/a0f559e13e6dd61f582f8f98a9fdbf000c05deeb [^] => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/99d75d5e1ae3cb399457ba540a1d0e39047061cb [^]
2016-03-08 17:36marvintmReview Assigned To => marvintm
2016-03-08 17:36marvintmStatusresolved => closed
2016-03-08 17:36marvintmFixed in Version => RR16Q1

Notes
(0083796)
hgbot   
2016-02-02 08:00   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: a0f559e13e6dd61f582f8f98a9fdbf000c05deeb
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Feb 01 17:16:39 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/a0f559e13e6dd61f582f8f98a9fdbf000c05deeb [^]

Fixes issue 31987 : Cash Change is allowed if both cash and card are involved in payment

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0084684)
marvintm   
2016-03-03 13:52   
The basic case, in which there is enough cash available in the till, works correctly. However, there is one case in which I found a problem:

- Do a cashup, ensure that no cash remains in the till.
- Then, create a ticket with total 150
- Add a payment in cash for 100
- Add a payment in card, for 60.
- Verify that the Done button is disabled, but there is no error message explaining the problem.

My take is that in this case, the system is detecting that there is no way to return change as no money is in the till. However, if this is the case, there should be a red error message explaining the problem.

We are missing this error message explaining that there is no cash available in this case, and therefore the user could be confused.
(0084729)
hgbot   
2016-03-04 12:40   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: 99d75d5e1ae3cb399457ba540a1d0e39047061cb
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 04 17:09:29 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/99d75d5e1ae3cb399457ba540a1d0e39047061cb [^]

Fixes issue 31987 : Cash Change is allowed if both cash and card are involved in payment

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---