Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047700Retail ModulesWeb POSpublic2021-09-15 17:492021-09-21 08:16
Sergio_Gomez 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
No
0047700: Print Last Receipt option does not print cash returns correctly
When printing a ticket at the time of payment, the cash returns are printed correctly. However, with the Print last Receipt option, the originated ticket has the cash amount incorrectly modified.

With the preference WebPOS Split Change in Different Payment Details enabled it works badly too.
In https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^] :

-In Touchpoint set the HW manager URL.

In https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] :

-Select one product.
-Overpay the ticket with cash.
-In the HW manager check that the Total, Cash and Change printed are correct.
-In the left menu select Print last Receipt.
-In the HW manager check that the Cash printed is not correct.

*See also that with the Preference WebPOS Split Change in Different Payment Details = Y it gets wrong result.

**Attached images of a € 2 product paid with € 5 after with the Preference WebPOS Split Change in Different Payment Details enabled
No tags attached.
related to defect 0047407 closed ranjith_qualiantech_com Print last receipt Button doesn't show the ticket number. 
png original.png (56,951) 2021-09-15 17:49
https://issues.openbravo.com/file_download.php?file_id=16198&type=bug
png

png print_last_receipt.png (56,694) 2021-09-15 17:50
https://issues.openbravo.com/file_download.php?file_id=16199&type=bug
png
Issue History
2021-09-15 17:49Sergio_GomezNew Issue
2021-09-15 17:49Sergio_GomezAssigned To => Retail
2021-09-15 17:49Sergio_GomezFile Added: original.png
2021-09-15 17:49Sergio_GomezTriggers an Emergency Pack => No
2021-09-15 17:50Sergio_GomezFile Added: print_last_receipt.png
2021-09-16 07:58ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-09-20 04:40ranjith_qualiantech_comRelationship addedrelated to 0047407
2021-09-20 09:49hgbotNote Added: 0131917
2021-09-21 08:16hgbotResolutionopen => fixed
2021-09-21 08:16hgbotStatusnew => closed
2021-09-21 08:16hgbotNote Added: 0131937
2021-09-21 08:16hgbotNote Added: 0131938

Notes
(0131917)
hgbot   
2021-09-20 09:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.printlast/-/merge_requests/4 [^]
(0131937)
hgbot   
2021-09-21 08:16   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.printlast [^]
Changeset: ab861410cb95ffdafc77850832b19fb39107ed53
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-09-20T08:11:00+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.printlast/-/commit/ab861410cb95ffdafc77850832b19fb39107ed53 [^]

Fixed ISSUE-47700: Overpayment should not be updated when printing last receipt
* Last Receipt contains ticket without overpayment info. So overpayment should not be updated

---
M web/org.openbravo.retail.printlast/js/printLastButton.js
---
(0131938)
hgbot   
2021-09-21 08:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.printlast/-/merge_requests/4 [^]