hotwax / fulfillment

HotWax Commerce Fulfillment app
Apache License 2.0
7 stars 33 forks source link

Improved: Progress bar color logic for Transfer Orders when scanning items #566

Open Chinmay2107 opened 1 month ago

Chinmay2107 commented 1 month ago

Changelog: Changed

Related Issues

Closes #461

Short Description and Why It's Useful

When scanning items if the scanned item quantity exceeds the qty ordered, the line turns red and a toast appears indicating that “the picked qty cannot exceed the ordered qty. X already shipped”. A toast will appear when this scenario occurs. I've also changed the color of the Progress Bar: 1) Yellow when an item is partially scanned. 2) Green when the requested qty is scanned. 3) Red when quantity exceeds the requested quantity.

Screenshots of Visual Changes before/after (If There Are Any)

Screenshots supporting the modifications made in the progress bar's color: 1) Yellow progress bar in case of partial completion of scanning Screenshot from 2024-05-23 17-34-22 Screenshot from 2024-05-23 17-34-36 2) Green progress bar in case of partial completion of scanning Screenshot from 2024-05-23 17-34-46 3) Red progress bar in case of partial completion of scanning Screenshot from 2024-05-23 17-34-52

ymaheshwari1 commented 1 week ago

@Chinmay2107 Is this done from your end? As I remember we are waiting here to conclude that how the error needs to be displayed when user is entering the quantity manually in the input field.

Chinmay2107 commented 1 week ago

@Chinmay2107 Is this done from your end? As I remember we are waiting here to conclude that how the error needs to be displayed when user is entering the quantity manually in the input field.

Yes, the changes are done from my end.