Openbravo Issue Tracking System - POS2
View Issue Details
0053127POS2POSpublic2023-08-02 09:472024-11-20 09:54
asier_perez 
Rajesh_18 
normaltrivialalways
closedfixed 
5
 
25Q1 
No
0053127: [23Q3] In the Cash Up process, the automatic formatting of counting the payment methods amounts is not consistent
In the first step of the Cash Up process, when entering any number on the field of any payment method, the .00 adds automatically (see merged.png), except for the Cash (Coins) and Cash (Bills) only if they are split (see split.png).
1) Log in POS2
2) Add any product to the ticket
3) Pay the ticket with cash
4) Click on 'Close Till'
5) In the first step of the Cash Up process, select 'Show All Payment Mt'
6) Click on the 'Counted' field of the first payment method and enter '1' => '1.00' will be displayed automatically
7) Repeat the step 6 with the rest of the payment methods to verify it works the same way => It should work that way with the Cash payment method
8) Click on 'Split Coins & Bills'
9) Click on the 'Counted' field of Cash (Coins) or Cash (Bills) and enter '1' => '1' will be displayed instead of '1.00'
No tags attached.
png merged.png (40,610) 2023-08-02 09:47
https://issues.openbravo.com/file_download.php?file_id=18828&type=bug
png

png split.png (45,472) 2023-08-02 09:47
https://issues.openbravo.com/file_download.php?file_id=18829&type=bug
png
Issue History
2023-08-02 09:47asier_perezNew Issue
2023-08-02 09:47asier_perezAssigned To => Retail
2023-08-02 09:47asier_perezFile Added: merged.png
2023-08-02 09:47asier_perezTriggers an Emergency Pack => No
2023-08-02 09:47asier_perezFile Added: split.png
2023-10-13 07:01Rajesh_18Assigned ToRetail => Rajesh_18
2023-10-13 07:01Rajesh_18Statusnew => scheduled
2024-04-03 12:01hgbotNote Added: 0162807
2024-11-20 09:54hgbotResolutionopen => fixed
2024-11-20 09:54hgbotStatusscheduled => closed
2024-11-20 09:54hgbotNote Added: 0172302
2024-11-20 09:54hgbotFixed in Version => 25Q1
2024-11-20 09:54hgbotNote Added: 0172303

Notes
(0162807)
hgbot   
2024-04-03 12:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2542 [^]
(0172302)
hgbot   
2024-11-20 09:54   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2542 [^]
(0172303)
hgbot   
2024-11-20 09:54   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c66cb8512ccbc1fb546aa66122cdcdf3c65e54d9
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 20-11-2024 08:54:15
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c66cb8512ccbc1fb546aa66122cdcdf3c65e54d9 [^]

Fixes ISSUE-53127: In Cash up, Decimal Precision set to Coins and Bills

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/CountPaymentMethodsStep/__test__/CountPaymentMethodsStep.test.jsx
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SetCountedAmount.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/UpdateCountedAmountUserAction.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetCountedAmount.js
---