Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036110Retail ModulesWeb POS Hardware Managerpublic2017-05-25 17:152022-01-11 12:31
nataliag 
Triage Platform Conn 
normalmajoralways
newopen 
5
 
 
No
0036110: Field "Change" not visible printing a paid receipt
When you load a receipt which has already been paid using a non exact money amount, so some change has been given,and you print it, the “change” field is not visible in the printed ticket, only is the "Cash" field.
1-Configure the hardware manager in the POS terminal.
2- Go to POS terminal and create a new ticket. Add for example the "Headlamp ultralight"
3- Pay the ticket using cash and 20€; 1.10€ is the change.
4- Press the "Done" button and a ticket is printed in the hardware manager with two fields, "Cash" and "Change". (See attached image Receipt_1.png).
5- Now, select "Receipt" in the POS menu and load the ticket created in last steps.
6-Using the Developers Tool check the value of "change" (OB.MobileApp.model.receipt.get('change'). It is set as 0
7- Print the ticket and see that only the "Cash" field is present and not the "Change" one. (See image attached Receipt_2.png)
No tags attached.
png Receipt_2.png (43,114) 2017-05-25 17:15
https://issues.openbravo.com/file_download.php?file_id=10797&type=bug
png

png Receipt_1.png (43,502) 2017-05-25 17:16
https://issues.openbravo.com/file_download.php?file_id=10798&type=bug
png
Issue History
2017-05-25 17:15nataliagNew Issue
2017-05-25 17:15nataliagAssigned To => Retail
2017-05-25 17:15nataliagFile Added: Receipt_2.png
2017-05-25 17:15nataliagResolution time => 1497477600
2017-05-25 17:15nataliagTriggers an Emergency Pack => No
2017-05-25 17:16nataliagFile Added: Receipt_1.png
2017-05-29 17:26marvintmResolution time1497477600 =>
2017-05-29 17:26marvintmTypedefect => design defect
2018-04-11 15:29alekosmp86Assigned ToRetail => alekosmp86
2018-04-11 15:30alekosmp86Statusnew => scheduled
2018-04-11 15:34hgbotCheckin
2018-04-11 15:34hgbotNote Added: 0103818
2018-04-11 15:34hgbotStatusscheduled => resolved
2018-04-11 15:34hgbotResolutionopen => fixed
2018-04-11 15:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8f50ca0b45bd152a8ba49a30136f772a25d7c070 [^]
2018-05-04 15:33hgbotCheckin
2018-05-04 15:33hgbotNote Added: 0104286
2018-05-04 15:33marvintmStatusresolved => new
2018-05-04 15:33marvintmResolutionfixed => open
2018-05-04 15:33marvintmAssigned Toalekosmp86 => Retail
2022-01-11 12:31alostaleAssigned ToRetail => Triage Platform Conn

Notes
(0103818)
hgbot   
2018-04-11 15:34   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8f50ca0b45bd152a8ba49a30136f772a25d7c070
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Apr 09 15:02:00 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8f50ca0b45bd152a8ba49a30136f772a25d7c070 [^]

Fixes issue 36110: Field "Change" is now visible when printing a paid receipt

---
M web/org.openbravo.retail.posterminal/res/printclosedreceipt.xml
---
(0104286)
hgbot   
2018-05-04 15:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d966ae0cba6c314d495a9811610dd1feba65855e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 04 15:33:19 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d966ae0cba6c314d495a9811610dd1feba65855e [^]

Related to issue 36110. Backout fix as it is not correct, because change information is not yet available in the OB backoffice model

---
M web/org.openbravo.retail.posterminal/res/printclosedreceipt.xml
---