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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048147
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantsmajoralways2021-11-23 18:272021-12-14 14:30
ReporterdbazView Statuspublic 
Assigned Toelara 
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

0048147: When several units of the same menu are added to a receipt, the modifier extra price is not increased proportionally

Description1. Configure simple menu with a product with extra cost (backoffice)
2. Configure a product belonging to simple menu with a modifer with extra price (Cheeseburger in sample data has already one with "Meat Temperature: Well Done" out of the box
3. Move to POS2 and add the menu to the order with these products you have just configured
4. Add an extra quantity of the product. Notice that the modifier price does not get incremented (but the product with extra cost, it is).

Check attached screenshot
Steps To Reproduce.
TagsNo tags attached.
Attached Filespng file icon ModifierPrice.png [^] (46,066 bytes) 2021-11-23 18:32

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0133515)
hgbot (developer)
2021-12-07 15:25

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/98 [^]
(0133516)
hgbot (developer)
2021-12-07 15:27

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/747 [^]
(0133685)
hgbot (developer)
2021-12-14 14:30

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 06630de1ccd19df70454cb119d11ac66c6a2cc50
Author: Eduardo Lara <eduardo.lara@smfconsulting.es>
Date: 14-12-2021 13:30:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/06630de1ccd19df70454cb119d11ac66c6a2cc50 [^]

Fixes ISSUE-48147: modifier extra price is not increased proportionally with ticket line quantity

Previously modifier extra price was not being updated when the quantity of the product changed,
that means that only the first modifier price appears, and if quantity is for example 2,
it is not multiplied by the quantity. This fixes that by using a newly passed qty property from payload.

---
M web-jspack/org.openbravo.pos2/src/components/ProductModifier/ProductModifierItemRender/ProductModifierItemRender.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/ProductConfiguration.jsx
---
(0133686)
hgbot (developer)
2021-12-14 14:30

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/747 [^]
(0133687)
hgbot (developer)
2021-12-14 14:30

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: a23986e7004d1fd925a6060e25c211076dfce0eb
Author: Eduardo Lara <eduardo.lara@smfconsulting.es>
Date: 14-12-2021 13:30:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/a23986e7004d1fd925a6060e25c211076dfce0eb [^]

Related to ISSUE-48147: Pass the quantity of menu ticket line to the render payload

---
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/TicketMenuInProgressLineItem/TicketMenuInProgressLineItem.jsx
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/TicketMenuLineItems/TicketMenuLineItems.jsx
---
(0133688)
hgbot (developer)
2021-12-14 14:30

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

- Issue History
Date Modified Username Field Change
2021-11-23 18:27 dbaz New Issue
2021-11-23 18:27 dbaz Assigned To => Retail
2021-11-23 18:27 dbaz Triggers an Emergency Pack => No
2021-11-23 18:32 dbaz File Added: ModifierPrice.png
2021-11-23 19:04 guilleaer Status new => acknowledged
2021-11-23 19:04 guilleaer Severity minor => major
2021-12-03 20:42 elara Assigned To Retail => elara
2021-12-06 13:21 elara Status acknowledged => scheduled
2021-12-07 15:25 hgbot Note Added: 0133515
2021-12-07 15:27 hgbot Note Added: 0133516
2021-12-14 14:30 hgbot Resolution open => fixed
2021-12-14 14:30 hgbot Status scheduled => closed
2021-12-14 14:30 hgbot Note Added: 0133685
2021-12-14 14:30 hgbot Note Added: 0133686
2021-12-14 14:30 hgbot Note Added: 0133687
2021-12-14 14:30 hgbot Note Added: 0133688


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker