Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041960 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-10-09 12:05 | 2019-10-23 12:29 | |||
Reporter | samuel_nicuesa | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR20Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 64e9b6d49bfa | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 121777 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0041960: Delete discount button is not working if the discount is over 1000 | |||||||
Description | Delete discount button is not working if the discount is over 1000. | |||||||
Steps To Reproduce | [POS] Add a product to the ticket Change the price to 90000because the discount will be > 1000. Add the discount 29000 Select the product line and try to delete the discount You will see the following error (see the attached image) | |||||||
Proposed Solution | Apply the parseFloat to this line: line.$.price.content "-29,000.00" line.$.price.content = parseFloat(line.$.price.content); -29 See the attached image | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0115173) hgbot (developer) 2019-10-21 04:53 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 64e9b6d49bfa679374b45c61149f475108ee8966 Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Fri Oct 11 18:31:17 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/64e9b6d49bfa679374b45c61149f475108ee8966 [^] Fixed issue 41960: Delete discount button is not working if the discount is over 1000 - Applied parseFloat to price value to avoid a javascript error when this value is converted to number --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/modals/modalDeleteDiscounts.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-10-09 12:05 | samuel_nicuesa | New Issue | |
2019-10-09 12:05 | samuel_nicuesa | Assigned To | => Retail |
2019-10-09 12:05 | samuel_nicuesa | File Added: DeleteDiscount.png | |
2019-10-09 12:05 | samuel_nicuesa | OBNetwork customer | => Gold |
2019-10-09 12:05 | samuel_nicuesa | Support ticket | => 121777 |
2019-10-09 12:05 | samuel_nicuesa | Resolution time | => 1572390000 |
2019-10-09 12:05 | samuel_nicuesa | Triggers an Emergency Pack | => No |
2019-10-09 12:06 | samuel_nicuesa | File Added: Solution.png | |
2019-10-09 17:17 | rqueralta | Assigned To | Retail => rqueralta |
2019-10-09 17:18 | rqueralta | Status | new => scheduled |
2019-10-21 04:53 | hgbot | Checkin | |
2019-10-21 04:53 | hgbot | Note Added: 0115173 | |
2019-10-21 04:53 | hgbot | Status | scheduled => resolved |
2019-10-21 04:53 | hgbot | Resolution | open => fixed |
2019-10-21 04:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/64e9b6d49bfa679374b45c61149f475108ee8966 [^] |
2019-10-23 12:29 | marvintm | Review Assigned To | => marvintm |
2019-10-23 12:29 | marvintm | Status | resolved => closed |
2019-10-23 12:29 | marvintm | Fixed in Version | => RR20Q1 |
Copyright © 2000 - 2009 MantisBT Group |