'View sale' button debugged