Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047915
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2021-10-22 09:542021-10-27 14:39
ReporterjmelinView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047915: JIRA 2435 - Discounts - Price of the menu with discount menu offert

DescriptionWhen applying a discount to the order (not selected lines), the discount is correctly applied and the new total price is correct, but in the sales window :
- the price of product don't change
- the price of menu is price - discount part of the line
Steps To Reproduce
In Backend;
At organization level, check "Show order discount in a separate section"
Create a discount of type "Variable Discount per Total Amount".

On the POS:
Refresh
Create an order with a menu and some products
Ex:
Menu = 5.95
Product A = 1.35
Product B = 1.20
Total = 8.5

Select and apply the previous discount
For example, the discount is price of the menu = 5.95
New total = 2.55 => OK

But in the sales window, it displays:
Menu = 1.74
Product A = 1.35
Product B = 1.20
=> KO

Expected behavior
Menu = 5.95
Product A = 1.35
Product B = 1.20
Discount = 5.95 (order level)
Total = 2.55



TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047924TAP closedprakashmurugesan88 JIRA 2435 - Discounts - Price of the menu with discount menu offert 

-  Notes
(0132633)
hgbot (developer)
2021-10-26 11:22

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/89 [^]
(0132686)
hgbot (developer)
2021-10-27 14:39

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: a95246257daa7d53f740adab974b1b5a7cab50fd
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-10-27T12:32:39+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/a95246257daa7d53f740adab974b1b5a7cab50fd [^]

Fixed BUG-47915: Fixes menu product price issue when ApplyTicketDiscountsToOrder is true
* when ApplyTicketDiscountsToOrder is true, discounts of type discount per total amount
should be shown at ticket summary and product price should be price without discount.
* But for menu product price it shows price with discount.
* Fixed by displaying grossUnitAmountWithoutTicketDiscounts when ApplyTicketDiscountsToOrder is true

---
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/TicketMenuPrice/TicketMenuPrice.jsx
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/TicketMenuPrice/__test__/TicketMenuPrice.test.jsx
---
(0132687)
hgbot (developer)
2021-10-27 14:39

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/89 [^]

- Issue History
Date Modified Username Field Change
2021-10-22 09:54 jmelin New Issue
2021-10-22 09:54 jmelin Assigned To => Retail
2021-10-22 09:54 jmelin Triggers an Emergency Pack => No
2021-10-22 13:40 guilleaer Status new => scheduled
2021-10-22 13:40 guilleaer Assigned To Retail => prakashmurugesan88
2021-10-26 11:22 hgbot Note Added: 0132633
2021-10-27 14:39 hgbot Resolution open => fixed
2021-10-27 14:39 hgbot Status scheduled => closed
2021-10-27 14:39 hgbot Note Added: 0132686
2021-10-27 14:39 hgbot Note Added: 0132687


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker