Please fill out this template to help us diagnose and address your issue effectively.
Type: (Select one)
[x ] Bug Report
[ ] Feature Request
Summary:
View Invoice button is visible and works on Order Details when invoice feature is disabled
Expected Behavior:
View Invoice button should not be visible on Order Details when invoice feature is disabled
Actual Behavior:
View Invoice button is visible and works on Order Details when invoice feature is disabled
Steps to Reproduce (Bug Reports Only):
Disable Invoice Feature
Go to Order > Order Details
Code Snippet (Bug Reports Only):
I assume it's something to do with isCanShow in /Users/SprattG/GitHub/b2b-buyer-portal/apps/storefront/src/pages/OrderDetail/components/OrderAction.tsx
Please fill out this template to help us diagnose and address your issue effectively.
Type: (Select one)
Summary:
View Invoice button is visible and works on Order Details when invoice feature is disabled
Expected Behavior:
View Invoice button should not be visible on Order Details when invoice feature is disabled
Actual Behavior:
View Invoice button is visible and works on Order Details when invoice feature is disabled
Steps to Reproduce (Bug Reports Only):
Code Snippet (Bug Reports Only):
I assume it's something to do with isCanShow in /Users/SprattG/GitHub/b2b-buyer-portal/apps/storefront/src/pages/OrderDetail/components/OrderAction.tsx
Additional Information:
Please also note the button only works once. First click load the print window when you close the print window and click it again nothing happens.
Version:
b7c20f39ca63972f63c6b38900733174a013f2a1
Screenshots/Screen Recordings (Optional):