"Mark ready to close" button is not available on receive screen
BUG FIX
According to the code the button is available in the following cases:
- The order is "Opened" or "Ready to Close" (the button is disabled for "Closed" orders);
- Purchase Order status is "Partially Received", "Received", "Changed" (the button is disabled for "Awaiting Approval", "Awaiting Confirm", "Canceled", "Pending Delivery" orders).
We have removed the second condition, so the button should be disabled only for closed orders.