Removed unwanted code from the sales views, model