Added Sales History function.