Merge pull request #32370 from rohitwaghchaure/fixed-allow-expied-batch-return-using-pr-pi

fix: Not allowing to return expired batches using purchase return