Current Behaviour
When a Purchase Order is in the "Created" status, clicking the three-dot action menu on an individual PO item does not display an option to cancel or remove the item. Interestingly, once the PO is transitioned to the "Approved" status, an option for "Removing item" becomes available. This creates an inconsistency where users are unable to remove specific line items from a newly created draft PO, limiting their ability to modify the order before it is approved.
Expected Behaviour
The three-dot action menu for a PO item in the "Created" state should include a "Cancel" or "Remove item" option, matching the functionality available in the "Approved" state. Users must be able to successfully remove or cancel individual line items before the overall Purchase Order progresses to further stages.
Steps to Reproduce
- Log in to the Preorder Management App (
preorder-dev.hotwax.io).
- Navigate to the Purchase orders tab using the left-hand navigation menu.
- Locate and click on a Purchase Order that is currently in the Created status to open the Purchase order details page.
- Scroll down to the Items section.
- Click on the three vertical dots (kebab menu) available on the far right side of a specific PO item.
- Observe that no option to cancel or remove the item is available.
- For comparison, change the PO status to Approved (or open an existing Approved PO) and open the same three-dot menu on an item.
- Observe that the "Remove item" option is now visible, highlighting the missing functionality in the Created state.
Additional Information
Jam Video - https://jam.dev/c/37dca9b5-3c8b-4902-9d85-b1489fac1d8d
Current Behaviour
When a Purchase Order is in the "Created" status, clicking the three-dot action menu on an individual PO item does not display an option to cancel or remove the item. Interestingly, once the PO is transitioned to the "Approved" status, an option for "Removing item" becomes available. This creates an inconsistency where users are unable to remove specific line items from a newly created draft PO, limiting their ability to modify the order before it is approved.
Expected Behaviour
The three-dot action menu for a PO item in the "Created" state should include a "Cancel" or "Remove item" option, matching the functionality available in the "Approved" state. Users must be able to successfully remove or cancel individual line items before the overall Purchase Order progresses to further stages.
Steps to Reproduce
preorder-dev.hotwax.io).Additional Information
Jam Video - https://jam.dev/c/37dca9b5-3c8b-4902-9d85-b1489fac1d8d