Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBPIH-4924 fix putaway list redirects #3552

Conversation

drodzewicz
Copy link
Collaborator

  • hide order list link button on show putaway show page
  • fix redirect after delete pending putaway
  • disable product type filter on putaway list

@drodzewicz drodzewicz self-assigned this Oct 14, 2022
 ${warehouse.message(code: 'order.list.label')}
</g:link>
</g:if>
<g:elseif test="${orderInstance?.orderType != PUTAWAY_ORDER}">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if orderType is equal to PUTAWAY_ORDER? I can't see where we handle this case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that was the point of not rendering this button for PUTAWAY_ORDER but I guess it is not too clear enough from the code.
So I guess I'll just make it a <g:else> and add checking for orderInstance?.orderType != PUTAWAY_ORDER to line 15

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I see, it was hard to "read" from the code what it is about to do, but I get the point now

- hide order list link button on show putaway show page
- fix redirect after delete pending putaway
- disable product type filter on putaway list
@drodzewicz drodzewicz force-pushed the OBPIH-4924-redirects-from-putaways-to-order-list branch from baf146f to 10b66ce Compare October 14, 2022 13:04
@kchelstowski kchelstowski merged commit 7f1414c into feature/ui-redesign Oct 14, 2022
@kchelstowski kchelstowski deleted the OBPIH-4924-redirects-from-putaways-to-order-list branch October 14, 2022 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants