Openbravo Issue Tracking System - POS2
View Issue Details
0051090POS2POSpublic2022-12-11 18:402022-12-12 09:56
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
23Q1 
No
0051090: Discount based on unit and list price shows zero if there is no difference in ticket line display
See attached screenshot. This happens when the ui display is List Price with Amount or List Price with Percentage.

To reproduce set the price settings as displayed in the attached screenshot.
do not display discount which is zero
No tags attached.
png Screenshot from 2022-12-11 18-34-45.png (254,491) 2022-12-11 18:40
https://issues.openbravo.com/file_download.php?file_id=17923&type=bug
png

png shows-issue.png (96,629) 2022-12-11 18:42
https://issues.openbravo.com/file_download.php?file_id=17924&type=bug
png

png after-fix.png (119,559) 2022-12-11 18:43
https://issues.openbravo.com/file_download.php?file_id=17925&type=bug
png
Issue History
2022-12-11 18:40mtaalNew Issue
2022-12-11 18:40mtaalAssigned To => mtaal
2022-12-11 18:40mtaalFile Added: Screenshot from 2022-12-11 00-56-56.png
2022-12-11 18:40mtaalTriggers an Emergency Pack => No
2022-12-11 18:40mtaalFile Added: Screenshot from 2022-12-11 18-34-45.png
2022-12-11 18:42mtaalFile Deleted: Screenshot from 2022-12-11 00-56-56.png
2022-12-11 18:42mtaalFile Added: shows-issue.png
2022-12-11 18:43mtaalFile Added: after-fix.png
2022-12-11 18:46hgbotNote Added: 0144499
2022-12-12 09:56hgbotResolutionopen => fixed
2022-12-12 09:56hgbotStatusnew => closed
2022-12-12 09:56hgbotFixed in Version => 23Q1
2022-12-12 09:56hgbotNote Added: 0144508
2022-12-12 09:56hgbotNote Added: 0144509

Notes
(0144499)
hgbot   
2022-12-11 18:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1410 [^]
(0144508)
hgbot   
2022-12-12 09:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4ee56e3ad0ee646665f75e83cc7f1a19a0164730
Author: Martin Taal <martin.taal@openbravo.com>
Date: 12-12-2022 08:55:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4ee56e3ad0ee646665f75e83cc7f1a19a0164730 [^]

Fixed ISSUE-51090: Discount based on unit and list price shows zero if there is no difference in ticket line display

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLineDiscount/TicketLineDiscount.jsx
---
(0144509)
hgbot   
2022-12-12 09:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1410 [^]