cleaned up sales view file and set an empty array for sales model upon file load