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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052437
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2023-05-12 12:362023-05-22 10:54
ReporterAugustoMauchView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionfixedFixed in Version23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052437: Shopping cart icon in portrait mode should display number of products in the ticket, not number of lines

DescriptionThe shopping cart icon that is displayed in the application bar in portrait mode should render the number of products in the instead, instead of the number of rows as it is currently doing.

See attached image
Steps To Reproduce- Open POS2
- Switch to portrait mode
- Add two lines to the ticket
- Increase the quantity of one of them from 1 to 3. Note that the shopping cart icon is rendering a "2" (2 lines), when it should render a "4" (4 products).
TagsNo tags attached.
Attached Filespng file icon ShoppingCartIcon.png [^] (285,029 bytes) 2023-05-12 12:36

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0149710)
hgbot (developer)
2023-05-15 17:05

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1795 [^]
(0150050)
hgbot (developer)
2023-05-22 10:54

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a1b7a88178ac446e3f2198294c8a33793cedbe1c
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 22-05-2023 08:53:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a1b7a88178ac446e3f2198294c8a33793cedbe1c [^]

Fixes ISSUE-52437: Shopping cart icon in portrait mode should display number of products in the ticket, not number of lines

The shopping cart icon that is displayed in the application bar in portrait mode should render the number of products in the instead, instead of the number of rows as it is currently doing.

The problem was in the content of badgeInfo that containt the length of the ticket's lines not the sum of the quatity of each one.

---
A web-jspack/org.openbravo.pos2/src/components/ShoppingCart/__test__/ShoppingCartButton.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ShoppingCart/ShoppingCartButton.jsx
---
(0150051)
hgbot (developer)
2023-05-22 10:54

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

- Issue History
Date Modified Username Field Change
2023-05-12 12:36 AugustoMauch New Issue
2023-05-12 12:36 AugustoMauch Assigned To => meriem_azaf
2023-05-12 12:36 AugustoMauch File Added: ShoppingCartIcon.png
2023-05-12 12:36 AugustoMauch OBNetwork customer => No
2023-05-12 12:36 AugustoMauch Triggers an Emergency Pack => No
2023-05-12 12:36 AugustoMauch Status new => scheduled
2023-05-15 17:05 hgbot Merge Request Status => open
2023-05-15 17:05 hgbot Note Added: 0149710
2023-05-22 10:53 hgbot Merge Request Status open => approved
2023-05-22 10:54 hgbot Resolution open => fixed
2023-05-22 10:54 hgbot Status scheduled => closed
2023-05-22 10:54 hgbot Fixed in Version => 23Q3
2023-05-22 10:54 hgbot Note Added: 0150050
2023-05-22 10:54 hgbot Note Added: 0150051


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker