Wrote the cancelSale_7() function