Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028770Retail ModulesReturn Receiptpublic2015-01-26 15:482015-01-30 08:44
lorenzofidalgo 
migueldejuana 
normalminoralways
closedfixed 
5
main 
RR15Q1 
malsasua
No
0028770: To do an overpayment using card payment method is not working properly
It is only possible to return "card" if enough "card" has been given before. It seems be working as cash.
Complete a cashup keeping nothing.

Login to POS terminal, go to the login URL:

http://{server}/{context}/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]

Enter login credentials:

"Username": vallblanca
"Password": openbravo
The POS window will appear.

 To add product click “Browse” button

 Then select “Backpacks & Travel” category

 And from the product list select

Product: Alpine skiing backpack 27 L
Quantity: 5

Then to make the receipt into return receipt

From drop down menu, select “Return this receipt” option

Then complete the receipt, tap on the “Total” amount

Verify “549.50 € remaining to return.” text appears on the right hand side of the terminal, along with “Use Credit” & “OK” (tick) buttons
Then select “Card” payment method (if not selected already)

Then from virtual key pad, enter “600” and press return key

Then verify

“50.50 overpayment.” text appears
Card “600.00 with close(X) icon
To complete the return receipt, tap on the “Done” button
--
You must realise that Done button is not available.
(Besides, now, if you click Card again, you are able to continue the process.)
No tags attached.
depends on defect 0021272 closed migueldejuana When there is overpayment, the POS is not creating the payments correctly 
png Overpayment.png (149,405) 2015-01-26 15:48
https://issues.openbravo.com/file_download.php?file_id=7742&type=bug
png
Issue History
2015-01-26 15:48lorenzofidalgoNew Issue
2015-01-26 15:48lorenzofidalgoAssigned To => migueldejuana
2015-01-26 15:48lorenzofidalgoFile Added: Overpayment.png
2015-01-26 15:48lorenzofidalgoTriggers an Emergency Pack => No
2015-01-26 17:08lorenzofidalgoNote Added: 0073789
2015-01-27 17:33hgbotCheckin
2015-01-27 17:33hgbotNote Added: 0073828
2015-01-27 17:33hgbotStatusnew => resolved
2015-01-27 17:33hgbotResolutionopen => fixed
2015-01-27 17:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3347058f969fc3b52ecfbd6955d5a3a75b9ebf87 [^]
2015-01-28 19:12malsasuaReview Assigned To => malsasua
2015-01-28 19:12malsasuaNote Added: 0073873
2015-01-28 19:12malsasuaStatusresolved => closed
2015-01-28 19:12malsasuaFixed in Version => RR15Q1
2015-01-30 08:43migueldejuanaRelationship addeddepends on 0021272
2015-01-30 08:44migueldejuanaNote Added: 0073926

Notes
(0073789)
lorenzofidalgo   
2015-01-26 17:08   
Same behaviour with voucher payment method.
(0073828)
hgbot   
2015-01-27 17:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3347058f969fc3b52ecfbd6955d5a3a75b9ebf87
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jan 27 17:32:37 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3347058f969fc3b52ecfbd6955d5a3a75b9ebf87 [^]

Fixed issue 0028770: To do an overpayment using card payment method is not working properly

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0073873)
malsasua   
2015-01-28 19:12   
verified
(0073926)
migueldejuana   
2015-01-30 08:44   
One commit of https://issues.openbravo.com/view.php?id=21272 [^] introduce a regression that affects to this issue, but 21272 already have a commit fixing it.