destroy scaffold purchasedetails