Finished the manager side of the purchase history viewer