Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051119Retail ModulesWeb POSpublic2022-12-13 08:272023-01-04 07:50
guillermogil 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR23Q1 
No
0051119: Payment amount is changed if the amount is really big
Payment amount is changed if the amount is really big

Every digit after the 17th is changed to a 0 and the payment gets added with a different amount
- Login on WebPOS
- Add a product
- Go to Checkout
- Select voucher
- Add the following amount: 12345678901234567890

You will see that the payment added to the ticket is 12345678901234567000
No tags attached.
Issue History
2022-12-13 08:27guillermogilNew Issue
2022-12-13 08:27guillermogilAssigned To => Retail
2022-12-13 08:27guillermogilTriggers an Emergency Pack => No
2022-12-14 07:05guillermogilDescription Updatedbug_revision_view_page.php?rev_id=25243#r25243
2022-12-15 10:13ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-12-15 10:13ranjith_qualiantech_comStatusnew => scheduled
2022-12-19 05:45hgbotNote Added: 0144795
2023-01-04 07:50hgbotResolutionopen => fixed
2023-01-04 07:50hgbotStatusscheduled => closed
2023-01-04 07:50hgbotNote Added: 0145149
2023-01-04 07:50hgbotFixed in Version => RR23Q1
2023-01-04 07:50hgbotNote Added: 0145150

Notes
(0144795)
hgbot   
2022-12-19 05:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1017 [^]
(0145149)
hgbot   
2023-01-04 07:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1017 [^]
(0145150)
hgbot   
2023-01-04 07:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 4dbd0068d199b2e0781eaefef2cbc359bb0ed681
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-01-2023 06:50:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4dbd0068d199b2e0781eaefef2cbc359bb0ed681 [^]

Fixed ISSUE-51119: Maximum payment amt should be maximum of maximum integer value

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---