Openbravo Issue Tracking System - POS2
View Issue Details
0048147POS2Restaurantspublic2021-11-23 18:272021-12-14 14:30
dbaz 
elara 
highmajoralways
closedfixed 
5
 
 
No
0048147: When several units of the same menu are added to a receipt, the modifier extra price is not increased proportionally
1. 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
.
No tags attached.
png ModifierPrice.png (46,066) 2021-11-23 18:32
https://issues.openbravo.com/file_download.php?file_id=16392&type=bug
png
Issue History
2021-11-23 18:27dbazNew Issue
2021-11-23 18:27dbazAssigned To => Retail
2021-11-23 18:27dbazTriggers an Emergency Pack => No
2021-11-23 18:32dbazFile Added: ModifierPrice.png
2021-11-23 19:04guilleaerStatusnew => acknowledged
2021-11-23 19:04guilleaerSeverityminor => major
2021-12-03 20:42elaraAssigned ToRetail => elara
2021-12-06 13:21elaraStatusacknowledged => scheduled
2021-12-07 15:25hgbotNote Added: 0133515
2021-12-07 15:27hgbotNote Added: 0133516
2021-12-14 14:30hgbotResolutionopen => fixed
2021-12-14 14:30hgbotStatusscheduled => closed
2021-12-14 14:30hgbotNote Added: 0133685
2021-12-14 14:30hgbotNote Added: 0133686
2021-12-14 14:30hgbotNote Added: 0133687
2021-12-14 14:30hgbotNote Added: 0133688

Notes
(0133515)
hgbot   
2021-12-07 15:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/98 [^]
(0133516)
hgbot   
2021-12-07 15:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/747 [^]
(0133685)
hgbot   
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   
2021-12-14 14:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/747 [^]
(0133687)
hgbot   
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   
2021-12-14 14:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/98 [^]