Overview: Currently when user "unopens" an order with Manually add pieces = false. They are presented with a confirmation modal. When this unopen action will also delete unreceived pieces, users should be alerted in this modal
Steps to Reproduce:
- Create PO
- Add POL with quantity >0
- Make sure "Manually add pieces for receiving" = false
- Save and close
- Click "Open" in PO action menu
- Click Unopen in PO action menu
Expected Results: Confirmation modal intercepts user with the following message: "This order line has related receiving records. Any unreceived pieces will be deleted, any "On order" Item records related to those pieces will also be deleted from inventory. Are you sure you want to unopen the order?"
Actual Results: Confirmation intercepts user BUT says nothing about piece deletion.