Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031141Retail ModulesReturn Receiptpublic2015-10-08 13:052015-10-23 17:01
plujan 
marvintm 
normalmajorhave not tried
closedfixed 
5
main 
RR15Q4RR15Q4 
guilleaer
QA functional test
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87802196069a [^]
No
0031141: [RR15Q4] Cannot return a receipt using card, a message says "there is not enough cash available"
Even with cash in the terminal, when I tried to return a ticket using Card payment method, I get a message "there is not enough cash available"
1. Login a vallblanca user
2. Check that you have available cash (by selling some tickets or by cash management deposit)
3. Create a ticket for one Headlamp ultralight (total 18.90)
4. Choose from top-left menu the option Return this receipt. Check that "To be returned" is shown in the ticket and that total amount changes to -18.90.
5. Click the amount to complete the return. It says "18.90€ pending to be returned"
6. Return 18.90€ in Cash. It works as expected and the Done button is available to continue the process.
7. Remove the added cash line
8. Return 18.90€ in Card. A message saying "there is not enough cash available" is shown and you cannot continue. See screenshot.
No tags attached.
blocks defect 0031099 closed guilleaer [RR15Q4] Cannot return a receipt using card, a message says "there is not enough cash available" 
Issue History
2015-10-13 17:49OrekariaTypedefect => backport
2015-10-22 12:20hgbotCheckin
2015-10-22 12:20hgbotNote Added: 0081201
2015-10-22 12:20hgbotStatusscheduled => resolved
2015-10-22 12:20hgbotResolutionopen => fixed
2015-10-22 12:20hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a08adb56512c8dd9d2f59ceb0fdcfbeba01a523 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/fdc3db19e508b52bb0f45531c08757383d816d03 [^]
2015-10-22 12:28marvintmAssigned Toguilleaer => marvintm
2015-10-23 17:01guilleaerReview Assigned To => guilleaer
2015-10-23 17:01guilleaerNote Added: 0081271
2015-10-23 17:01guilleaerStatusresolved => closed
2015-10-23 17:01guilleaerFixed in Version => RR15Q4

Notes
(0081201)
hgbot   
2015-10-22 12:20   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: fdc3db19e508b52bb0f45531c08757383d816d03
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Thu Oct 22 12:19:41 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/fdc3db19e508b52bb0f45531c08757383d816d03 [^]

Fixed issue 31141. only check available cash for payment methods marked as cash

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0081271)
guilleaer   
2015-10-23 17:01   
Code reviewed and tested