Only the specific line item rejected is removed or marked as 'Not in Stock', and the other instances of the same product remain unaffected in the order.
Expected behavior
When one line item of a product is rejected with the 'Not in Stock' option, all line items of the same product in the order should also be rejected automatically.
Steps to reproduce the issue
Go to In progress page after facility selection and locate an order with multiple line items of the same product (e.g., Product X).
Reject one line item of Product X using the 'Not in Stock' option.
Observe that only the rejected line item is marked as rejected, while the others of the same product remain in the order.
Current behavior
Only the specific line item rejected is removed or marked as 'Not in Stock', and the other instances of the same product remain unaffected in the order.
Expected behavior
When one line item of a product is rejected with the 'Not in Stock' option, all line items of the same product in the order should also be rejected automatically.
Steps to reproduce the issue
Go to In progress page after facility selection and locate an order with multiple line items of the same product (e.g., Product X). Reject one line item of Product X using the 'Not in Stock' option. Observe that only the rejected line item is marked as rejected, while the others of the same product remain in the order.
Environment details
App version : v2.11.1 App environment : UAT
Additional information
https://jam.dev/c/b4f31060-e9be-4e32-91b5-9b1a8813cc8d