Skip to content

Missing "Cancel/Remove" option for PO items in 'Created' status #385

Description

@yashjain-04

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

  1. Log in to the Preorder Management App (preorder-dev.hotwax.io).
  2. Navigate to the Purchase orders tab using the left-hand navigation menu.
  3. Locate and click on a Purchase Order that is currently in the Created status to open the Purchase order details page.
  4. Scroll down to the Items section.
  5. Click on the three vertical dots (kebab menu) available on the far right side of a specific PO item.
  6. Observe that no option to cancel or remove the item is available.
  7. For comparison, change the PO status to Approved (or open an existing Approved PO) and open the same three-dot menu on an item.
  8. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions