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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052723
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-06-12 15:412023-06-14 12:56
ReporterpniamView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerGold
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052723: Buttons disable in Send and print on POS2 is not working

DescriptionWhen the popup from send and print is showed on POS2 there's a rule on the buttons to set the "disabled" attribute to true in case of the hardwareURL is empty
But it seems this "disabled" seems to be ignored, changing the code and seting it to true directly also fails, the button is always able to be pressed.
Steps To ReproduceGo to the backoffice and set the "channel Touchpoint Type"'s check named "Deliver Receipt Options" to true

Go to the file named "getReceiptDeliveryOptionsDefaultButtons.js" from POS2 module and change the line
"disabled: !TerminalProperty.get('terminal').hardwareurl,"
to "disabled: true," to be sure is set as true

Then log in into React pos and do a transaction, when the popup is shown the buttons aren't bloqued and can be pressed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0151112)
hgbot (developer)
2023-06-13 15:10

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1892 [^]
(0151147)
hgbot (developer)
2023-06-14 12:56

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1892 [^]
(0151148)
hgbot (developer)
2023-06-14 12:56

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 54dceed164b704860b7eba00cd06b39add40e5c9
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 14-06-2023 10:55:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/54dceed164b704860b7eba00cd06b39add40e5c9 [^]

Fixed ISSUE-52723: Updated disable property in ReceiptDeliveryOption buttons
* ExtraButtons disable property "isDisabled" should be used in ReceiptDeliveryOption buttons

---
M web-jspack/org.openbravo.pos2/src/components/ReceiptDeliveryOptions/BookedReceiptDeliveryOptions/BookedReceiptDeliveryOptions.jsx
M web-jspack/org.openbravo.pos2/src/components/ReceiptDeliveryOptions/BookedReceiptDeliveryOptions/__test__/BookedReceiptDeliveryOptions.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ReceiptDeliveryOptions/DraftReceiptDeliveryOptions/__test__/getDraftReceiptDeliveryOptionsButtons.test.js
M web-jspack/org.openbravo.pos2/src/components/ReceiptDeliveryOptions/DraftReceiptDeliveryOptions/getDraftReceiptDeliveryOptionsButtons.js
M web-jspack/org.openbravo.pos2/src/components/ReceiptDeliveryOptions/SharedReceiptDeliveryOptions/__test__/getReceiptDeliveryOptionsDefaultButtons.jsx
M web-jspack/org.openbravo.pos2/src/components/ReceiptDeliveryOptions/SharedReceiptDeliveryOptions/getReceiptDeliveryOptionsDefaultButtons.js
M web-jspack/org.openbravo.pos2/src/components/ReceiptDeliveryOptions/stories/ReceiptDeliveryOptionsStoriesUtils.jsx
---

- Issue History
Date Modified Username Field Change
2023-06-12 15:41 pniam New Issue
2023-06-12 15:41 pniam Assigned To => Retail
2023-06-12 15:41 pniam Triggers an Emergency Pack => No
2023-06-12 16:03 guillermogil OBNetwork customer => No
2023-06-12 16:03 guillermogil Summary Send and print on POS2 is not working => Buttons disable in Send and print on POS2 is not working
2023-06-12 16:03 guillermogil Description Updated View Revisions
2023-06-12 16:04 guillermogil OBNetwork customer No => Gold
2023-06-13 09:41 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-06-13 15:10 hgbot Merge Request Status => open
2023-06-13 15:10 hgbot Note Added: 0151112
2023-06-14 12:56 hgbot Merge Request Status open => approved
2023-06-14 12:56 hgbot Note Added: 0151147
2023-06-14 12:56 hgbot Resolution open => fixed
2023-06-14 12:56 hgbot Status new => closed
2023-06-14 12:56 hgbot Fixed in Version => 23Q3
2023-06-14 12:56 hgbot Note Added: 0151148


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker