Openbravo Issue Tracking System - POS2
View Issue Details
0056379POS2POSpublic2024-09-05 13:382024-09-09 16:33
adrianromero 
adrianromero 
normalmajorhave not tried
closedfixed 
5
 
24Q4 
No
0056379: Option code field should be visible ONLY if there are codes configured for that payment method
There should be a backoffice window in order to create option codes linked to payment methods.
Then, if the Additional Information pop up is opened in the POS becuase the payment method is configured for so, the option code field should be visible ONLY if there are values configured in backoffice. And it should be a list of values.
N/A
No tags attached.
png Screenshot from 2024-09-05 13-57-43.png (80,519) 2024-09-05 13:58
https://issues.openbravo.com/file_download.php?file_id=20134&type=bug
png
Issue History
2024-09-05 13:38adrianromeroNew Issue
2024-09-05 13:38adrianromeroAssigned To => adrianromero
2024-09-05 13:38adrianromeroTriggers an Emergency Pack => No
2024-09-05 13:44hgbotNote Added: 0168815
2024-09-05 13:55adrianromeroNote Added: 0168816
2024-09-05 13:58adrianromeroFile Added: Screenshot from 2024-09-05 13-57-43.png
2024-09-09 16:33hgbotResolutionopen => fixed
2024-09-09 16:33hgbotStatusnew => closed
2024-09-09 16:33hgbotFixed in Version => 24Q4
2024-09-09 16:33hgbotNote Added: 0168974
2024-09-09 16:33hgbotNote Added: 0168975

Notes
(0168815)
hgbot   
2024-09-05 13:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2899 [^]
(0168816)
adrianromero   
2024-09-05 13:55   
Tested:
* If no Option Code field is configured the Option Code field does not appear
* If configured it will be displayed and stored.

See attached screenshot for the configuration
(0168974)
hgbot   
2024-09-09 16:33   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2a3f1d4e36cf00b8124bdb20d4bfd3f0716e1a73
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 09-09-2024 16:05:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2a3f1d4e36cf00b8124bdb20d4bfd3f0716e1a73 [^]

Fixes ISSUE-56379: Option code field should be visible ONLY if there are codes configured for that payment method

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AskForAdditionalPaymentMethodsInfo.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/__test__/AskForAdditionalPaymentMethodsInfo.test.js
---
(0168975)
hgbot   
2024-09-09 16:33   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2899 [^]