Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040839 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Cash up | major | always | 2019-05-10 14:04 | 2019-05-16 09:35 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d6c29e6e89fc | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040839: Partial Cash Up prints wrong amounts in the summary section | |||||||
Description | Partial Cash Up prints wrong amounts in the summary section, it shows "undefined" instead of showing real amounts. In addition, if the environment is using the Sessions module, if the printing fails and the user clicks on cancel or closes the popup, the application performs a logout. | |||||||
Steps To Reproduce | Login in backend, go to the Channel - Touchpoint window and configure the hardware url for the VBS-1 terminal. Login in webpos, terminal VBS-1. Turn on the hardware manager. Click on the menu > Cash Up Partial Click on Print & Close. Check the hardware manager for the printed report | |||||||
Proposed Solution | The parameters in the call to the print function in Partial Cash Up[1] are wrong: instead of following the "report, sumary, closed, callback" order (as defined by the function here[2]) the parameters are sent to the function in the order "report, closed, sumary, callback". The boolean in place of the summary breaks the partial cashup printing, while the summary object in place of the closed boolean causes the sessions module to force a logout (since the print function has been overriden in that module). The fix is simply to revert the order of the parameters to the correct order. [1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js#l838 [^] [2] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/web/org.openbravo.retail.posterminal/js/closecash/model/cashup-print.js#l22 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0111698) hgbot (developer) 2019-05-16 00:42 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: d6c29e6e89fc27ae4210743498890fe585fa4250 Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Tue May 14 13:50:54 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d6c29e6e89fc27ae4210743498890fe585fa4250 [^] Fixed issue 40839: Partial Cash Up prints wrong amounts in the summary section - Changed parameters order in printCashUp.print function call --- M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-05-10 14:04 | aaroncalero | New Issue | |
2019-05-10 14:04 | aaroncalero | Assigned To | => Retail |
2019-05-10 14:04 | aaroncalero | OBNetwork customer | => Gold |
2019-05-10 14:04 | aaroncalero | Resolution time | => 1559253600 |
2019-05-10 14:04 | aaroncalero | Triggers an Emergency Pack | => No |
2019-05-11 13:49 | rqueralta | Assigned To | Retail => rqueralta |
2019-05-11 13:49 | rqueralta | Status | new => scheduled |
2019-05-16 00:42 | hgbot | Checkin | |
2019-05-16 00:42 | hgbot | Note Added: 0111698 | |
2019-05-16 00:42 | hgbot | Status | scheduled => resolved |
2019-05-16 00:42 | hgbot | Resolution | open => fixed |
2019-05-16 00:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d6c29e6e89fc27ae4210743498890fe585fa4250 [^] |
2019-05-16 09:35 | marvintm | Review Assigned To | => marvintm |
2019-05-16 09:35 | marvintm | Status | resolved => closed |
2019-05-16 09:35 | marvintm | Fixed in Version | => RR19Q3 |
Copyright © 2000 - 2009 MantisBT Group |