hotwax / inventory-count

HotWax Commerce Inventory Count
Apache License 2.0
16 stars 66 forks source link

Button Outline Appears on Reject Button when System Inventory is 0 and Counted Inventory is Positive #379

Closed Adameddy26 closed 3 months ago

Adameddy26 commented 3 months ago

Current behavior

An outline appears on the reject button when the item variance threshold is adjusted while the system inventory is 0 and the counted inventory is any positive integer.

Expected behavior

No button outline should be present on any button (approve, reject, or re-count) when reviewing the count item in this scenario, as the item variance threshold cannot be defined.

Steps to reproduce the issue

Open the inventory management system. Navigate to the inventory count section. Select an item with a system inventory count of 0. Perform an inventory count for the item and enter any positive integer. Adjust the item variance threshold. Review the count item. Observe that an outline appears on the reject button.

Environment details

App version : INVENTORY-COUNT-2.0-E02AD11 App environment : DEV

Additional information

https://jam.dev/c/ee80c6db-cde8-4622-89ea-d49f47305b57

Adameddy26 commented 3 months ago

Issue verified and working fine in DEV environment of App version INVENTORY-COUNT-2.0-580A565 https://jam.dev/c/4dd7b940-5195-477c-88c1-20b4feef711d

Hence, closing it.