edited cash receipt routine