added sales and purchases history pages