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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048356
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantsmajoralways2022-01-05 10:282022-01-14 15:12
ReportermmohammadView Statuspublic 
Assigned Toebecerra 
PrioritynormalResolutionfixedFixed in Version
StatusresolvedFix 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

0048356: jira 2177 - [FS] 0 missing when the amount is a decimal

DescriptionOn WEBPOS, the amount of the POP is not not well displayed. Indeed, we expect a display of the amount in decimal with two decimal places. But we observe that this is not the case. It is the same on the input box of total amount in payment method.

When wanting to select POP with filling in amount and the amount is a decimal and finish by 0 (ex 65.50) , the displayed value don’t have the 0 (for the same example 65.5)
Steps To ReproduceGo to sales on WEBPOS
Create a receipt with products
Go to payment => the total amount in the checkbox is with 1 decimal and we expected 2
Choose payment and validate the sale.
Go to last order POP
Create new and fill in amount => the amount displayed is with 1 decimal and we expected with 2.
TagsNo tags attached.
Attached Filesjpg file icon Decimal.jpg [^] (80,708 bytes) 2022-01-05 10:28

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0134244)
guilleaer (manager)
2022-01-12 09:16

https://gitlab.com/openbravo/devel/pmods/org.openbravo.pos2/-/merge_requests/82 [^]
(0134304)
hgbot (developer)
2022-01-14 15:11

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/778 [^]
(0134305)
hgbot (developer)
2022-01-14 15:12

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8e0611ece6f57812de74ff4c288c9257223a8866
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 14-01-2022 15:10:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8e0611ece6f57812de74ff4c288c9257223a8866 [^]

Fixes ISSUE-48356: 0 missing when the amount is a decimal

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentPanel/PaymentPanel.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentPanel/__test__/PaymentPanel.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentPanel/stories/PaymentPanel.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentHeader/ProofOfPaymentFillConfigDialog/ProofOfPaymentAmountInput/ProofOfPaymentAmountInput.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentHeader/ProofOfPaymentFillConfigDialog/ProofOfPaymentAmountInput/__test__/ProofOfPaymentAmountInput.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentHeader/ProofOfPaymentFillConfigDialog/ProofOfPaymentFillConfigDialogContent/__test__/ProofOfPaymentFillConfigDialogContent.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentHeader/ProofOfPaymentFillConfigDialog/__test__/ProofOfPaymentFillConfigDialog.test.jsx
---
(0134306)
hgbot (developer)
2022-01-14 15:12

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

- Issue History
Date Modified Username Field Change
2022-01-05 10:28 mmohammad New Issue
2022-01-05 10:28 mmohammad Assigned To => Retail
2022-01-05 10:28 mmohammad File Added: Decimal.jpg
2022-01-05 10:28 mmohammad Triggers an Emergency Pack => No
2022-01-10 09:14 ebecerra Assigned To Retail => ebecerra
2022-01-10 09:15 ebecerra Status new => scheduled
2022-01-12 09:16 guilleaer Note Added: 0134244
2022-01-14 15:11 hgbot Note Added: 0134304
2022-01-14 15:12 hgbot Resolution open => fixed
2022-01-14 15:12 hgbot Status scheduled => resolved
2022-01-14 15:12 hgbot Note Added: 0134305
2022-01-14 15:12 hgbot Note Added: 0134306


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker