wp-e-commerce/WP-e-Commerce — pull request #183 by ace-dent (2013-02-07 15:38:23+00:00)
Title: PR - Remove 'Delete' sale link from Sales Log page.

Pull request for #182
Once an e-Commerce site is live, you really don't want to be deleting Sales records. There are legal requirements in most countries to maintain sales records for auditing.
This will disable /hide the 'Delete' button from the sales log page unless the current user is an Admin (Level_10). This allows deletion when developing a site, or under exceptional circumstances for example.