Openbravo Issue Tracking System - POS2
View Issue Details
0055752POS2POSpublic2024-06-12 13:582024-08-22 09:57
nicolasuriz 
Rajesh_18 
highmajoralways
closedfixed 
5
 
24Q4 
approved
OBPS
No
0055752: Split coins and bills Counting Tool fonctionnality in the cashup does not take into account the currency configuration.
At Touchpoint Type level, if the configuration is "Split coins & bills in cashup" = Always, the POS is not taken into account the configuration of Currencies.

With that I mean that if one Currency has only Bill denomination in his configuration, the POS should only show one line with that Currency and Bill denomination as it is not defined any other type of currency denomination.

And if we have a second currency and in this case we have Coins and bill denomination, then it has to display two lines splitted, one for coins and the other for bills.
Having two different currencies, one with Coin and Bills currency denomination and the other currency just with Bills currency denomination. At Touchpoint type level, the field "Split coins & bills in cashup" = Always.

1. Login POS
2. Do the Initial Count and check that the currency with just Bills defined has two lines, one for coins and other for bills. If you click on coins and in the counting tool, the wrong currency counting tool is displayed (the one with the coins defined even though it is not the one we are counting)
3. It happens the same in the Close Till counting.
The Split Coins and bills functionnality should take into account if the currency has a coin and bill denomination in order to show the fields.

And in the case we keep both fields displayed even though it is not defined, the counting tool has to be empty as there is no definition done and not taking the definition of the other currency.
No tags attached.
Issue History
2024-06-12 13:58nicolasurizNew Issue
2024-06-12 13:58nicolasurizAssigned To => Retail
2024-06-12 13:58nicolasurizOBNetwork customer => OBPS
2024-06-12 13:58nicolasurizTriggers an Emergency Pack => No
2024-06-13 12:59marvintmStatusnew => acknowledged
2024-06-14 08:28Rajesh_18Assigned ToRetail => Rajesh_18
2024-06-14 08:28Rajesh_18Statusacknowledged => scheduled
2024-06-18 08:23hgbotMerge Request Status => open
2024-06-18 08:23hgbotNote Added: 0166046
2024-08-22 09:57hgbotMerge Request Statusopen => approved
2024-08-22 09:57hgbotResolutionopen => fixed
2024-08-22 09:57hgbotStatusscheduled => closed
2024-08-22 09:57hgbotNote Added: 0168352
2024-08-22 09:57hgbotFixed in Version => 24Q4
2024-08-22 09:57hgbotNote Added: 0168353

Notes
(0166046)
hgbot   
2024-06-18 08:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2731 [^]
(0168352)
hgbot   
2024-08-22 09:57   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2731 [^]
(0168353)
hgbot   
2024-08-22 09:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 3dd215d64125f3a9d79314cada02078780e16091
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 22-08-2024 07:17:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/3dd215d64125f3a9d79314cada02078780e16091 [^]

Fixed ISSUE-55752: If currency doesn't have coins or bills, It won't be shown to user

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/CashupSplitInputs.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/__test__/CashupSplitInputs.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitPaymentMethodName/CashupSplitPaymentMethodName.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitPaymentMethodName/__test__/CashupSplitPaymentMethodName.test.jsx
---