Openbravo Issue Tracking System - POS2
View Issue Details
0047457POS2POSpublic2021-07-26 12:492021-07-28 12:59
timothee_catteeuw 
hernan-dp 
normalminoralways
closedfixed 
5
 
TAP 
No
0047457: JIRA 2142 - Issue when selecting a Variable Discount per Total Amount
When selecting this kind of discount :
- Variable Discount per Total Amount
- Fixed Discount per Total Amount

--> In the "order discounts" menu when I select a this kind of discount, a line is displayed in "Applied Discounts" section. Here I can fill in an amount or display the amount. But at the right the amount it is displayed % and not €.

--> cf. screenshot

There is no problem with this kind of discount for example --> User Defined Amount --> it works well
Configure a Variable Discount per Total Amount
Update your till
Login Webpos
Start a ticket and select several products
click order discount
select discount you have previously configured
Symbol is %
Display the correct symbol € instead of %
No tags attached.
png Screen.png (41,596) 2021-07-26 12:49
https://issues.openbravo.com/file_download.php?file_id=16045&type=bug
png
Issue History
2021-07-26 12:49timothee_catteeuwNew Issue
2021-07-26 12:49timothee_catteeuwAssigned To => Retail
2021-07-26 12:49timothee_catteeuwFile Added: Screen.png
2021-07-26 12:49timothee_catteeuwTriggers an Emergency Pack => No
2021-07-26 13:58dmiguelezResolution time => 1629064800
2021-07-26 13:58dmiguelezAssigned ToRetail => hernan-dp
2021-07-26 13:58dmiguelezStatusnew => acknowledged
2021-07-27 13:26dmiguelezStatusacknowledged => scheduled
2021-07-27 17:29hgbotNote Added: 0130810
2021-07-28 12:59hgbotResolutionopen => fixed
2021-07-28 12:59hgbotStatusscheduled => closed
2021-07-28 12:59hgbotNote Added: 0130836
2021-07-28 12:59hgbotNote Added: 0130837

Notes
(0130810)
hgbot   
2021-07-27 17:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/636 [^]
(0130836)
hgbot   
2021-07-28 12:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c19138aa8ac0df93511287926802434bf44569f7
Author: hernan-dp <h.de.prada1@gmail.com>
Date: 2021-07-28T10:58:48+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c19138aa8ac0df93511287926802434bf44569f7 [^]

fixes ISSUE-47457: Fixed condition to check if is amount.

---
M web-jspack/org.openbravo.pos2/src/components/Discounts/OrderDiscount/OrderDiscountInputAmountCell/OrderDiscountInputAmountCell.jsx
---
(0130837)
hgbot   
2021-07-28 12:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/636 [^]